CS FundamentalsVery hardProduct company interview · GATE level

Basic COCOMO for a semi-detached project uses Effort = 3.0 x KLOC^1.12 person-months and Development time = 2.5 x Effort^0.35 months. For a 50 KLOC project, what are the effort, the development time and the average staffing?

  1. A. About 240 PM, 17.0 months, 14.1 people
  2. B. About 150 PM, 14.4 months, 10.4 people
  3. C. About 240 PM, 14.1 months, 17.0 people
  4. D. About 240 PM, 24.0 months, 10.0 people

Correct answer: A. About 240 PM, 17.0 months, 14.1 people

Effort = 3.0 x 50^1.12. 50^1.12 = e^(1.12 x ln 50) = e^(4.381) = about 79.9, so effort is about 240 person-months. Time = 2.5 x 240^0.35 = 2.5 x 6.81 = about 17.0 months. Average staff = effort / time = 240/17.0 = about 14.1 people. 150 PM ignores the exponent (3.0 x 50); 14.1 months and 17.0 people swaps the schedule and the staffing; 24 months assumes 10 people. Because time grows only as effort^0.35, doubling the size does not double the schedule.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic