Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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. num2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started