CS FundamentalsModerateCognizant · Capgemini pattern
A control flow graph has 26 edges and 18 nodes. What is its cyclomatic complexity?
- A. 8
- B. 12
- C. 10~1
- D. 10
Correct answer: D. 10
V(G) = E − N + 2P = 26 − 18 + 2(1) = 10.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Counting each simple condition in a compound boolean expression as a separate decision, what is the cyclomatic complexity of this…
- Counting each simple condition in a compound boolean expression as a separate decision, what is the cyclomatic complexity of this…
- Counting each simple condition in a compound boolean expression as a separate decision, what is the cyclomatic complexity of this…
- Counting each simple condition in a compound boolean expression as a separate decision, what is the cyclomatic complexity of this…
- Counting each simple condition in a compound boolean expression as a separate decision, what is the cyclomatic complexity of this…
- A system has these unadjusted function-point counts (standard average complexity weights: EI=4, EO=5, EQ=4, ILF=10, EIF=7): External…