Mindmap
Programming
Inhalt der Mindmap
Programming
control FLow
- Selection
- IF THEN ELSE
- lteration
- loops
- While or FOR
- loops
- Quencing
- The order through an algorithm
- Selection
algorithms
- solving the problem 1 step at a time
- processors can only process one instruction at a time
- make sure you know the symbol
- Mainly expressed as a flow chart
Testing
- Logical error
- Human error with construction of the aigoritm
- 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 type
- Variable or constant
- operations are mathematical symbols eg <> + -
- variable changes during the program eg source in a game
- constant stays the same eg Pi
- Arrays are lists of the same data types
- Integers and real numbers
- Integer is a whole number
- Real (sometimes called float) can have decimal places
- Variable or constant
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
- Low level is understand by the processor
- Machine code
- binary codes for each instruction and register location
- Assembly language
- Codes specific to a type of processor
- eg INP, LDA out
- Codes specific to a type of processor
- Machine code
- HIgh level has to be translated
- eg python Basic javascript
- Has to be translated
- uses language that is easier to understand by huumans
- Low level is understand by the processor
translation
- interpreter
- can be only in use in own programing
- would be use in open source software
- Executes the source code directly
- Assembler
- Turns accembly language into machine code
- complier
- would be use for proprietary software
- once its is complied it doesn't need original source code.
- create an executable file to run the program
- interpreter
Informationen
- Beschreibung
- Mindmap am Programming, erstellt von Parth Ramesh am 24/02/2016.
- Erstellt von
- Parth Ramesh
- Aufrufe
- 2
- Bewertung