Mapa mental
Translators
Conteúdo do mapa
Translators
A program that converts programs written in assembly language or source code into machine code.
- So the processor can understand and execute the program.
Types
- Low-level
- Assembler
- Translates assembly language to machine code
- Programmer writes assembly code
- Processor understands machine code
- Programmer writes assembly code
- Translates assembly language to machine code
- Assembler
- High-level
- Compiler
- Translates source code to object code, which is then translated to machine code.
- Advantages
- Translates whole program before it is run
- Executes program faster
- Code usually optimised
- Compiler does not need to be present when code is run
- More memory efficient for processor
- Original code kept secret
- Translates whole program before it is run
- Disadvantages
- Program will not run with syntax errors
- Makes writing code more difficult
- Code needs to be recompiled following any changes
- Harder to try out commands
- Only works on specific type of processor
- Program will not run with syntax errors
- Interpreter
- Translates source code to machine code
- Advantages
- Program will always run and only stop when it finds a syntax error
- Easy to write code
- Code does not need to be recompiiled following changes
- Easier to try out commands
- Good for beginners to learn and try out code
- Easier to try out commands
- Program will always run and only stop when it finds a syntax error
- Disadvantages
- Program is translated and executed line by line
- Slower to execute program
- Code not optimised
- Interpreter must be installed to run program
- Source code can be seen
- Could be copied
- Program is translated and executed line by line
- Compiler
- Low-level
Informações
- Descrição
- GCSE Computing (2.5. Programming Languages and IDEs) Mapa Mental sobre Translators, criado por A m em 04-11-2022.
- Criado por
- A m
- Visualizações
- 1
- Avaliação