Question: (a) Explain the significance of data flow-based testing? Obtain the test cases generated using 'adup' strategy for variable i and j for the code
(a) Explain the significance of data flow-based testing? Obtain the test cases generated using 'adup' strategy for variable i and j for the code fragment following using its control flow graph. (8) 1 int i, j, k; i=2; j=1; k=i+j; while (1>a) {j=1; 2 3 4 5 while (j < b) 6{k++; j++;} 7 8 } 9 k = i+j; (b) Using schematic diagrams explain the idea of (i) top- down, (ii) bottom-up and (iii) hybrid testing. Also explain your understanding of system-level testing. (7)
Step by Step Solution
There are 3 Steps involved in it
Adup strategy For variable i Test Case 1 Initial value before ... View full answer
Get step-by-step solutions from verified subject matter experts
