This study notes covers Types of Translators within Translators for GCSE Computer Science. Revise Translators in 3.4 Computer Systems for GCSE Computer Science with 15 exam-style questions and 8 flashcards. This topic appears regularly enough that it should still be part of a steady revision cycle. It is section 4 of 8 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Types of Translators
| Translator | Input | Output | Process |
|---|---|---|---|
| Compiler | High-level source code | Standalone executable | Translates all at once |
| Interpreter | High-level source code | Executes directly (no file) | Translates line by line |
| Assembler | Assembly language | Machine code | 1-to-1 translation |
Practice questions for Translators
Which type of translator converts an entire high-level language program into machine code before the program runs?
Explain why a compiled program runs faster than an interpreted program.