Explanation: Less than 0, 1 to 80, more than 80 is a valid collection of equivalence classes for the following problem: “An Integer numeric field shall contain values from 1 to 80 both values inclusive”. Equivalence partitioning is a technique to divide the input domain into partitions that are expected to behave similarly or produce the same output. Each partition should have at least one representative value as a test case2 explains equivalence partitioning as follows:
Equivalence Partitioning (or Equivalence Class Partitioning) is an software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. In principle, test cases are designed to cover each partition at least once.
The fundamental concept of Equivalence Partitioning is that you can find more errors in a test case by using a representative value from an equivalence class than by using any other value from the class.
The input domain for this problem can be divided into three partitions: less than 0, 1 to 80, and more than 80. The first and the last partitions are invalid, as they are outside the range of acceptable values for this field. The middle partition is valid, as it is within the range of acceptable values for this field.
A, C, and D are incorrect answers. A does not include 0 as an invalid partition. C does not include 0 as an invalid partition. D does not include 80 as a valid partition.