Skip to main content
O-LevelComputer ScienceAlgorithm design and problem-solving2210/21 · May/June 2022 · Q34 Marks

Give one piece of normal test data and one piece of erroneous test data that could be used to validate the input of an email address. State the reason for your choice in each case.

  1. (a)Normal test data Reason Erroneous test data Reason[4]

Mark scheme

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

  1. [4] One mark per mark point, max four
  2. • Normal test data computerscience@cambridge.org.uk
  3. Reason this is a valid email address (containing the @ symbol) and should be accepted
  4. • Erroneous test data computerscienceisgreat
  5. Reason this is just a string, and should be rejected (as an email address needs a single '@')

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
Algorithm design and problem-solving, O-Level Computer Science (syllabus 2210). Structured question, 4 marks.
Source
O-Level Computer Science, May/June 2022 Paper 2 Variant 1, question 3.

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