DigitalLogicDesign
October 14, 2023DigitalLogicDesign
October 14, 2023SoftwareEngineering
Question 67

The cyclomatic complexity of each of the modules X and Y shown below is 10. What is the cyclomatic complexity of the sequential integration shown on the righthand side?
21


19


20


10

Question 67 Explanation:
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3. EdgesVertices+2
1. Number of regions + 1
2. Predicate + 1
3. EdgesVertices+2
But here they already given complexity. So each module complexity is 10.
There are 2 modules named A and B having decision points are (101)+(101).
Cyclomatic complexity of the sequential integration is = Number of decision points + 1
= 18+ 1
= 19
Correct Answer: B
Question 67 Explanation:
Cyclomatic complexity uses 3 formulas
1. Number of regions + 1
2. Predicate + 1
3. EdgesVertices+2
1. Number of regions + 1
2. Predicate + 1
3. EdgesVertices+2
But here they already given complexity. So each module complexity is 10.
There are 2 modules named A and B having decision points are (101)+(101).
Cyclomatic complexity of the sequential integration is = Number of decision points + 1
= 18+ 1
= 19
Subscribe
Login
0 Comments