CS FundamentalsModerateIBM · Deloitte pattern
A control flow graph has 11 edges and 10 nodes. What is its cyclomatic complexity?
- A. 6
- B. 3~1
- C. 3
- D. 0
Correct answer: C. 3
V(G) = E − N + 2P = 11 − 10 + 2(1) = 3.
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
- A control flow graph has 6 edges and 5 nodes. What is its cyclomatic complexity?
- A control flow graph has 29 edges and 20 nodes. What is its cyclomatic complexity?
- A control flow graph has 15 edges and 13 nodes. What is its cyclomatic complexity?
- Using basic COCOMO for a organic project (E = 2.4 × KLOC^1.05 person-months), what is the estimated effort for a 28 KLOC project?
- Using basic COCOMO for an embedded project (E = 3.6 × KLOC^1.2 person-months), what is the estimated effort for a 38 KLOC project?
- Using basic COCOMO for a semi-detached project (E = 3 × KLOC^1.12 person-months), what is the estimated effort for a 65 KLOC project?