nerdexam
ISTQB

CTFL_001 · Question #252

Refer to the exhibit. The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. The following test…

The correct answer is D. Statement coverage and decision coverage are both less than 100%. See the full explanation below for the reasoning.

Question

Refer to the exhibit. The flow graph below shows the logic of a program for which 100% statement coverage and 100% decision coverage is required on exit from component testing. The following test cases have been run:

Test Case 1 covering path P,Q,R,U Test Case 2 covering path P,Q,S,V Test Case 3 covering path P,Q,S,W,X Test case 4 covering path P,Q,S,W,Y

Exhibit

CTFL_001 question #252 exhibit

Options

  • AStatement coverage is 100%; decision coverage is 100%
  • BStatement coverage is less than 100%; decision coverage is 100%.
  • CStatement coverage is 100%; decision coverage is less than 100%
  • DStatement coverage and decision coverage are both less than 100%

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    7% (2)
  • C
    3% (1)
  • D
    76% (22)

Community Discussion

No community discussion yet for this question.

Full CTFL_001 Practice