ExamGecko
Question list
Search
Search

Related questions











Question 17 - CTFL-2018 discussion

Report
Export

A garden irrigation system allows the user to specify 2 inputs:

1. Frequency - The number of times the system should be automatically switched on per day; minimum once per day, maximum 5 times

2. Duration - The duration of operation, in whole minutes, each time it is switched on; ranging from 1 to 60

Applying 2-value boundary value analysis which of the following options has the correct test set of valid and invalid boundary values?

A.
Frequency 1, 5; Duration 1, 60
Answers
A.
Frequency 1, 5; Duration 1, 60
B.
Frequency 0, 1, 5, 6; Duration 59 seconds, 1 minute, 60 minutes, 60 minutes 1 second
Answers
B.
Frequency 0, 1, 5, 6; Duration 59 seconds, 1 minute, 60 minutes, 60 minutes 1 second
C.
Frequency 0, 1, 5, 6; Duration 0, 1, 30, 60, 61
Answers
C.
Frequency 0, 1, 5, 6; Duration 0, 1, 30, 60, 61
D.
Frequency 0, 1, 2, 5, 6; Duration 0, 1, 30, 60, 61
Answers
D.
Frequency 0, 1, 2, 5, 6; Duration 0, 1, 30, 60, 61
Suggested answer: C

Explanation:

Frequency 0, 1, 5, 6; Duration 0, 1, 30, 60, 61 is the correct test set of valid and invalid boundary values applying 2-value boundary value analysis1.Boundary value analysis is a technique that tests the values at and near the boundaries of an input domain or output range1.A 2-value boundary value analysis tests two values for each boundary: one valid value and one invalid value1. For Frequency, the valid boundaries are 1 and 5, so the test set should include one valid value (1 or 5) and one invalid value (0 or 6) for each boundary. For Duration, the valid boundaries are 1 and 60, so the test set should include one valid value (1 or 60) and one invalid value (0 or 61) for each boundary. The other options are incorrect test sets of valid and invalid boundary values applying 2-value boundary value analysis. Option A only includes valid values for each boundary, but not invalid values. Option B includes invalid values that are not adjacent to the boundaries (59 seconds and 60 minutes 1 second). Option D includes more than two values for each boundary (0, 1, 2 for Frequency; 0, 1, 30 for Duration).

asked 18/09/2024
Peter Keijer
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first