Equivalence partitioning and Boundary value analysis - MCQs
1. A shopping website gives discount based on prices of total purchased items. Suppose customer purchases are below 2000 rs. then no discount,for purchases till 20000, it gives 10% discount and above 20000 it gives 15% discount. Which of the following sets of values lie in 3 different equivalence classes?a) 1800,2000,8000
b) 2001,10000,20002
c) 1800, 2003,58,000
d) 100,1800,20001
View Answer / Hide AnswerANSWER: c) 1800, 2003,58,000 
a)  1500,1501,1999,2000
b)  1499,1500,1999,2000
c)  1500,1501,2000,2001
d)  1499,1500,2000,2001
View Answer / Hide AnswerANSWER: d)  1499,1500,2000,2001 
a) 0,2,3
b) 2,3,10,11,59,60,100,101
c) 2,3,10,11,59,60,100,101
d) 59,60,100,101
View Answer / Hide AnswerANSWER: c) 2,3,10,11,59,60,100,101 
a) 3,4,24,25
b) 2,3,25,26
c) 2,3,24,25
d) 3,5,25,26 
View Answer / Hide Answer5. Which is/are the characteristics of equivalence partitioning? a) In equivalence-partitioning technique we need to test only one condition from each partition. 
b) If one condition in a partition works, we assume all of the conditions in that partition will work.
c) if one of the conditions in a partition does not work, then we assume that none of the conditions in that partition will work.
d) Equivalence partitions and equivalence classes both terms mean exactly the same thing.
e) All of the above
View Answer / Hide AnswerANSWER:  e) All of the above
a) True 
b) False
View Answer / Hide AnswerANSWER: b) False 
Comment: Equivalence partitioning and boundary value analysis techniques can be applied to all levels of testing.
a) APPLE
b) apple
c) aPPle
d) a2pple
View Answer / Hide Answer8. Which of the following is not  a specification based technique?a) Cause-effect table
b) State transition testing
c) Decision coverage
d) Use case testing       
View Answer / Hide AnswerANSWER: c) Decision coverage 
Comment: Decision coverage is white box testing technique.
a) -1
b)  0		
c)  7
d) 121
View Answer / Hide Answer10. A on line bus reservation system asks number of  seats to be reserved by user where user can reserve seats till its capacity will be full. If a tester wants to test that particular field using boundary value, what do you think will be a correct set of input values?a) 1, 2, capacity -1, capacity, capacity + 1
b)  0, 1, capacity, capacity + 1
c) 0, 1, 2, capacity + 1, a very large number
d) 0, 1, 10, 100, capacity, capacity+1
View Answer / Hide AnswerANSWER:  b)  0, 1, capacity, capacity + 11
a) 50,58,75
b) 49,50,51
c) 52,60,99
d) 0,15,50
View Answer / Hide Answer
12. Which of the following values for age are in the same equivalence partition?
 If you are less than 18, you are too young to be registered for program
 Between 18 and 50 inclusive, you will receive a 20% discount.
 Anyone over 50 is not eligible for a discount.
a) 17, 18, 19
b) 51, 52, 53
c) 18, 49, 50
d) 17, 49, 51
View Answer / Hide Answer
13. What is an equivalence partition?
a) A set of test cases for testing classes of objects
b) An input or output range of values such that only one value in the range becomes a test case
c) An input or output range of values such that each value in the range becomes a test case
d) An input or output range of values such that every tenth value in the range becomes a test case.
View Answer / Hide Answer
ANSWER: b) An input or output range of values such that only one value in the range becomes a test case