1. To trial the platform and take tests, please take a few seconds to SIGN UP
and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Scroll right for levels, and lists.
Join 36000+ teachers and students using TTIO.
A compiler takes the source code as a whole and translates it into machine code all in one go. Once converted, the machine code can be run at any time. This process is called compilation.
An interpreter translates source code into machine code one instruction at a time. It is similar to a human translator translating what a person says into another language, sentence by sentence, as they speak.
Assemblers are a third type of translator. The purpose of an assembler is to translate assembly language into machine code. Whereas compilers and interpreters generate many machine code instructions for each high-level instruction, assemblers create one machine code instruction for each assembly instruction. (Read more in the BBC Bitesize article below)
https://en.wikipedia.org/wiki/Translator_(computing)
https://www.bbc.co.uk/bitesize/guides/zthbgk7/revision/7
https://www.microcontrollertips.com/compilers-translators-interpreters-assemblers-faq/
www.teachyourselfpython.com