Testing: AQA GCSE practice
Normal, boundary and erroneous data. 11 questions in the style of the AQA GCSE exam.
Sample questions
A program accepts ages from 13 to 19 inclusive. Which of these is boundary test data?
- 15
- 19
- "abc"
- 50
This code tests a validation function with some test data. What does it print?
def valid_mark(m):
return 0 <= m <= 50
for test in [25, 0, 50, 51, -1]:
print(test, valid_mark(test))A program asks for the number of tickets to buy. The user types "ten". Which type of test data is this?
- Typical
- Boundary
- Erroneous
- Normal