Starting from:

$30

SOFTWARE TESTING AND MAINTENANCE Assignment #5

Page 1 of 2
ECE 322
SOFTWARE TESTING AND MAINTENANCE
Assignment #5

(return to the appropriate box- ECE 322 A1 - 2nd floor of DICE building)
Total: 30 points
10 points
1.For the piece of code shown below show def-clear paths.
Page 2 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.

More products