Question: 1. Draw Control Flow Graph of the given code 3.1 and code 3.2. respectively. 2. Identify no. of predicate nodes and regions of the given

1. Draw Control Flow Graph of the given code 3.1 and code 3.2. respectively.

2. Identify no. of predicate nodes and regions of the given code 3.1 and code 3.2. respectively.

3. Determine Cyclomatic Complexity of the given code 3.1 and code 3.2. respectively. 1. Draw Control Flow Graph of the given code 3.1 and code

code 3.1 code 3.2 1 If STDGrade >= 90 Then 2 result="A" display "A" 3 Else 4 If STDGrade >= 80 Then 5 result="B"' display "B" 6 Else 7 If STDGrade>= 70 Then 8 result="C" display "C" 9 Else 10 If STDGrade>= 60 Then 11 result="D"' display "D" 12 Else 13 result="F" ' display "F" 14 End If 15 End If 16 End If 17 End If 18 PRINT "THIS IS YOUR RESULT" If (1. num1 >100 and 2. num2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!