Your test suite S for a program P achieves 100% statement coverage. It consists of three test cases, each of which achieves 50% statement coverage. Which of the following statements is CORRECT?

Events
StateAvailableNotAvailableChangeRoomCancelPay
S1: RequestingS2S3
S2: ConfirmedS1S4S4
S3: Waiting listS2S4
S4: End

Answer Options

A.Executing S will cause all possible failures in P
B.S achieves 100% branch coverage for P
C.Every executable statement in P containing a defect has been run at least once during the execution of S✓
D.After removing one test case from S, the remaining two test cases will still achieve 100% statement coverage

Correct Answer

C: Every executable statement in P containing a defect has been run at least once during the execution of S

More Questions from This Exam