ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 114 - CTFL4 discussion

Report
Export

Which or the following is a valid collection of equivalence classes for the following problem: An integer field shall contain values from and including 1 to and including 15.

A.
Less than 0.1 through 14. 15 and more
Answers
A.
Less than 0.1 through 14. 15 and more
B.
Less than 1.1 through 14. more than 15
Answers
B.
Less than 1.1 through 14. more than 15
C.
negative numbers. 1 through 15. above 15
Answers
C.
negative numbers. 1 through 15. above 15
D.
Less than 1.1 through 15. more than 15
Answers
D.
Less than 1.1 through 15. more than 15
Suggested answer: D

Explanation:

Equivalence partitioning is a black-box test design technique where inputs to the software or system are divided into groups that are expected to exhibit similar behavior. For an integer field that should accept values from 1 to 15, the valid equivalence class is 1 through 15. The invalid equivalence classes are numbers less than 1 and numbers more than 15. Therefore, option D, 'Less than 1, 1 through 15, more than 15,' correctly identifies the valid equivalence class along with the two invalid classes, covering all possible input scenarios for the field. Options A, B, and C either do not accurately capture the valid range or incorrectly specify the range boundaries.

asked 18/09/2024
Emanuele Facchini
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first