Data integrity: reasonableness
Data is reasonable when its values are sensible and plausible for what they describe. An age of 250 fails a reasonableness check on a range, such as 0 to 120.
Understanding Data integrity: reasonableness in VCE Data Analytics U3O2
What it does: The code accepts a mark only when it lies inside the plausible range of 0 to 100, which is a range-based reasonableness check. 16 lies within 0 to 120 and is sensible for a student, so it passes the check. A number can be valid and still be unreasonable. No person is 250 years old, so the value fails a reasonableness check. Reasonableness asks whether a value makes sense in the real world for the thing it describes, not just whether it is stored correctly. 34 sits inside the range 0 to 120. A negative age is outside the range, so it fails.
Common mistakes: The lower limit of the range must be 0, not 200. With a lower limit above the upper limit of 120, no age could ever pass the reasonableness check. It should be lo ← 0. This branch runs when the age is inside the range 0 to 120, so the value is reasonable. The output should be OUTPUT 'Reasonable'.
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 76–146) and word search (Modules 3–146).
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
reasonablenessFill in the Blanks
Spot the Error
Student with a class code? Join your class →