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

Q19 · 2210/21/M/J/21 Q2

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

Q192210/21/M/J/21original Q2Structured · 3 marks
Question 2 from 2210/21/M/J/21

Worked solution

Decide for each statement if it is validation, verification or both.

StatementValidationVerificationBoth
Entering the data twice to check if both entries are the same.✓
Automatically checking that only numeric data has been entered.✓
Checking data entered into a computer system before it is stored or processed.✓
Visually checking that no errors have been introduced during data entry.✓

Validation column correct (only the numeric check) [1]

Verification column correct (entering twice and the visual check) [1]

Both column correct (checking before it is stored or processed) [1]

KEY IDEAValidation checks data is sensible; verification checks it was entered as meant; some checks are both.
TOTAL 3 marks

Official mark scheme

Mark scheme for 2210/21/M/J/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.