Translators
Lesson Instructions
Watch and follow the YouTube video, the lesson contains three parts:
Key Information and content - all you need to do here is watch and listen
Learning activity - this activity involves answering different questions about translators
Consolidation - these are past exam question and are for deliberate practice to check your understanding.
Task - Translators
Task - Exam Questions - Deliberate Practice
Mark Scheme
Question 1 (a)
to convert it into binary / machine code
the processor can only understand machine code
Question 1 (b)
Compiler translates all the code in one go....
...whereas an interpreter translates one line at a time.
Compiler creates an executable...
...whereas an interpreter does not / executes one line at a time
Compiler reports all errors at the end...
...whereas an interpreter stops when it finds an error
1 mark to be awarded for correct identification and one for a valid description up to a maximum of 4 marks.
Question 2
1 mark per bullet to max 4, 2 mark max per method
Compiler
...translates code in one go / all at once
...produces an executable file / does not need to be compiled again
Interpreter
...translates code line by line
...will be interpreted / translated every time it is run.
Mark first method only in each section.