Multiple Choice
Which of the following questions should you ask to verify a clean program?
A) Does the program produce correct results with a set of known inputs?
B) Does the program produce correct results if the sentinel value is the first and only input?
C) Does the program deal appropriately with invalid input?
D) All of these are required tests.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q30: When you use a sentinel value for
Q31: When reading data from a user, the
Q32: In a for loop, a loop control
Q33: How many times will a loop with
Q34: for loops can be nested.
Q36: The loop condition can be a complex
Q37: To get a floating-point average, type cast
Q38: You should always put a semicolon after
Q39: When we use a while loop, we
Q40: Using an if statement to validate input