exam questions

Exam CTFL v4.0 All Questions

View all questions & answers for the CTFL v4.0 exam

Exam CTFL v4.0 topic 1 question 16 discussion

Actual exam question from ISTQB's CTFL v4.0
Question #: 16
Topic #: 1
[All CTFL v4.0 Questions]

When tests are being created to achieve statement coverage, what are they exercising?

  • A. Only the decisions in the code
  • B. Only the loops in the code
  • C. Only the executable statements in the code
  • D. All lines of code including executable statements and comments
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
ebgifty
2 weeks, 2 days ago
Selected Answer: C
The correct answer is C. Only the executable statements in the code. Statement coverage is a type of code coverage that measures the percentage of executable statements in the code that are exercised by the tests. It focuses on ensuring that each executable statement in the code is executed at least once during testing. Comments and non-executable statements are not included in statement coverage analysis.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago