Note AcademyNote Academy

Computer Science · May / June 2025 · Paper 21 · Question 2

0478

As printed in the paper

The question as text

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

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 2(a)[4]

    One mark for each correct line.

    Requirement

    Validation Check

    Date of birth must be between

    01/01/1900 and 01/01/2010.

    length check

    format check

    Name has been entered.

    range check

    Password has exactly 12

    characters.

    check digit

    Student ID must contain 2 letters

    presence check

    followed by 4-digit number.

  • 2(b)[3]

    One mark for check, two marks for description.

    Visual check [1] …
    …look at the data that has been entered [1] and confirm it matches [1]
    Double entry check [1] …
    …enter data twice [1] and only accept identical values [1]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.