Which of the following is NOT a white box technique?

  1. Statement testing

  2. Path testing

  3. Data flow testing

  4. State transition testing


Correct Option: D
Explanation:

To answer this question, the user needs to know about white box testing techniques.

White box testing techniques are also known as structural testing techniques. These techniques are used to test the internal structure of the software system. In white box testing, the tester has knowledge of the internal workings of the system being tested.

Now, let's go through each option to determine which one is NOT a white box technique:

A. Statement testing: This is a white box testing technique where each statement in the source code is executed at least once. The purpose of this testing is to ensure that every statement in the code has been executed and tested.

B. Path testing: This is a white box testing technique where all possible paths through the software are tested. The purpose of this testing is to ensure that all logical paths through the software have been executed and tested.

C. Data flow testing: This is a white box testing technique where the flow of data through the software is tested. The purpose of this testing is to ensure that data is correctly input, processed, and output by the software.

D. State transition testing: This is a black box testing technique that tests the response of the system to different input conditions. The purpose of this testing is to ensure that the system responds correctly to different input conditions.

Therefore, option D is NOT a white box technique. It is a black box technique.

The Answer is: D

Find more quizzes: