Question 1
1 markState what must happen to a program written in a high-level language before the processor can execute it.
Model answer
It must be translated into machine code by a translator (a compiler or an interpreter).
Explanation
A processor can only execute machine code - binary instructions from its own instruction set. High-level source code, with keywords such as if and print, means nothing to the processor, so a translator (a compiler or an interpreter) must convert it into machine code first. Answers such as 'convert it to a low-level language' are too vague, because assembly language is also low-level but still cannot be executed directly.
Mark scheme
-
1 mark
it must be translated / converted into machine code (binary)
Accept 'it must be compiled or interpreted' / 'it must be translated by a compiler or interpreter' / 'converted into binary instructions'. Do not accept 'it must be converted into a low-level language' without reference to machine code or binary. Do not accept 'it must be saved' or 'it must be debugged'.