ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 146 - CTFL4 discussion

Report
Export

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

A.
A white-box test technique which covers the decision results which determine the next statement to be executed
Answers
A.
A white-box test technique which covers the decision results which determine the next statement to be executed
B.
A black-box test technique which uses a state table to derive test cases
Answers
B.
A black-box test technique which uses a state table to derive test cases
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.
An experience-based test technique in which test cases are based on the tester's knowledge of past failures
Answers
D.
An experience-based test technique in which test cases are based on the tester's knowledge of past failures
Suggested answer: C

Explanation:

Statement coverage is a white-box test technique which focuses on executing all possible statements in the code at least once during testing. This helps in determining the percentage of executable statements that have been executed by the test suite, aiming to ensure that all parts of the program have been tested at least once (ISTQB Main Web).

Reference:

ISTQB Certified Tester Foundation Level Syllabus v4.0: ISTQB CTFL Syllabus v4.0 PDF

asked 18/09/2024
Andrew Staton
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first