A programmer has written a routine to check that prices are below $10.00. These values are used as test data. 10.00 9.99 ten Explain why each value was chosen.
Mark scheme
Marking points from the official mark scheme (May/June 2018). The mark or mark type is shown in brackets.
- [1] 10.00: boundary/erroneous data // the price should be rejected // value is out of range
- [1] 9.99: boundary/extreme/normal data // the prices should be accepted // value is within normal range
- [1] ten: erroneous/abnormal data // input should be rejected // value is wrong type
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 →