3 Cost Estimation And Modeling

Software Project Management · Unit 3

Cost Estimation and Modeling

Exam-focused notes for Cost Estimation and Modeling (Software Project Management, BIT402): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.

Cost Estimation and Modeling in short

Cost estimation predicts the effort, time and money a software project will need. Good estimates let managers plan staff, set prices and decide whether a project is worth doing.

Cost Estimation and Modeling: notes

Cost estimation definition and necessity

Software cost estimation is the process of predicting the effort (in person-months), the duration and the cost needed to build a software product. Effort is the main part, because most software cost is the pay of the people.

Why estimation is necessary:

  • To decide whether the project is feasible and worth the money.
  • To prepare a budget and set a fair price or bid.
  • To make a schedule and plan staff and other resources.
  • To control the project by comparing actual cost with the estimate.
  • To compare options, such as buying or building a component.
  • To manage risk, because large gaps between estimate and actual cost cause failure.

Estimates are uncertain at the start and improve as the project learns more. This is called the cone of uncertainty. Estimates should be revised at each stage.

COCOMO II model and stages

COCOMO II (Constructive Cost Model II) is an algorithmic model by Barry Boehm. It estimates effort and schedule from the size of the software and from many project factors. It is built for modern development with reuse, prototyping and iteration. Size is measured in thousands of source lines (KSLOC), function points or object points.

What this unit covers

  • Cost estimation definition and necessity
  • COCOMO II model and stages
  • Post architecture effort multipliers
  • Estimation by analogy
  • Estimation models overview

COCOMO II model and stages

2082 · 10 marks

Why estimation has to be carried out? Describe different stages of COCOMO II model.[10]

Estimation is a critical activity in software project management for the following reasons: 1. Project Planning & Scheduling - Determines realistic timelines and milestones - Helps allocate resources effectively across project phases - Enables creation of feasible project schedules 2. Cost Manage...

Open this answer on its own page →

2080 · 10 marks

What is cost estimation? Explain COCOMO II with respect to post architecture effort multipliers. List its advantages.[10]

Cost estimation is the process of predicting the total cost required to develop a software project. It involves forecasting the resources (labor, time, tools, infrastructure) needed to complete a software development project within defined scope and quality parameters. Accurate cost estimation is...

Open this answer on its own page →

Estimation models overview

2082 · 5 marks

List estimation models. Explain estimation by analogy with example. [5]

Show solved answer

Estimation Models - Model Answer

List of Estimation Models

The main estimation models used in software project estimation are:

  1. Algorithmic/Parametric Models

    • COCOMO (Constructive Cost Model)
    • SLIM (Software Lifecycle Management)
    • Function Point Analysis
  2. Expert Judgment Models

    • Delphi Technique
    • Planning Poker
    • Expert Opinion
  3. Analogy-Based Models

    • Estimation by Analogy
    • Case-Based Reasoning
  4. Machine Learning Models

    • Neural Networks
    • Regression Analysis
  5. Hybrid Models

    • Combination of multiple approaches

Estimation by Analogy - Explanation with Example

Definition

Estimation by analogy is a technique where project effort/cost is estimated by comparing the current project with similar completed projects from historical data. The estimation is based on the assumption that similar projects will require similar effort and resources.

Process

  1. Identify completed projects with similar characteristics
  2. Find the closest match(es) from historical records
  3. Adjust estimates based on differences between current and past projects
  4. Use the adjusted values as estimates for the current project

Example

Scenario: Estimating effort for a new e-commerce website project.

Historical Project (Completed):

  • Similar e-commerce website built 6 months ago
  • Size: 50,000 lines of code
  • Team: 5 developers
  • Effort: 2,000 person-hours
  • Duration: 4 months

Current Project:

  • New e-commerce website
  • Estimated Size: 60,000 lines of code (20% larger)
  • Similar technology stack
  • Similar complexity

Estimation:

  • Base estimate from analogy: 2,000 person-hours
  • Adjustment factor for 20% larger size: 1.2
  • Estimated effort = 2,000 × 1.2 = 2,400 person-hours
  • Estimated duration ≈ 4.8 months (approximately 5 months)

Advantages

  • Simple and intuitive
  • Based on real project data
  • Quick estimation process

Limitations

  • Requires good historical data
  • Difficult to find truly similar projects
  • Subjective adjustment factors
Open this answer on its own page →

0 · 10 marks

Explain any one cost estimation technique with required equations.[10]

The COCOMO (Constructive Cost Model) is one of the most widely used cost estimation techniques in software project management. It provides a systematic approach to estimate project costs, effort, and schedule based on the size of the software project. COCOMO estimates the effort required to devel...

Open this answer on its own page →

Cost estimation definition and necessity

2081 · 10 marks

Why do you think effort estimation is required? Explain any one cost estimation model.[10]

Effort estimation is a critical activity in software project management for the following reasons: 1. Project Planning and Scheduling - Determines how much work (in person-hours or person-months) is needed to complete the project - Helps create realistic project timelines and milestones - Enables...

Open this answer on its own page →