Please enable JavaScript.
Coggle requires JavaScript to display documents.
Languages and Translators - Coggle Diagram
Languages and Translators
Machine Code
Disadvantages
All in binary(harder to understand)
Close enough to impossible to code with
they can only run on the processor type they have been written on
Advantages
Machine code runs very quickly as it does not need to be translated
High level languages
Advantages
Contain English words and phrases so they are easier to read and understand
Easier to spot errors and bugs because they are easier to understand
Portable – the program can run on more than one type of processor
Disadvantages
They need to be translated into machine code so are slower to run
Translators
Compilers
Interpreters
Advantages
Interpreters can run partial code or code under development.
An interpreter does not produce object code (a stand alone piece of code).
The interpreter translates and executes each line of the program in turn.
If errors are present, then they are highlighted immediately and are therefore easier to detect and fix.
Disadvantages
A translation is not saved, the interpreter must be present to run code.
If code is repeated, as in a loop, the code is translated and run many times.
Individual runs are slower because of the previous two points.