Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024
Software-Engineering
August 28, 2024

Software-Engineering

Question 388
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?
A
19
B
21
C
20
D
10
Question 388 Explanation: 
Cyclomatic complexity is a software metric used to indicate the complexity of a program.

It is a quantitative measure of the number of linearly independent paths through a program’s source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 – 1 = 9
Number of decision points in module-B = 10 – 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
Correct Answer: A
Question 388 Explanation: 
Cyclomatic complexity is a software metric used to indicate the complexity of a program.

It is a quantitative measure of the number of linearly independent paths through a program’s source code.
Cyclomatic Complexity of module = Number of decision points of program + 1
Number of decision points in module-A = 10 – 1 = 9
Number of decision points in module-B = 10 – 1 = 9
Cyclomatic Complexity of the integration(both A and B) = Number of decision points + 1
= (9 + 9) + 1
= 19
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!