Loading, please wait ...
Open its course - Software Quality Engineering

Equivalence Partitioning

Topic Questions:
33
MCQs T/F FiB SQ
11
11
0
12
12
0
10
10
0
0
0
0
Question Type Legends

Easy

Medium

Difficult

Multiple Choice Questions for Equivalence Partitioning

  • 1 Which of the following describes an 'invalid equivalence class'?
    1. A class containing values that are not expected to be used by the customer
    2. A class representing all possible erroneous states or input values for a condition
    3. A class of test cases that failed during the execution phase
    4. A set of inputs that the developer has not yet implemented in the code

  • 2 Equivalence Partitioning is considered vastly superior to random testing primarily because:
    1. It allows for exhaustive testing of the entire input domain
    2. It requires looking at the source code to find logic errors
    3. It systematically identifies a subset of test cases with a higher probability of finding errors
    4. It is a fully automated process that requires no human intervention

  • 3 What should a tester do if they suspect that the program does not handle every element within a single equivalence class identically?
    1. Combine it with a different class to simplify the test plan
    2. Discard the class and use random sampling instead
    3. Split the equivalence class into smaller, more granular equivalence classes
    4. Ignore the suspicion unless a failure occurs during system testing

  • 4 If an input condition specifies a set of values (e.g., 'type of vehicle must be BUS, TRUCK, or TAXICAB') and there is reason to believe the program handles each differently, how many valid classes are identified?
    1. One valid class for the entire set
    2. One valid class for each specific value in the set
    3. No valid classes; these are handled as boundary values
    4. Two valid classes: one for motor vehicles and one for others

  • 5 Why is it mandated that test cases for invalid equivalence classes should cover only one uncovered invalid class at a time?
    1. To maximize the amount of machine time used during the testing phase
    2. Because invalid inputs are easier to document in the Software Test Report (STR)
    3. Because certain erroneous-input checks may mask or supersede other erroneous-input checks
    4. To ensure that the program's logic paths for valid inputs are not accidentally triggered

  • 6 What is the recommended procedure for writing test cases to cover valid equivalence classes?
    1. Write a separate and unique test case for every individual valid class
    2. Write test cases that each cover as many uncovered valid equivalence classes as possible
    3. Only test the middle value of the largest valid class
    4. Valid classes should only be tested if they also overlap with boundary conditions

  • 7 In a 'must be' situation, such as 'the first character of the identifier must be a letter', what are the resulting equivalence classes?
    1. One valid class (it is a letter) and one invalid class (it is not a letter)
    2. 26 valid classes (one for each letter) and one invalid class
    3. One valid class and multiple classes for digits, symbols, and spaces
    4. Only valid classes are needed for this type of condition

  • 8 If an input condition specifies a range of values, such as 'the item count can be from 1 to 999', how many equivalence classes should be identified according to SQA guidelines?
    1. One valid equivalence class only
    2. Two valid equivalence classes and one invalid class
    3. One valid equivalence class and two invalid classes
    4. One valid, one invalid, and one boundary class

  • 9 What is the primary objective of Equivalence Partitioning as a black-box testing methodology?
    1. To execute every possible path and branch within the program's source code
    2. To partition the input domain into a finite number of classes to identify representative test cases
    3. To automatically generate random input values to stress test the system
    4. To focus exclusively on the mathematical logic of individual program statements

  • 10 If an input condition specifies a range of values (for example, “the item count can be from 1 to 999”), identify ______ equivalence class will be sufficient to test it.
    1. 2
    2. 3
    3. 4
    4. 5

  • 11 Valid and invalid equivalence classes are shown against the _________ condition in the table of equivalence partitioning.
    1. Internal
    2. External
    3. Both
    4. None

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learning Experience Platform

Follow Us
Facebook Switch Display Mode Enable Translation
© 2026 - Subject Expert)