Question 3
You are testing a native application for a smart phone. The application allows the user to make grocery lists on the phone and store up to three lists at a time. A list
can contain up to 50 items.
Which of the following is the minimum set of test conditions to achieve 100% coverage with the boundary value analysis test technique?
List with 0 items, List with 1 item, List with 50 items, List with 51 items, 0 lists saved, 1 list saved, 3 lists saved, 4 lists saved
List with 0 items, List with 25 items, List with 51 items, 3 lists saved
List with 0 items, List with 12 item, List with 58 items, 0 lists saved, 1 list saved, 3 lists saved, 7 lists saved
Correct answer: B
Explanation:
B is correct because it is doing BVA on both the list quantity and the list saving capability. D is incorrect because it has achieved EP coverage, but didn’t get the boundaries. A is incorrect because it doesn’t consider the list save capabilities and it doesn’t test the invalid values for the list. C is incorrect because it does not sufficiently test the save feature.
B is correct because it is doing BVA on both the list quantity and the list saving capability. D is incorrect because it has achieved EP coverage, but didn’t get the boundaries. A is incorrect because it doesn’t consider the list save capabilities and it doesn’t test the invalid values for the list. C is incorrect because it does not sufficiently test the save feature.