Question
what must a programmer use to test a program?
a. all possible sets of legitimate inputs
b. all possible sets of inputs
c. a single set of legitimate inputs
d. a reasonable set of legitimate inputs
a. all possible sets of legitimate inputs
b. all possible sets of inputs
c. a single set of legitimate inputs
d. a reasonable set of legitimate inputs
Answers
GPT-4o mini
The best option for a programmer to use when testing a program is:
**d. a reasonable set of legitimate inputs**
Testing with a reasonable set of legitimate inputs allows for effective coverage of potential scenarios without the impracticality of testing all possible inputs or input sets. This approach balances thorough testing with the constraints of time and resources.
**d. a reasonable set of legitimate inputs**
Testing with a reasonable set of legitimate inputs allows for effective coverage of potential scenarios without the impracticality of testing all possible inputs or input sets. This approach balances thorough testing with the constraints of time and resources.