nerdexam
ISTQB

ISTQB-CTFL · Question #85

The following 4 equivalence classes are given: Which of the following alternatives includes correct test values for x. Based on equivalence partitioning?

The correct answer is D. -1000; -100; 100; 1000. The question is about selecting the correct test values for x based on equivalence partitioning. Equivalence partitioning is a software test design technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived…

Test Techniques

Question

The following 4 equivalence classes are given:

Which of the following alternatives includes correct test values for x. Based on equivalence partitioning?

Options

  • A-100; 100:1000; 1001
  • B-500; 0; 100; 1000
  • C-99; 99:101; 1001
  • D-1000; -100; 100; 1000

How the community answered

(55 responses)
  • A
    5% (3)
  • B
    7% (4)
  • C
    16% (9)
  • D
    71% (39)

Explanation

The question is about selecting the correct test values for x based on equivalence partitioning. Equivalence partitioning is a software test design technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. In this case, the given equivalence classes are: (-100 < x < 100) (100 \leq x < 1000) Option D provides a value from each of these partitions: For (x \leq -100), it gives -1000. For (-100 < x < 100), it gives -100 and 100. For (100 \leq x < 1000), it gives 500. For (x \geq 1000), it gives 1500. So, option D covers all four given equivalence classes with appropriate values.

Topics

#equivalence partitioning#test values#black-box techniques#input partitioning

Community Discussion

No community discussion yet for this question.

Full ISTQB-CTFL Practice