Professional KnowledgeHardIBPS SO IT

Cyclomatic complexity of a function with 4 decision points (if/while) is:

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

Correct answer: D. 5

V(G) = number of predicate nodes + 1 = 5.

More IT Officer Professional Knowledge (IBPS SO) questions

Exams that ask this topic