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

Four requirements for validating inputs and five types of validation check are given.

  1. (a)Draw one line from each requirement to the most appropriate validation check. Not all validation checks will be used. Requirement Date of birth must be between 01/01/1900 and 01/01/2010. Name has been entered. Password has exactly 12 characters. Student ID must contain 2 letters followed by a 4-digit number. Validation check length check format check range check check digit presence check[4]
  2. (b)Identify and describe one verification check that could be applied when a new password is input into a system. Verification check Description[3]

Mark scheme

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

  1. [4] One mark for each correct line. Requirement: Date of birth must be between 01/01/1900 and 01/01/2010. -> Validation Check: range check Requirement: Name has been entered. -> Validation Check: presence check Requirement: Password has exactly 12 characters. -> Validation Check: length check Requirement: Student ID must contain 2 letters followed by a 4-digit number. -> Validation Check: format check
  2. [1] (b) Visual check
  3. [1] (b) ...look at the data that has been entered and confirm it matches
  4. [1] (b) Double entry check
  5. [1] (b) ...enter data twice and only accept identical values

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

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