Translators: compilers, interpreters and assemblers – AQA GCSE Computer Science lesson (8525)
Pupils learn to describe how compilers, interpreters and assemblers translate code and when each is appropriate.
Lesson 7 of 14 in unit 11.2 Software, Translators and Databases, taught in Year 11, Autumn 2. It answers one big question: How does our code become something the CPU can run?
By the end, pupils can describe how compilers, interpreters and assemblers translate code and when each is appropriate.
- The Build (the main task)
- Describe how a compiler and an interpreter each turn the booking app's code into something the CPU can run. (6 marks) State the purpose of an assembler. (1 mark)
- Support version
- Three process diagrams with the steps to place in order.
- Challenge
- Explain which translator the booking app's developer should use while testing the app, and which when selling it to other vet practices. (4 marks) Describe two differences between a compiler and an assembler. (4 marks) A pupil writes: 'An interpreter translates the program into machine code and saves it, so it can run later.' Explain why this is wrong, and describe what an interpreter does instead. (4 marks)
- Real-world link
- The booking app's developer testing and then releasing the app.
- Key words
- Compiler, Interpreter and Assembler, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “An interpreter turns the whole program into machine code first”; “A compiler translates and runs one line at a time”.
- AQA 8525 specification
- 3.4.4 (classification of programming languages and translators).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Pupils can do it all on paper.
Also sold in the Software, Translators and Databases unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for AQA GCSE Computer Science (8525). It is not endorsed by AQA.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for GCSE Computer Science (AQA)
See allPupils learn to explain what system software and application software are, give examples of each, and explain why utility programs are needed.
Pupils learn to explain the need for an operating system and how it manages the processor, memory, input/output devices, applications and security.
Pupils learn to explain what a database is and describe tables, records, fields and data types.
Written for the specifications named. Not endorsed by or affiliated with any exam board.