Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | GATE CS 2010 | Question 21

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

The cyclomatic complexity of each of the modules A and B shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the right hand side?

cs201021

(A) 19
(B) 21
(C) 20
(D) 10


Answer: (A)

Explanation:

Cyclomatic Complexity of module = Number of decision points + 1

Number of decision points in A = 10 - 1 = 9
Number of decision points in B = 10 - 1 = 9
Cyclomatic Complexity of the integration = Number of decision points + 1
                                         = (9 + 9) + 1
                                         = 19


Quiz of this Question

My Personal Notes arrow_drop_up
Last Updated : 14 Feb, 2018
Like Article
Save Article
Similar Reads