Validation versus verification
Validation checks entered data is reasonable and complete. Verification checks it matches the source data, for example by proofreading.
Understanding Validation versus verification in VCE Software Development U4O1
What it does: An existence check tests that data was entered at all, without comparing it to a source, so it is validation. Data can pass validation and still be wrong. For example, a mark of 70 instead of 80 is still reasonable. The code compares what was typed with the source data to confirm it was copied accurately, so it is verification. The message should say the mark is valid. To verify, the entered mark would have to be compared with the original source.
Common mistakes: A validation function is a normal function, so the def line must end with a colon: def is_valid_age(age):. Double entry verification compares the two entries. = assigns a value and is invalid in an if condition. Use == to compare.
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 125–171) and word search (Modules 115–171).
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 →