Skip to main content
O-LevelComputer ScienceSoftware2210/12 · Oct/Nov 2021 · Q66 Marks

A programmer can use translators, such as an interpreter and a compiler, when developing a computer program.

  1. (a)Give one similarity between a compiler and an interpreter.[1]
  2. (b)Describe two differences between a compiler and an interpreter. Difference 1 Difference 2[4]
  3. (c)Identify one other type of translator.[1]

Mark scheme

Marking points from the official mark scheme (Oct/Nov 2021). The mark or mark type is shown in brackets.

  1. 6(a) Any one from: - They both translate high-level language into machine code / low-level language; - They both check for errors; - They both report errors
  2. 6(b) Four from (Max 2 per translator): - An interpreter translates and executes the code line by line; - whereas a compiler translates and executes the whole code all in one go; - An interpreter stops translating and reports an error as it finds one; - whereas a compiler produces an error report at the end of translation; - An interpreter does not produce an executable file; - but a compiler does produce an executable file; - An interpreter will execute the code until it finds an error; - whereas a compiler will not execute any code if there are errors present; - An interpreter allows correction of errors in real-time; - whereas a compiler needs to retranslate the code each time after errors are found and corrected
  3. 6(c) - Assembler

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Software, O-Level Computer Science (syllabus 2210). Structured question, 6 marks.
Source
O-Level Computer Science, Oct/Nov 2021 Paper 1 Variant 2, question 6.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep