Answer Testing Tutorial
Answer Testing Tutorial
Question 2:
Boundary Value:
19, 20, 200, 201, -1, 0, 1
Question 3:
1-2-3-9
1-2-4-5-9
1-2-4-6-7-9
1-2-4-6-8-9
Question 4:
(b) Example:
Class 1: a=b=c=d=3
Class 2: a=b = 2 AND c=d=4
Class 3: a=1, b=2, c=3, d=4
Class 4: a=-1, b=2,c=-3, d=5
(d)
5 -1 2 2 2 Cannot be
determined
6 -1 -1 -1 -1 Cannot be
determined
7 0 2 2 2 Cannot be
determined
8 0 0 0 0 Cannot be
determined
9 1 2 3 4 Cannot be
determined
10 -2 -2 -3 -3 Cannot be
determined
Question 5:
(a)
4
(d)
Independent Path A B C D Output
1-2-3-7 3 3 3 3 Square
1-2-4-5-7 2 2 4 4 Rectangle
1-2-4-6-7 2 1 4 3 Unidentified
Rectangle