CS FundamentalsModerateInfosys · Capgemini

A function-point estimate and a COCOMO estimate for the same project differ widely. Which statement best explains why function points are often preferred early in the lifecycle?

  1. A. Function points measure code quality directly
  2. B. Function points can be counted from requirements before any code exists and are language-independent, whereas COCOMO needs a KLOC estimate
  3. C. Function points give effort in person-months without any productivity data
  4. D. COCOMO cannot be used for business applications

Correct answer: B. Function points can be counted from requirements before any code exists and are language-independent, whereas COCOMO needs a KLOC estimate

FP counts inputs, outputs, inquiries and files from the specification, so it works before design and code; KLOC must itself be guessed. FP still needs a productivity rate or a conversion to effort.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic