exam questions

Exam CTFL All Questions

View all questions & answers for the CTFL exam

Exam CTFL topic 1 question 55 discussion

Actual exam question from iSQI's CTFL
Question #: 55
Topic #: 1
[All CTFL Questions]

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

Refer to the exhibit -

  • A. Statement coverage is 100%; decision coverage is 100%
  • B. Statement coverage is less than 100%; decision coverage is 100%.
  • C. Statement coverage is 100%; decision coverage is less than 100%
  • D. Statement coverage and decision coverage are both less than 100%
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Frerik
1 year, 4 months ago
D because the statement T is not touched
upvoted 1 times
...
laraerf
1 year, 6 months ago
Not sure D
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...