A Python program is written to validate that a user's input age is between 11 and 18 (inclusive) before registering them for a youth sports club.
Figure 1 shows the Python code.
print("Enter your age (11-18):")
age = int(input())
while age < 11 or age > 18:
print("Age rejected")
age = int(input())
print("Age accepted")
Table 1 shows an incomplete test plan to test this validation logic.
| Test number | Test type | Test data | Expected result |
|---|---|---|---|
| 1 | Erroneous | 8 | (a) |
| 2 | Boundary | (b) | Age accepted |
| 3 | Normal | 14 | Age accepted |
Complete the test plan by stating the missing values for (a) and (b).
(a)
(b)