ISTQB-ATTA practice question 10 of 15

What is the value of statement coverage achieved by test case 1 from test set A? 2 credits [K3]

Full set: 65 questions
Answer options
A: ? 75% (21/28)
B: ? 78% (22/28)
C: ? 85% (24/28)
D: ? 90% (25/28)
Correct Answer:
THE QUESTION IS UNANSWERABLE AS PRESENTED.
Explanation

Statement coverage measures the percentage of executable statements in the source code that have been exercised by a test suite. To calculate this value for a specific test case, one must have access to the source code to determine the total number of executable statements and the details of the test case to trace its execution path. As these critical pieces of information are not provided in the question, a calculation cannot be performed, and no answer can be verified as correct.

Why Incorrect

The options A, B, C, and D represent specific coverage percentages. Without the source code and test case, there is no basis to confirm or deny any of these values. They are all unverifiable.

References

1. International Software Testing Qualifications Board (ISTQB). (2019). ISTQB Advanced Level Syllabus, Technical Test Analyst, Version 3.1.1. Section 3.2.1, "Statement Testing and Coverage," p. 29. This section defines statement coverage as "the percentage of executable statements that have been exercised by a test suite."

2. Ammann, P., & Offutt, J. (2016). Introduction to Software Testing (2nd ed.). Cambridge University Press. Chapter 2, "Coverage Criteria," Section 2.2, pp. 35-37. This university-level textbook explains that calculating statement coverage requires analyzing the source code to identify statements and tracing test inputs to see which statements are executed.

Scroll to Top