5 A program checks that the weight of a basket of fruit is over 1.00 kilograms and under 1.10 kilograms. Weights are recorded to an accuracy of two decimal places and any weight not in this form has already been rejected.
- (a)Give three weights as test data and for each weight state a reason for choosing it. All your reasons must be different. Weight 1 Reason.. Weight 2. Reason. Weight 3.. Reason.[3]
Mark scheme
Marking points from the official mark scheme (May/June 2018). The mark or mark type is shown in brackets.
- [3] One mark per value and reason, max 3
- Example 1.00 - boundary rejected//rejected (underweight) // out of range(1)
- 1.02 - normal // valid // accepted weight in range (1)
- 1.10 - abnormal // erroneous // invalid // rejected (overweight) (1)
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 →