Question: 5. Calculate the decision coverage Test (int a) { If(a>4) a=a*3 Print (a) } a. Draw the control flow graph for this program b.
5. Calculate the decision coverage Test (int a) { If(a>4) a=a*3 Print (a) } a. Draw the control flow graph for this program b. When a= -7, what is the decision coverage c. When a = = 3, what is the decision coverage = 3
Step by Step Solution
3.47 Rating (147 Votes )
There are 3 Steps involved in it
Answer Control Flow Graph CFG The control flow graph for the given program can ... View full answer
Get step-by-step solutions from verified subject matter experts
