What are the features of a compiler
Shows all errors at the end, translates source code into a machine code executable file, translates it all at once
What are the features of a interpreter
Shows all errors line by line, translates source code into machine code line by line
What are the advantages of a compiler
Faster to run, source code is hidden
What are the disadvantages of a compiler
Compiled code is not cross platform, must be recompiled every time it is edited
What are the advantages of interpreter
Errors can be spotted quickly
What are the disadvantages of interpreter
Source code can be copied, slower, translated every time it is run
What are the characteristics of a low level language
Humans cannot understand low level languages, requires the programmer to understand the processors registers and structure, code is not transferable between different processors
What are three characteristics of a high level language
Uses English like statements, must be translated to be run and code is transferable between different processors
What are examples of low level languages
Machine code and assembly
What is assembly language
A language used for programming in embedded systems
Why are some programs written in low level language
Why is a compiler needed
To translate the code and pick up errors
What is machine code
Code for the cpu to execute, written in binary, does not need to be translated