Computer Science EngineeringHard

A connected undirected graph has 9 vertices and 12 edges. Its cyclomatic number (number of independent cycles) is

  1. A. 3
  2. B. 5
  3. C. 12
  4. D. 4

Correct answer: D. 4

The cyclomatic number is E - V + 1 = 12 - 9 + 1, which equals 4.

More Algorithms, Data Structures & Programming (ISRO CS) questions

Exams that ask this topic