Zusammenfassung der Ressource
Programming
- Translation
- Assembler
- Assembly language into
machine code
- Complier
- Creates a executable
file to run the program
- when complied it does'nt need the original source code
- Interpreter
- Execute the source code directly
- Would be used on open source sfotware
- Control flow
- Sequence
- Order
- Selection
- IF statements
- Iteration
- Loops
- High level/low level programming
- High level has to be translated
- e.g. Python
- Uses language that is easier to
understand by humans
- Has to be translated
- Low level is understood by the processor
- Assembly language
- Codes specific to a type of processor
- e.g. INP, LDA, OUT
- Written as each instruction
and register location
- Machine code
- Binary codes for each
instruction and register location
- Algorithm
- Solving a problem 1 step at a time
- Processors can only
process 1 instrucution
at a time
- Mainly expressed
as a flow chart
- Need to know the shapes
- Pseudocode
- Used for planning alrgorithm
- Should allow a programmer to write in any language
- Key words written in capital letters e.g. INPUT, IF, WHILE
- Data type
- Operations are mathematical symbols e.g. < > + -
- Variable or constant
- Variable changes during the program e.g. score in a game
- Constant stays the same e.g. Pi
- Arrays are lists of the same data types
- Integers and real numbers
- integer is a whole number
- Testing
- Logical error
- User mistake
- Run-time error
- User unefficiant coding so it
may crash/ have a bug
- Syntax error
- All program have different
language or have a different
rule (not a correct language being used)