Skip to main content
A-LevelComputer ScienceSystem software9618/33 · May/June 2025 · Q96 Marks

Several syntax diagrams are shown. [Figure depicting 'upper', 'digit', and 'passcode' syntax diagrams]

  1. (a)State why JJ90 is not a valid passcode for the given syntax diagrams.[1]
  2. (b)Complete the Backus-Naur Form (BNF) for <upper> and <passcode>. <upper> ::= <passcode> ::=[3]
  3. (c)A character can be an upper, a lower or a digit. The rules for passcode have been changed so that the third character may also be selected from upper and the final character may be repeated one or more times. Complete the syntax diagram for passcode to show these changes.[2]

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] The second character must come from either lower or digit. It can't be upper.
  2. [3] Max 3
  3. [1] One mark
  4. MP1 <upper> ::= J|K|L|V|X|Z
  5. Either: fully written out answer
  6. MP2 Any two correct options for <passcode>
  7. MP3 Remaining two options correct for <passcode>
  8. Example answer <passcode> ::= <upper><lower><lower><digit>| <upper><lower><digit><digit>| <upper><digit><digit><digit>| <upper><digit><lower><digit>
  9. Or: answer with interim expression
  10. MP4 <passcode> ::= <upper><middle><middle><digit>
  11. MP5 <middle> ::= <lower>|<digit>
  12. [2] One mark per mark point
  13. MP1 Box for upper in correct place with correct connections
  14. MP2 Correct repetition arrow for final digit

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 3, question 9.

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