Programming

Description

Mind Map on Programming, created by Dhanil Capil on 22/02/2016.
Dhanil Capil
Mind Map by Dhanil Capil, updated more than 1 year ago
Dhanil Capil
Created by Dhanil Capil about 8 years ago
15
0

Resource summary

Programming
  1. Algorithms
    1. Solving problems 1 step at a time
      1. Processors can only process 1 instruction at a time
        1. Mainly expressed as a flow chart
          1. Symbols
        2. Pseudocode
          1. Used for planning algorithms
            1. Should allow a programmer to write it in any language
              1. Key words written in capital letters (eg INPUT,IF, WHILE)
              2. High Level/ Low Level Programming
                1. Low Level is understood by the processor
                  1. Machine Code
                    1. binary codes for each instruction and register location
                    2. Assembly Language
                      1. Code specific to a type of processor
                        1. eg INP, LDA, Out
                    3. High Level has to be translated
                      1. Uses languages that is easier to understand by humans
                        1. eg Python, BASIC, Javascript
                      2. Translation
                        1. Assembler
                          1. Turns assembly language into machine code
                            1. Only can be used in low level programming
                            2. Compiler
                              1. Creates an executable file to run the program
                                1. Once is compiled it doesn't need the original source coe
                                  1. Would be used for proprietary software
                                  2. Interpreters
                                    1. Executes the source code directly
                                      1. Used when creating a program
                                        1. Would be used on open source software
                                      2. Control Flow
                                        1. Sequencing
                                          1. The order through an algorithm
                                          2. Selection
                                            1. IF THEN ELSE to control the flow
                                            2. Iteration
                                              1. WHILE or FOR Loop
                                            3. Data Types
                                              1. Variables or constant
                                                1. Variable changes during the program eg score
                                                  1. Constant stays the same eg Pi
                                                  2. Integers and real numbers
                                                    1. Integer is a whole number
                                                      1. Read (sometimes called float) can have decimals places
                                                      2. Arrays are lists if the same type
                                                        1. Operations are mathematical symbols eg < > = + - * /
                                                        2. Testing
                                                          1. Logical error
                                                            1. Human error with the construction of the algorithm
                                                            2. Run-time error
                                                              1. An error in the program eg stuck in the loop
                                                              2. Syntax error
                                                                1. Not a correct command for the coding language being used
                                                              Show full summary Hide full summary

                                                              Similar

                                                              HTTPS explained with Carrier Pigeons
                                                              Shannon Anderson-Rush
                                                              Historical Development of Computer Languages
                                                              Shannon Anderson-Rush
                                                              Useful String Methods
                                                              Shannon Anderson-Rush
                                                              Flvs foundations of programming dba 2
                                                              mariaha vassar
                                                              Python Quiz
                                                              karljmurphy
                                                              computer systems and programming quiz
                                                              Molly Batch
                                                              Think Python
                                                              tsilvo2001
                                                              C Programming
                                                              Miki Rana
                                                              Generations of Programming Languages
                                                              Balikkoftesi
                                                              Mapa Conceptual - Arreglos
                                                              ciroivan94