topic 7 - high and low level languages Flashcards
1
Q
High level languages(4)
A
- Close to human language
- Independent of platform (works on different machines)
- E.g. JAVA, Python, VB
- Easier to correct errors
2
Q
Low level languages(4)
A
- Assembly
- Machine Code
- Works directly on the CPU
- Can use machine specific functions
3
Q
Low level language advantage(3)
A
- Direct access to the processor
- Uses less memory
- Executes instructions faster
4
Q
Translators(3)
A
- Compilers
- Accumulators
- Assemblers
5
Q
Compilers(6)
A
- Translates whole program at once
- Creates an exe file
- No need to recompile
- Therefore allows faster execution
- List of errors created
- Optimizes source code
6
Q
Interpreters(5)
A
- Translates one line of code at a time
- Machine code directly executed
- Identifies error as soon as it finds one and stops
- Error must be fixed to continue
- Easier to debug
7
Q
Assemblers(2)
A
- Translates low level language into machine code
- Only option for low level language programs
8
Q
Errors(2)
A
- Syntax
- Logic