CS FundamentalsModerateProduct-company MCQ pattern

A control flow graph has 15 edges and 13 nodes. What is its cyclomatic complexity?

  1. A. 4
  2. B. 0
  3. C. 8
  4. D. 4~1

Correct answer: A. 4

V(G) = E − N + 2P = 15 − 13 + 2(1) = 4.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic