ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 6 - CTFL4 discussion

Report
Export

The following 4 equivalence classes are given:

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

A.
-100; 100:1000; 1001
Answers
A.
-100; 100:1000; 1001
B.
-500; 0; 100; 1000
Answers
B.
-500; 0; 100; 1000
C.
-99; 99:101; 1001
Answers
C.
-99; 99:101; 1001
D.
-1000; -100; 100; 1000
Answers
D.
-1000; -100; 100; 1000
Suggested answer: D

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:

(x \leq -100)

(-100 < x < 100)

(100 \leq x < 1000)

(x \geq 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.

1: ISTQB Foundation Level Syllabus 2018, Version 4.0, p. 38

2: ISTQB Foundation Level Syllabus 2018, Version 4.0, p. 39

: ISTQB Foundation Level Syllabus 2018, Version 4.0, p. 40

asked 18/09/2024
Waleed Bahadaq
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first