Choosing validation or verification
Validation checks data is acceptable, like an age range check. Verification checks it was typed correctly, like double entry. A scenario may need one or both.
Understanding Choosing validation or verification in IGCSE Computer Science Paper 2
What it does: The range check validates the age. Adding double entry as well would also verify it, so both together give better protection. Comparing the two entries is verification. The 'because' links the check to the reason it is needed. Validation = is the data acceptable? Verification = was the data entered correctly? Double entry only checks that the two entries match. It cannot prove the data is the true value. A range check is a validation check because it tests whether the data is reasonable or allowed. A value can pass validation and still be wrong, which is why a scenario may need both validation and verification.
Common mistakes: Double entry is verification. The program must warn the user when the two entries do NOT match, so the condition should be Pass1 <> Pass2. A range check rejects ages outside the range. No number is both below 0 and above 120, so AND never catches anything. It should be OR.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 60–70) and word search (Modules 47–70).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
validation vs verificationFill in the Blanks
Spot the Error
Student with a class code? Join your class →