ExamGecko
Question list
Search
Search

Related questions











Question 325 - CTFL-2018 discussion

Report
Export

Which of the following provides the BEST description of statement coverage?

A.
A black-box test technique which uses a state table to derive test cases
Answers
A.
A black-box test technique which uses a state table to derive test cases
B.
An experience-based lest technique in which test cases are based on the tester's knowledge of past failures
Answers
B.
An experience-based lest technique in which test cases are based on the tester's knowledge of past failures
C.
A white-box test technique which focuses on the percentage of executable statements that has been executed by a test suite
Answers
C.
A white-box test technique which focuses on the percentage of executable statements that has been executed by a test suite
D.
A white-box test technique which covers the decision results which determine the next statement to be executed
Answers
D.
A white-box test technique which covers the decision results which determine the next statement to be executed
Suggested answer: C

Explanation:

Statement coverage is a white-box test technique which focuses on the percentage of executable statements that has been executed by a test suite. This is the best description of statement coverage, as it measures how many statements in the source code have been covered by one or more test cases. Option A is incorrect, as it describes state transition testing, which is a black-box test technique that uses a state table to derive test cases. Option B is incorrect, as it describes error guessing, which is an experience-based test technique in which test cases are based on the tester's knowledge of past failures. Option D is incorrect, as it describes decision coverage, which is a white-box test technique that covers the decision results which determine the next statement to be executed.

asked 18/09/2024
Maurille AGBISSIKO
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first