Mapa mental
Programing
Contenido del mapa
Programing
Control Flow
- Iteration
- Loops
- WHILE or FOR
- Loops
- Selection
- IF THEN ELSE
- Sequencing
- The order through an algorithm
- Iteration
Algothms
- 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 symblos
Testing
- Logical error
- Human error with the construction of the algorithm
- Run-time error
- An error in the program eg stuck in the loop
- Systax error
- Not a correct command for the coding language being used
- Logical error
Pseudocode
- Used for planning algorithm
- Should allow a programmer to write it in any language
- Key words written in capital letter (eg INPUT, IF, WHILE)
Data types
- Operations are mathematical symbols eg <> + -
- Variable or constant
- Variable changes during the program eg score in the 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
High level/ Low level programing
- Low level is understood by rpocessor
- Machine code
- Binary codes for each instruction and register location
- Assembly language
- Codes specific to a type of processor
- eg INP, LDA, OUt
- Machine code
- High level has to be translated
- Uses language that is easier to understand by humans
- eg Python, BASIC, JAvascipt
- Has to be translated
- Low level is understood by rpocessor
Translation
- Interpreter
- Would be used on open source software
- Used when creating a program
- Executes the course code directly
- Compiler
- Would be used for proprietary software
- Once it is compiled it doesn't need the original source code
- Assembler
- Only can be used in low level programming
- Turns assembly language into machine code
- Interpreter
Información
- Descripción
- GCSE Computer Science Mapa Mental sobre Programing, creado por Milinde Premgi el 24/02/2016.
- Creado por
- Milinde Premgi
- Visitas
- 10
- Valoración