CSQA practice question 21 of 35
Statement Testing is included in which of the following test data categories?
Full set: 471 questionsStatement testing, also known as statement coverage, is a white-box testing technique. Its primary objective is to design test cases that execute every programming statement in the source code at least once. This method directly assesses the internal logic and structure of the code to ensure all lines are exercised. Because its focus is on the internal construction of the software rather than its external behavior or potential error locations, it is fundamentally classified as a structural testing technique.
A. Functional testing is a black-box technique that validates software against specified requirements, focusing on inputs and outputs without knowledge of the internal code structure.
C. Error-oriented testing techniques, such as error guessing, are based on the tester's experience and intuition to anticipate common types of defects, rather than systematically covering the code's structure.
1. Ammann, P., & Offutt, J. (2016). Introduction to Software Testing (2nd ed.). Cambridge University Press. In Chapter 2, "Coverage Criteria," statement coverage is introduced as a fundamental type of structural coverage criterion, also referred to as "Node Coverage" in the context of control flow graphs (p. 48).
2. Pezzè, M., & Young, M. (2008). Software Testing and Analysis: Process, Principles, and Techniques. John Wiley & Sons. Chapter 3, "Test Adequacy," explicitly categorizes statement coverage under "Structural Adequacy Criteria," defining it as a criterion that is satisfied when "each statement in the program has been executed at least once" (p. 62).
3. Koomen, T., & van der Aalst, L. (Eds.). (2006). TMap NEXT: For result-driven testing. UTN Publishers. This industry-standard methodology classifies test design techniques. Statement testing is described under the category of "White-box techniques," which are synonymous with structural testing (Section 11.4.2).
Keep practicing
Take the free CSQA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CSQA practice questions
- Question 1Within an ISO process assessment, a capability level is said to be established 'only' and…
- Question 2As the maturity level increases, the cost per unit of work increases.
- Question 3QFD can be used to provide forward and backward traceability of value in the software dev…
- Question 4If common causes of variation result in a process operating outside the customer's specif…
- Question 5Good ideas are of little value unless they are accepted and implemented.
- Question 6Cooperation is required to improve quality and to implement quality management.
