Skip to main content
O-LevelComputer ScienceProgramming2210/12 · Oct/Nov 2018 · Q69 Marks

Many programmers write computer programs in high-level languages. The programs need to be translated into machine code to be read by the computer. State two types of translator that can be used. Translator 1 Translator 2

  1. (a)Many programmers write computer programs in high-level languages. The programs need to be translated into machine code to be read by the computer. State two types of translator that can be used. Translator 1 Translator 2[2]
  2. (b)Explain two reasons why a computer programmer may choose to write a program in a high-level language, rather than a low-level language. Reason 1 Reason 2[4]
  3. (c)Three examples of computer code are given in the table. Tick (✔) to show whether each example of computer code is High-level language, Assembly language or Machine code. Computer code High-level language (✔) Assembly language (√) Machine code (✔) 10110111 11001100 01011100 FOR X = 1 TO 10 PRINT X NEXT X INP X STA X LDA Y[3]

Mark scheme

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

  1. [2] ∞ Compiler
  2. ∞ Interpreter
  3. [4] Four from:
  4. ∞ Closer to human language/English ...
  5. ∞ ... so it is easier/quicker to read/write/understand
  6. ∞ ... so it is easier/quicker to debug the program
  7. ∞ ... therefore, less likely to make errors
  8. ∞ The program can be used on many different platforms ...
  9. ∞ ... because it is written in source code
  10. ∞ ... because it is compiled into object code
  11. ∞ They have built-in functions/libraries ...
  12. ∞ ... this saves time when writing the program
  13. ∞ Do not need to manipulate memory addresses directly ...
  14. ∞ ... therefore, specialist knowledge of this is not required
  15. ∞ Only need to learn a single language ...
  16. ∞ ... as this can be used on many different computers
  17. [3] 1 mark for each correct tick (✔)
  18. 10110111, 11001100, 01011100: Machine code (✔)
  19. FOR X = 1 TO 10 PRINT X NEXT X: High-level language (✔)
  20. INP X STA X LDA Y: Assembly language (✔)

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
Programming, O-Level Computer Science (syllabus 2210). Structured question, 9 marks.
Source
O-Level Computer Science, Oct/Nov 2018 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