Mindmap
Programming
Inhalt der Mindmap
Programming
Algorithm
- Solving problems 1 step at a time
- Processors can only process 1 instruction at a time
- Mainly expressed as a flow chart
- Make sure you know the symbols
Pseudocode
- Used for planning algorithm
- Should allow a programmer to write it in any language
- Key words written in capital letters (eg INPUT,IF,WHILE)
High level/low level programming
- High level has to be translated
- eg Python, BASIC, javascript
- Uses language that is easier to understand by humans
- Has to be translated
- Low level is understood by the processor
- Assembly Language
- Written as each instruction would be processed
- eg INP, LDA, OUT
- Codes specific to a type of processor
- Machine code
- Binary codes for each instruction and register location
- Assembly Language
- High level has to be translated
Control flow
- Iteration
- Loops
- WHILE or FOR
- Loops
- Sequencing
- The order through an algorithm
- Selection
- IF THEN ELSE
- Iteration
Testing
- Logical error
- Human error with the construction of the algorithm
- Run-Time-Error
- An error in the program eg stuck in a loop
- Syntax error
- Not a correct command for the coding language being used
- Logical error
Data types
- integers and real numbers
- Integer is a whole number
- Real (sometimes called float) can have decimal places
- Variable or constant
- Constant stays the same eg pi
- Variable changes during the program eg score in a game
- Operations are mathematical symbols eg <> + -
- Arrays are lists of the same data type
- integers and real numbers
Translation
- Interpreter
- Executes the source code direcly
- Used when creating a program
- Would be used on open source software
- Complier
- Would be used for proprietary software
- Creates an executable file to run the program
- Once it is complied it doesnt need the original source code
- Assembier
- Turns assembly language into machine code
- Only can be used in low level programming
- Interpreter
Informationen
- Beschreibung
- Mindmap am Programming, erstellt von bcook11 am 24/02/2016.
- Erstellt von
- bcook11
- Aufrufe
- 3
- Bewertung