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.
- 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]
Mark scheme
Marking points from the official mark scheme (Oct/Nov 2021). The mark or mark type is shown in brackets.
- One mark per bullet point
- Normal test data
- • Test data e.g. 50 (allow any number between 1 and 100 inclusive)
- • Reason Data that is within range and should be accepted
- Extreme test data
- • Test data 100 / 1
- • Reason Data at the maximum / minimum end of the range and should be accepted
- Erroneous test data
- • Test data e.g. 300 (allow anything that isn't between 1 and 100 inclusive, including other data types)
- • Reason Data outside the range that should be rejected
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →