CS FundamentalsVery hardService-company placement · GATE CS
Under basic COCOMO organic mode (Effort = 2.4 × KLOC^1.05 person-months), how does productivity in LOC per person-month for a 100 KLOC project compare with a 10 KLOC project?
- A. About 11% lower, roughly 331 against 371 LOC/PM
- B. About 5% lower, roughly 353 against 371 LOC/PM
- C. The same, since effort grows in proportion to size
- D. About 50% lower, since the larger project is ten times bigger
Correct answer: A. About 11% lower, roughly 331 against 371 LOC/PM
Productivity = KLOC / (2.4 × KLOC^1.05) ∝ KLOC^−0.05, so the ratio is 10^−0.05 ≈ 0.89, about 11% lower (≈ 371 vs ≈ 331 LOC/PM). Reading the exponent 0.05 as a 5% drop is the trap.
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
- Application A maintains the Customer master data. A separate Payroll application reads that customer data from A's database to print…
- A customer-maintenance screen lets users add, change and delete customers, each with its own processing. A search screen shows customer…
- What does this code print? python ops = [lambda x: x k for k in range(1, 4)] print([op(10) for op in ops])
- What does this code print (lines joined by ' / ')? python def tag(name): def deco(f): print(name) def w(): return f'<{name}>' + f() +…
- In this Observer code, handler a unsubscribes itself the first time it runs. What does it print (lines joined by ' / ')? python class Bus…
- A class gets its dependencies by calling ServiceLocator.get('Mailer') inside its methods, instead of receiving them through its…