CS FundamentalsModerateProduct company interview · GATE level
A control flow graph has 29 edges and 20 nodes. What is its cyclomatic complexity?
- A. 11~1
- B. 11
- C. 6
- D. 15
Correct answer: B. 11
V(G) = E − N + 2P = 29 − 20 + 2(1) = 11.
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 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?
- Assertion (A): A design pattern catalog entry typically names the pattern's intent, applicability, structure (class diagram), and…
- A sprint review demonstrates a 'done' increment to stakeholders, while a sprint retrospective is held separately right after. What is the…