$29
Total: 30 points
10 points
1.For the piece of code shown below show def-clear paths.
Page 1 of 2
10 points
2. Write a function in C such that the all-uses coverage criterion produces more test cases than
branch coverage criterion.
10 points
3. Using the modified condition/branch coverage criterion, propose test cases for the following
expression
(a || b) && (c || d)
Note that the test set is not unique; show all possibilities.
Page 2 of 2