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" Flse Tf (1 num1 100 and 2 num2 200
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" Flse Tf (1 num1 100 and 2 num2 200
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.2: Providing Class Conversion Capabilities
Problem 5E
Related questions
Question
100%
Course: Software Engineering

Transcribed Image Text: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
If (1. numl >100 and 2. num2 <200)
7
If STDGrade>= 70 Then
3. statement 1
result= "C" ' display "C"
else
4. while (num<100)
5. statement1
9
Else
10
If STDGrade>= 60 Then
6. statement2
11
result= "D" ' display "D"
7. statement3
8. end while
12
Else
13
result= "F" ' display "F"
9.endif
14
End If
15
End If
16
End If
17 End If
18 PRINT "THIS IS YOUR RESULT"
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage

Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,