CS FundamentalsHardProduct-company MCQ pattern
A control flow graph has 17 edges and 13 nodes, forming 2 disconnected components. What is its cyclomatic complexity?
- A. 8
- B. 6
- C. 3
- D. 11
Correct answer: A. 8
V(G) = E − N + 2P = 17 − 13 + 2(2) = 8.
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 22 edges and 15 nodes. What is its cyclomatic complexity?
- A control flow graph has 11 edges and 10 nodes. What is its cyclomatic complexity?
- 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?