The cyclomatic complexity of each of the modules X and Y shown below is 10.…

2017

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 right hand side?

image.png

Answer: B. 19For sequential integration of modules, the total cyclomatic complexity is calculated as V1 + V2 - 1. Here, both modules have a complexity of 10. Therefore,…

  1. A.

    21

  2. B.

    19

  3. C.

    20

  4. D.

    10

Attempted by 110 students.

Show answer & explanation

Correct answer: B

For sequential integration of modules, the total cyclomatic complexity is calculated as V1 + V2 - 1. Here, both modules have a complexity of 10. Therefore, the combined complexity is 10 + 10 - 1 = 19.

Explore the full course: Niacl Ao It Specialist

Loading lesson…