The cyclomatic complexity of the following graph is –
2022
The cyclomatic complexity of the following graph is –


- A.
4
- B.
5
- C.
7
- D.
6
Attempted by 132 students.
Show answer & explanation
Correct answer: B
Cyclomatic complexity can be found using: V(G) = E − N + 2 (for a single connected graph) Count nodes: N = 7