Question: SOFTWARE ENGINEERING:- Read the code carefully and perform the following tasks: Draw Control Flow Graph for the given code Highlight all regions in the flow
SOFTWARE ENGINEERING:-
Read the code carefully and perform the following tasks: Draw Control Flow Graph for the given code Highlight all regions in the flow graph separately Using cyclomatic complexity formula, calculate number of basis path tests. Show path of each basis path test separately.
while(x<100) { if(a[x]%2==0) { parity=0; } else { parity=1; } switch(parity) { case 0: cout<
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
