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

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

1 Expert Approved Answer
Step: 1 Unlock

Answer Control Flow Graph CFG The control flow graph for the given program can ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!