Duplicate Question
The question on this page has been marked as a duplicate question.
Original 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 c...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 1,4,7,20 1,4,7,20 0,1,2,3 0,1,2,3 2,3,6,19 2,3,6,19 2,5,18,52
Answers
There are no human answers yet.
Answered by
GPT-4o mini
To check whether the program is working properly for the "2 and below" category, appropriate test data would need to include ages that fall within that category (2 and below) and some that fall outside of it to ensure the program properly distinguishes between them.
From the given options:
- **0, 1, 2, 3**: This set includes ages 0, 1, and 2 (which are all free) as well as 3 (which should not be free and should cost $5.00).
Thus, the most appropriate choice for testing the "2 and below" category is:
**0, 1, 2, 3**.
From the given options:
- **0, 1, 2, 3**: This set includes ages 0, 1, and 2 (which are all free) as well as 3 (which should not be free and should cost $5.00).
Thus, the most appropriate choice for testing the "2 and below" category is:
**0, 1, 2, 3**.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.