Equivalence partitioning is

  1. Black box testing appropriate to all levels of testing

  2. Black box testing used only by developers

  3. Black box testing appropriate for system testing only

  4. A white box testing appropriate for component testing only


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of equivalence partitioning.

Equivalence partitioning is a black box testing technique that is appropriate for all levels of testing. It involves dividing the input data into different classes or partitions, where each partition is expected to exhibit similar behavior. The idea is to select representative test cases from each partition to ensure that all possible scenarios are covered.

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

Option A) Black box testing appropriate to all levels of testing - This option is correct because equivalence partitioning is a black box testing technique that can be used at any level of testing to ensure thorough test coverage.

Option B) Black box testing used only by developers - This option is incorrect because equivalence partitioning is not limited to developers only. It is a testing technique that can be used by testers as well.

Option C) Black box testing appropriate for system testing only - This option is incorrect because equivalence partitioning is not limited to system testing only. It can be used in various levels of testing, including unit testing, integration testing, and acceptance testing.

Option D) A white box testing appropriate for component testing only - This option is incorrect because equivalence partitioning is not a white box testing technique. It is a black box testing technique that focuses on the inputs and outputs of the system under test, rather than the internal structure or code.

The correct answer is A) Black box testing appropriate to all levels of testing. This option is correct because equivalence partitioning is a black box testing technique that can be used at any level of testing to ensure thorough test coverage.

Find more quizzes: