Skip to main content
A-LevelComputer ScienceSystem software9618/31 · May/June 2025 · Q76 Marks

Several syntax diagrams are shown. [Figure showing syntax diagrams for uppercase, lowercase, symbol, digit, passcode]

  1. (a)State why each passcode is invalid for the given syntax diagrams. #Jd7 Reason C%6A Reason[2]
  2. (b)Complete the Backus-Naur Form (BNF) for <uppercase> and <passcode>. <uppercase> ::= <passcode> ::=[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 (May/June 2025). The mark or mark type is shown in brackets.

  1. [1] For #Jd7: must begin with a member of the group uppercase // cannot begin with a symbol
  2. [1] For C%6A: the fourth character cannot be a member of the group uppercase // the fourth character must be either a symbol, digit or lowercase
  3. [1] <uppercase> ::= A | C | E | G | J
  4. [1] <passcode> ::= <uppercase><code>
  5. [1] <code> ::= <lowercase>|<symbol>|<digit>
  6. [1] <code> ::= <lowercase><code>|<symbol><code>|<digit><code>

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, 6 marks.
Source
A-Level Computer Science, May/June 2025 Paper 3 Variant 1, question 7.

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