Skip to main content
A-LevelComputer ScienceSystem software9618/31 · Oct/Nov 2022 · Q44 Marks

Draw one line to connect each stage of compilation to its most appropriate description. Stage of compilation Description Lexical analysis minimising a program's execution time and memory requirement converting an intermediate representation of source code into an executable form Syntax analysis converting a sequence of characters into a sequence of tokens Code generation directly executing instructions written in a scripting language Optimisation using parsing algorithms to interpret the meaning of a sequence of tokens

  1. (a)Draw one line to connect each stage of compilation to its most appropriate description. Stage of compilation Description Lexical analysis minimising a program's execution time and memory requirement converting an intermediate representation of source code into an executable form Syntax analysis converting a sequence of characters into a sequence of tokens Code generation directly executing instructions written in a scripting language Optimisation using parsing algorithms to interpret the meaning of a sequence of tokens[4]

This question uses a diagram from the original paper, which isn't shown here. Open the full paper from the past papers archive to see it.

Mark scheme

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

  1. [4] One mark for each correct line connecting one stage of compilation to a description

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
System software, A-Level Computer Science (syllabus 9618). Structured question, 4 marks.
Source
A-Level Computer Science, Oct/Nov 2022 Paper 3 Variant 1, question 4.

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