Lesson 6.6 · Answer it
Bike hire test data
5 marksYou mark it yourself against the marking points
A bike-hire app asks how many hours a bike is wanted for. It accepts a whole number from 1 to 12, and rejects anything else with a message.
(a) State which kind of test data each of these values is: 7, 12 and seven. [3]
(b) The app gives the right result for all three values. Give one more test value that should be tried, and explain what it checks that the three values in (a) do not. [2]
[5]