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.

Codes:

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

Please answer this as soon as possible!!! I'll give you thumb ups for real!!!

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

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!