Computer Science · May / June 2025 · Paper 22 · Question 3
0478
As printed in the paper
The question as text
A range check is used to validate that the input temperature is an integer between –100 and 0, inclusive. Suggest suitable normal, abnormal, extreme and boundary test data to test if this validation check is working correctly. Normal test data Abnormal test data Extreme test data Boundary test data
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
One mark per correct piece of test data,
Normal test data: −50 (any integer value between 0 and −100, inclusive) Abnormal test data: 50 (any value outside the range 0 and −100, inclusive, or any non-numeric input and non-integers
Extreme test data: 0 // −100
Boundary test data: 1 // 0 // −100 // −101
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

