One of the following is not a part of white box testing as per BS7925-II standards.

  1. Random testing

  2. Data Flow testing.

  3. Statement testing.

  4. Syntax testing.


Correct Option: D

AI Explanation

To answer this question, we need to understand the concept of white box testing and the standards outlined in BS7925-II.

White box testing is a testing technique that examines the internal structure of the system or program being tested. It focuses on verifying the implementation of the system's logic and ensuring that all paths and conditions have been tested. BS7925-II is a software testing standard that provides guidelines and recommendations for testing activities.

Let's go through each option to understand why it is correct or incorrect:

Option A) Random testing - This option is incorrect. Random testing is a technique where test inputs are selected randomly from the input domain. While it may not be a comprehensive approach, it is still a valid method of white box testing.

Option B) Data Flow testing - This option is incorrect. Data Flow testing is a technique that focuses on the paths and conditions of data within a program. It aims to test the flow of data from its source to its destination and ensure that it is consistent and correct. Data Flow testing is considered a part of white box testing.

Option C) Statement testing - This option is incorrect. Statement testing, also known as statement coverage, is a white box testing technique that aims to ensure that every statement in the program has been executed at least once. It is considered an essential part of white box testing to achieve high code coverage.

Option D) Syntax testing - This option is correct. Syntax testing involves verifying the correctness of the syntax and grammar of the program. It checks if the program follows the language rules and syntax. While syntax testing is an important aspect of software development, it is not considered a part of white box testing as per the BS7925-II standards.

The correct answer is D) Syntax testing. This option is correct because according to BS7925-II standards, syntax testing is not considered a part of white box testing.

Find more quizzes: