Creating a Test and Debug Plan Quick Check 1 of 51 of 5 Items Question Suppose you are creating a program that will check a person’s age to determine how much a ticket for an amusement park should cost. The age brackets are as given below. 2 and below free 3-5 $5.00 6-18 $10.00 19 and up $12.00 What would be appropriate test data to check whether the program is working properly for 2 and below category? (1 point) Responses 0,1,2,3 0,1,2,3 1,4,7,20 1,4,7,20 2,3,6,19 2,3,6,19 2,5,18,52 2,5,18,52 Skip to navigation page 5 of 5

1 answer

To test the age category for "2 and below," you want to include values that are at or below this threshold. The appropriate test data for this category would be:

0, 1, 2, 3

This set includes values less than or equal to 2 (0, 1, and 2) and one value above the threshold (3), which can help confirm that the program correctly identifies the cutoff. The other options include ages that are in different categories or do not properly focus on the intended range.