Extreme test data
The largest and smallest values a program should accept, such as 0 and 120 for a range of 0 to 120. They sit exactly on the limits and the expected outcome is accepted.
Understanding Extreme test data in IGCSE Computer Science Paper 2
What it does: Extreme data is the smallest and largest acceptable values, which for this range are exactly 0 and 120. The value 120 is on the upper limit and is valid, so the program should accept it. 60 is a normal value in the middle of the range. Only 0 and 120 are the extremes. The extremes are the lowest and highest acceptable values. 9 and 21 are just outside the limits, so they are rejected. 120 is the largest acceptable value, so it must be accepted. Rejecting it means the check is wrong, perhaps using < instead of <=.
Common mistakes: Extreme test data sits exactly on the limits of the range, so the program should accept it. The line should say 'Expected result: accepted'. Extreme data is the smallest and largest acceptable values. For a range of 0 to 120 these are 0 and 120, not 1 and 119. The line should be 'Extreme data: 0 and 120'.
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 71–82) and word search (Modules 71–92).
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
Extreme test dataFill in the Blanks
Spot the Error
Student with a class code? Join your class →