Professional Documents
Culture Documents
4 - Test Cases Design Techniques Evaluation
4 - Test Cases Design Techniques Evaluation
4 - Test Cases Design Techniques Evaluation
4. If an amount field (A) is numeric field with max length = 2, a valid partition would be
a. 0 <= A <= 99
b. A <= 100
c. 100 <= A
d. 1 <= A <= 99
5. If a price field (P) allows numbers and two decimals, an invalid partition would be
a. P <= 0
b. P is char
c. P => 0
d. A and B are correct
e. B and C are correct
6. If apples have 10% discount when you buy dozens, maximum 36 apples, which are your partitions boundaries?
a. 0, 11, 12, 13, 24, 25, 35, 36
b. 11, 12, 13, 15, 24, 25, 35, 36, 37
c. 11, 12, 13, 23, 24, 25, 35, 36, 37
d. 11, 12, 13, 23, 24, 25, 47, 48, 49
7. If vaccines are free for all children between the ages of 0 and 6 years old, for women between the ages o
the ages of 32 and 40 years old, and for elderly people of 65 years of age and above, which is:
7.1. A valid partition for women
a. 0 <= age < 6, 20 <= age <= 25, 65 <= age
b. 0 <= age <= 6, 20 <= age <= 25, 65 < age
c. 0 <= age <= 6, 20 <= age <= 25, 65 <= age
d. 0 <= age <= 6, 20 < age < 25, 65 <= age
9. If the valid values are [1,8], which are the boundary values?
a. 0, 1, 2, 7, 8, 9, 10
b. 0, 1, 2, 3, 7, 8
c. 0, 1, 2, 7, 8, 9
d. 1, 2, 3, 7, 8, 9
10. We have a ticketing system where children under 10 are allowed to travel for free, people under 18 as w
$15 while adults need to pay $20. Indicate true for the following partitions
a. "Travel Free" 1 < age < 11
b. "Pay $15" 60 < age
c. "Pay $15" 0 <= age <= 18
d. "Pay $15" 10 <= age < 18
e. "Pay $15" 18 <= age <= 60
f. "Travel free" 0 <= age < 10
g. "Pay $20" 18 <= age <= 60
h. "Pay $20" 18 < age <= 60
11. An Item Description field allows alphanumerical characters with a maximum length of 20 characters. In
a. Alphabetical characters between aA and zZ
b. Special characters
c. Numbers between 0 and 99999999999999999999
d. a. and c.
e. None of the above