nerdexam
iSQI

CTFL_SYLL_4.0 · Question #45

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 Design 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

(13 responses)
  • A
    8% (1)
  • B
    15% (2)
  • D
    77% (10)

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 design techniques#boundary values#test case selection

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice