ISRO Computer Science (CSE) 2026 - Question 11

All ISRO Computer Science (CSE) papers | ISRO Computer Science (CSE) 2026

Topic: Software Engineering

With respect to the computation of the Cyclomatic Complexity chose the correct answer from the following:

  • A. The number of regions of the Control Flow Graph Gives the Cyclomatic Complexity V(G)
  • B. V(G) of a Control Flow Graph is defined as V(G)=E-N+2, where E is number of Edges in CFG, N is number of Nodes in CFG.
  • C. Both A and B
  • D. Neither A and B

Answer: C. Both A and B

Explanation: McCabe's Cyclomatic Complexity V(G) can be calculated mathematically using the formula V(G) = E - N + 2, where E is edges and N is nodes. Topologically, it is also exactly equal to the number of enclosed regions in a planar Control Flow Graph (including the infinite outer region).

| | All questions of ISRO Computer Science (CSE) 2026