← 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?
- A.2
- B.3
- C.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 →