🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Software Testing: all 10 questions

Quiz: Software Testing · Question 2 of 10

A flow graph has 9 edges and 7 nodes. What is its cyclomatic complexity?

A flow graph has 9 edges and 7 nodes. What is its cyclomatic complexity?

  1. A.2
  2. B.3
  3. C.4
  4. D.16
Answer & explanation

Correct answer: 4

V(G) = E − N + 2 = 9 − 7 + 2 = 4.

Can you get the rest right without peeking?

Take the timed Quiz: Software Testing quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →