Computer Science · Oct / Nov 2021 · Paper 22 · Question 3
0478
As printed in the paper
The question as text
A program checks that the data entered is between 1 and 100 inclusive. Identify one piece of normal, extreme and erroneous test data for this program, and give a reason for each. Normal test data Reason Extreme test data Reason Erroneous test data Reason [6]
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
One mark per bullet point
Normal test data
e.g. 50 (allow any number between 1 and 100 inclusive)
Data that is within range and should be accepted
Extreme test data
100 / 1
Data at the maximum / minimum end of the range and should be accepted
Erroneous test data
e.g. 300 (allow anything that isn’t between 1 and 100 inclusive, including other data types)
Data outside the range that should be rejected
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

