Programming

Description

Programming
Priyesh Guiri
Mind Map by Priyesh Guiri, updated more than 1 year ago
Priyesh Guiri
Created by Priyesh Guiri almost 9 years ago
58
2

Resource summary

Programming
  1. Control flow
    1. Selection
      1. IF THEN ELSE
      2. Iteration
        1. Loops
          1. WHILE or FOR
        2. Sequencing
          1. The order through an algorithm
        3. 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. Make sure you know the 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. Data type
                      1. Variable or constant
                        1. Constant stays the same eg Pi
                          1. Variable changes during the program eg score in a game
                          2. Operations are mathematical symbols eg <>+-
                            1. Arrays are lists of the same data types
                              1. Integers and real numbers
                                1. Integer is a whole number
                                  1. Real (sometimes called float) can have decimal places
                                2. Translation
                                  1. Interpreter
                                    1. Executes the source code directly
                                      1. Used when creating a program
                                        1. Would be used on open source software
                                        2. Compiler
                                          1. Creates an executable file to run the program
                                            1. Once it is complied it doesn't need the original source code
                                              1. Would be used for proprietary software
                                              2. Assembler
                                                1. Turns assembly language into machine code
                                                  1. Only can be used in low level programming
                                                2. Testing
                                                  1. Logical error
                                                    1. Human error with the construction of the algorithm
                                                    2. Run time error
                                                      1. An error in the program ed stuck in loop
                                                      2. Syntax error
                                                        1. Not a correct command for the coding language being used
                                                      3. High level / low level programming
                                                        1. High level had to be translated
                                                          1. Has to be translated
                                                            1. Uses language that is either to understand by humans
                                                              1. eg Python, BASIC, Javascript
                                                              2. Low level is understood by the processor
                                                                1. Assembly language
                                                                  1. Codes specific to a type of processor
                                                                    1. eg INP, LDA, OUT
                                                                      1. Written as each instruction would be processed
                                                                      2. Machine code
                                                                        1. Binary codes for each instruction and register location
                                                                    Show full summary Hide full summary

                                                                    Similar

                                                                    Computing Hardware - CPU and Memory
                                                                    ollietablet123
                                                                    SFDC App Builder 2
                                                                    Parker Webb-Mitchell
                                                                    Data Types
                                                                    Jacob Sedore
                                                                    Intake7 BIM L1
                                                                    Stanley Chia
                                                                    Software Processes
                                                                    Nurul Aiman Abdu
                                                                    Design Patterns
                                                                    Erica Solum
                                                                    CCNA Answers – CCNA Exam
                                                                    Abdul Demir
                                                                    Abstraction
                                                                    Shannon Anderson-Rush
                                                                    Spyware
                                                                    Sam2
                                                                    HTTPS explained with Carrier Pigeons
                                                                    Shannon Anderson-Rush
                                                                    Data Analytics
                                                                    anelvr