Which of the following is a structure-based (white-box) technique?

Master the ISTQB Foundation Level exam with our comprehensive CTFL PRO tests. Dive into detailed multiple choice questions, complete with explanations and hints to maximize your understanding. Get exam-ready today!

Structure-based testing, also referred to as white-box testing, focuses on the internal structure of the software and requires knowledge of the code. Among the techniques mentioned, statement testing is a specific white-box technique that involves executing individual statements of the code to ensure that each one functions as intended. By doing so, it aims to identify any flaws within the program’s logic that could interfere with its execution.

This technique is particularly useful in verifying that all the code has been executed at least once, which can help pinpoint areas that may not be adequately covered by other testing methods. This is essential for achieving code coverage, which is a key goal of structure-based testing because it helps ensure that all parts of the application have been tested for correctness.

In contrast, decision table testing, state transition testing, and boundary value analysis are examples of black-box testing techniques, which assess the system based on its specifications and functional requirements without delving into the internal workings of the code.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy