Mapa mental
Programing
Conteúdo do mapa
Programing
High level/low level programing
- 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
- Assembly language
- code to a type of processor
- eg INP, LDA, OUT
- Written as each instruction would be processed
- Machine code
- binary code 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
Algorithms
- Solving problems 1 step at a time
- Mainly expressed as a flow chart
- Make sure you know the symbols
- Processors can only process 1 instuction at a time
Pseudocode
- Key words written in capital letters (eg INPUT,IF,WHILE)
- Should allow a programmer to write it in any language
- Used for planning algorithms
Translation
- Assembler
- Turns assembly language into machine code
- Only can be used in low level programming
- compiler
- Creates an executable file to run the program
- Once it is compiled it doesnt need the original source code
- Would be used for proprietary software
- Interpreter
- Executes the source code directly
- Used when creating a program
- Would be used on open source software
- Assembler
Testing
- Syntax
- Not a correct command for the coding language being used
- Run-Time error
- An error in the program eg stuck in a loop
- Logical error
- Human error with construction of the algorithm
- Syntax
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
- Arrays of the list of same data types
- Operations are mathematical symbols eg<>+-
- integers and real numbers
Informações
- Descrição
- Mapa Mental sobre Programing, criado por Th3Jowka Lets Pl em 24-02-2016.
- Criado por
- Th3Jowka Lets Pl · fev 2016
- Atualizado
- 25 fev 2016
- Visualizações
- 1
- Avaliação