Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

BCS Exam CTFL4 Topic 6 Question 21 Discussion

Actual exam question for BCS's CTFL4 exam
Question #: 21
Topic #: 6
[All CTFL4 Questions]

Which of the following best describes the way in which statement coverage is measured?

Show Suggested Answer Hide Answer
Suggested Answer: C

Statement coverage is a metric used in white-box testing that measures the percentage of executable statements in the code that have been executed by the test cases. It is calculated as the number of statements executed by the tests divided by the total number of executable statements in the code, providing an indication of how much of the code has been tested.


Contribute your Thoughts:

Sanjuana
1 days ago
Hmm, I was initially leaning towards option D, but now I think C is the right choice. Gotta love those pesky executable statements!
upvoted 0 times
...
Francis
2 days ago
I agree with Kasandra. Option C makes the most sense to me as well. Statement coverage is all about the percentage of code that gets executed during testing.
upvoted 0 times
...
Kasandra
8 days ago
Option C is definitely the correct answer. Measuring statement coverage as the number of executed statements divided by the total executable statements is the standard way to do it.
upvoted 0 times
...
Lawanda
11 days ago
I disagree, I believe it's measured by the number of statements executed.
upvoted 0 times
...
Meaghan
12 days ago
I think statement coverage is measured by the number of decision outcomes executed.
upvoted 0 times
...

Save Cancel