QuestionQ1

VerifiedTest Automation

The developers have proposed that test set A is sufficient to test the program shown:

Question Image

When test set A is executed through the program, which statements are exercised?

Explanation

Across the three executions, every reachable statement is exercised except statements 22, 27, 28, and 29. None of the supplied combinations of price, quantity, bonus, and market causes execution to enter the branches containing those statements.

Community Discussion

No comments yet. Be the first to start the discussion!