Mindmap
Programming
Inhalt der Mindmap
Programming
Translation
- Interpreter
- executes the sources directly
- used when creating a program
- Would be used on open sources
- Compiler
- Creates an executable file to run the program
- Once it is compiled it doesn`t need the original source code
- Would be used for properties software
- Assembler
- Only can be used in low level programming
- turns assembly language into machine code
- Interpreter
Algorithm
- Solving problems 1 step at a time
- Processors can only process 1 instruction at a time
- Maily expressed as a flow chart
- Make sure you know the symbols
High level / low level programming
- Low level is understood by the processor
- Machine code
- binary codes for each instruction and register location
- Assembly language
- Code specific to a type of processor
- eg INP, LDA, OUT
- written as each instruction would be processed
- Machine code
- High level has to be translated
- uses language that is easier to understand by humans
- Has to be translated
- eg python, Basic, Javascript
- Low level is understood by the processor
Tezting
- Logic error
- Human error with the construction of the algorithm
- Syntax error
- Not a correct command for the coding language being used
- Run-time error
- An error in the program eg stuck in a loop
- Logic error
Pseudocode
- used for planning algorithms
- should allow a programmer to write it in any language
- Key words in capital letters (eg INPUT, IF, While
Control flow
- selection
- if THEN ELSE
- interation
- Loops
- While or FOR
- Loops
- sequencing
- the order through an algorithm
- selection
Data type
- integers and real numbers
- integer is whole number
- Real (sometimes called float) can have decimal places
- arrays are lists of the same data types
- Variable changes during the program eg score in a game
- Operations are mathematical symbols <>+-
- Variable or constant
- Constant stays the same eg Pi
- integers and real numbers
Informationen
- Beschreibung
- Mindmap am Programming, erstellt von Bhavik patel1332 am 24/02/2016.
- Erstellt von
- Bhavik patel1332 · Feb 2016
- Aktualisiert
- 25 Feb 2016
- Aufrufe
- 1
- Bewertung