CS FundamentalsVery hardProduct company interview · GATE level

A system is estimated at 300 function points, and the chosen language averages 53 lines of code per function point. Using basic COCOMO for an organic project (Effort = 2.4 x KLOC^1.05 person-months, Time = 2.5 x Effort^0.38 months), what are the effort, the schedule and the average team size?

  1. A. About 44 PM, 4.2 months, 10.5 people
  2. B. About 38 PM, 10.0 months, 3.8 people
  3. C. About 44 PM, 10.5 months, 462 people
  4. D. About 44 PM, 10.5 months, 4.2 people

Correct answer: D. About 44 PM, 10.5 months, 4.2 people

Size = 300 x 53 = 15,900 LOC = 15.9 KLOC. Effort = 2.4 x 15.9^1.05 = 2.4 x 18.3 = about 44 PM. Time = 2.5 x 44^0.38 = 2.5 x 4.2 = about 10.5 months. Staff = 44/10.5 = about 4.2 people. Swapping the last two figures (4.2 months, 10.5 people) is the usual slip; 38 PM drops the exponent (2.4 x 15.9). Note that the formula takes KLOC: feeding in 15,900 would give an absurd 60,000+ PM.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic