Cambridge O Level Computer Science 2210 · 7.5 Validation and verification checks

Q20 · 2210/22/O/N/21 Q2

Worked solution from the Algorithm design and problem-solving Paper 2 Algorithms, Programming and Logic booklet, Part 4 of 8.

Q202210/22/O/N/21original Q2Structured · 3 marks
Question 2 from 2210/22/O/N/21

Worked solution

Re-entering data checks it matches what was meant (verification). Checks that the data is reasonable are validation.

StatementValidationVerificationNeither
a check where data is re-entered to make sure no errors have been introduced during data entry✓
an automatic check to make sure the data entered has the correct number of characters✓
a check to make sure the data entered is sensible✓
a check to make sure the data entered is correct✓

Any two rows correct [1]

Three rows correct (one more mark) [1]

All four rows correct (one more mark) [1]

KEY IDEAValidation tests whether data is reasonable; verification checks it was entered as intended; no check can prove it is correct.
TOTAL 3 marks

Official mark scheme

Mark scheme for 2210/22/O/N/21 question 2
VIDEO
▶ Topic lesson

A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.