Which of the following techniques is NOT a White box technique?

  1. Statement Testing and coverage

  2. Decision Testing and coverage

  3. Condition Coverage

  4. Boundary value analysis


Correct Option: D

AI Explanation

To answer this question, we need to understand what white box testing techniques are.

White box testing is a software testing technique that involves testing the internal structure, design, and implementation of a software application. It requires knowledge of the internal workings of the system, such as the code, logic paths, and data flow.

Let's go through each option to determine which one is not a white box technique:

Option A) Statement Testing and coverage - This option is a white box technique. It involves testing each statement in the code and ensuring that all statements are executed at least once.

Option B) Decision Testing and coverage - This option is also a white box technique. It focuses on testing the various decision points in the code, such as if-else statements and switch statements, and ensuring that both true and false conditions are tested.

Option C) Condition Coverage - This option is also a white box technique. It involves testing all possible conditions within a decision point, such as testing each condition within an if-else statement.

Option D) Boundary value analysis - This option is not a white box technique. Boundary value analysis is a black box testing technique that focuses on testing the boundaries or extremes of input values. It does not require knowledge of the internal structure or implementation of the software.

Therefore, the correct answer is D) Boundary value analysis. This option is not a white box technique because it falls under the category of black box testing techniques.

Find more quizzes: