Skip to main content
A-LevelComputer ScienceSystem software9618/32 · May/June 2025 · Q84 Marks

Explain what is meant by lexical analysis during program compilation.

  1. Explain what is meant by lexical analysis during program compilation.[4]

Mark scheme

Marking points from the official mark scheme (May/June 2025). The mark or mark type is shown in brackets.

  1. MP1 It is the first stage of compilation
  2. MP2 White space and comments are removed
  3. MP3 It takes modified source code and breaks it into a series of tokens
  4. MP4 Each token is categorised and assigned types
  5. MP5 Identifiers are stored in a symbol table
  6. MP6 If the lexical analyser finds invalid tokens, it generates an error
  7. MP7 Acceptable data from the lexical analyser passes to the syntax analyser

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, May/June 2025 Paper 3 Variant 2, question 8.

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