Software Configuration Management (SCM)
Software Maintenance & Project Management
1. Definition of Cost Estimation
Software Cost
Estimation is the process of predicting the total cost, effort, time, and
resources required to develop a software project.
It helps project
managers prepare budgets, allocate resources, and complete software projects
within the estimated cost.
Example: If a college
management system requires developers, computers, software tools, and testing,
cost estimation calculates the total expected expenditure.
2.
Objectives of Cost Estimation
1.
To
estimate the total project cost.
2.
To
calculate the required development effort.
3.
To
estimate project completion time.
4.
To
allocate resources effectively.
5.
To
prepare a project budget.
6.
To
avoid unnecessary expenses.
7.
To
support project planning and management.
3.
Factors Affecting Software Cost Estimation
1.
Software
Size: Larger software
generally requires more time and money.
2.
Project
Complexity:
Complex projects require skilled developers.
3.
Human
Resources:
Number and experience of developers.
4.
Technology: Tools, programming languages, and
platforms used.
5.
Project
Duration: Longer projects
may increase costs.
6.
Maintenance: Future updates and corrections also
involve expenses.
4.
Software Cost Estimation Techniques
1.
Expert Judgement
- Experienced
software developers estimate the project cost.
- Based on
their knowledge and previous experience.
2.
Estimation by Analogy
- Estimates
cost by comparing the current project with similar completed projects.
- Example:
Comparing a new banking application with an existing banking application.
3.
Top-Down Estimation
- Estimates
the total cost of the entire project first.
- Then divides
the cost among different activities.
4.
Bottom-Up Estimation
- Estimates
the cost of each individual activity.
- Adds all
activity costs to calculate the total project cost.
5.
COCOMO Model
COCOMO stands for
Constructive Cost Model.
It is a software
cost estimation model developed by Barry Boehm. It is used to estimate the
effort, development time, and cost of software projects based on software size.
5.
COCOMO Model
There are three
types of COCOMO models:
1.
Basic
COCOMO: Estimates
software development effort based on program size (KLOC).
2.
Intermediate
COCOMO: Considers
program size and other cost factors.
3.
Detailed
COCOMO: Considers
different cost factors for individual development phases.
Basic
COCOMO Formula
Effort:
\[ E=a(KLOC)^b \]
Development Time:
\[ D=c(E)^d \]
Where:
- E = Effort
in person-months.
- D =
Development time in months.
- KLOC =
Thousand Lines of Code.
- a, b, c, d =
Constants depending on project type.
Types
of COCOMO Projects
|
Project Type |
Description |
|
Organic |
Small and
relatively simple projects. |
|
Semi-detached |
Medium-sized
projects with moderate complexity. |
|
Embedded |
Complex
projects with strict hardware or software constraints. |
6. Advantages of Cost Estimation
1.
Helps
prepare the project budget.
2.
Reduces
unnecessary expenses.
3.
Improves
project planning.
4.
Helps
allocate resources.
5.
Supports
decision-making.
6.
Reduces
financial risks.
7.
Helps
complete projects within budget.
7.
Difference Between Top-Down and Bottom-Up Estimation
|
Top-Down Estimation |
Bottom-Up Estimation |
|
Estimates total
project cost first. |
Estimates
individual activity costs first. |
|
Divides total
cost among activities. |
Adds individual
costs to get total cost. |
|
Requires less
detailed information initially. |
Requires
detailed task information. |
|
Useful during
early planning. |
Useful when
project details are available. |
8.
Important Examination Questions
(High priority)
2 Marks Questions
1.
Define
Software Cost Estimation.
2.
What
is COCOMO?
3.
Define
KLOC.
4.
What
is Expert Judgement?
5.
What
is Top-Down Estimation?
6.
What
is Bottom-Up Estimation?
7.
Name
the three types of COCOMO projects.
5–10 Marks
Questions
1.
Define
Software Cost Estimation and explain its objectives.
2.
Explain
the factors affecting software cost estimation.
3.
Explain
different software cost estimation techniques.
4.
Explain
the COCOMO model and its types.
5.
Differentiate
between Top-Down and Bottom-Up Estimation.
6.
Explain
Basic COCOMO with formulas and examples.
9.
Quick Revision
Important
Concepts to Remember
1.
Cost Estimation – Predicting
total project cost.
2.
Expert Judgement – Estimation
using experience.
3.
Top-Down – Total cost first.
4.
Bottom-Up – Individual costs first.
5.
COCOMO – Constructive Cost Model.
6.
KLOC – Thousand Lines of Code.
Introduction to Agile Development.
. Definition of Agile Development
Agile Development
is a software development approach in which software is developed through
small, repeated cycles called iterations or sprints.
It focuses on
customer satisfaction, teamwork, continuous feedback, and quick delivery of
working software.
Example: When developing
a college management system, developers first create the student registration
module, then the attendance module, and finally the examination module.
2. Principles of Agile Development
Agile development
is based on the Agile Manifesto, which contains four core values and twelve
principles.
Four
Core Values of Agile
1.
Individuals
and Interactions:
People and communication are more important than processes and tools.
2.
Working
Software: Working software
is more important than extensive documentation.
3.
Customer
Collaboration:
Customer participation is important throughout development.
4.
Responding
to Change:
Agile welcomes changing requirements.
3.
Characteristics of Agile Development
1.
Iterative
and incremental development.
2.
Continuous
customer involvement.
3.
Frequent
software delivery.
4.
Flexible
development process.
5.
Team
collaboration.
6.
Continuous
testing.
7.
Quick
response to changing requirements.
4.
Agile Development Process
The major steps
are:
1.
Requirement Gathering
Collecting
customer requirements and understanding project needs.
2.
Planning
Preparing the
project plan and dividing work into smaller tasks.
3.
Design
Creating the
software architecture and user interface.
4.
Development
Writing program
code to develop software features.
5.
Testing
Testing the
software to identify and correct errors.
6.
Deployment
Delivering the
working software to users.
7.
Feedback
Collecting
customer feedback and making improvements in the next iteration.
5.
Agile Development Methodologies
There are several
methodologies used in Agile development.
1. Scrum
Scrum is an Agile
framework in which software development is divided into short periods called
sprints, usually lasting 1–4 weeks.
2. Extreme
Programming (XP)
XP focuses on
improving software quality through frequent releases, pair programming, and
continuous testing.
3. Kanban
Kanban is a
visual method of managing work using columns such as To Do, In Progress, and
Done.
4. Lean Software
Development
Lean focuses on
reducing waste, improving efficiency, and delivering maximum customer value.
6.
Advantages of Agile Development
1.
Faster
software delivery.
2.
Better
customer satisfaction.
3.
Easy
adaptation to changing requirements.
4.
Improved
software quality.
5.
Better
communication among team members.
6.
Continuous
testing and feedback.
7.
Reduced
development risks.
7.
Disadvantages of Agile Development
1.
Requires
continuous customer involvement.
2.
Difficult
to predict the total project cost initially.
3.
Requires
experienced team members.
4.
Frequent
changes may affect project planning.
5.
Less
emphasis on detailed documentation can create difficulties.
8.
Difference Between Agile and Waterfall Models
|
Agile Model |
Waterfall Model |
|
Iterative
development approach. |
Sequential
development approach. |
|
Flexible
requirements. |
Requirements
are usually fixed initially. |
|
Continuous
customer involvement. |
Customer
involvement is generally higher at the beginning and review stages. |
|
Testing occurs
throughout development. |
Testing
generally follows the development phase. |
|
Working
software is delivered frequently. |
Software is
generally delivered after major phases are completed. |
|
Changes are
easier to accommodate. |
Changes can be
difficult and costly. |
9.
Important Examination Questions
(High priority)
2 Marks Questions
1.
Define
Agile Development.
2.
What
is an iteration?
3.
What
is a sprint?
4.
Define
Scrum.
5.
What
is Extreme Programming?
6.
What
is Kanban?
7.
What
is the Agile Manifesto?
5–10 Marks
Questions
1.
Define
Agile Development and explain its characteristics.
2.
Explain
the four core values of the Agile Manifesto.
3.
Explain
the Agile Development process with a diagram.
4.
Discuss
the advantages and disadvantages of Agile Development.
5.
Explain
different Agile methodologies.
6.
Differentiate
between Agile and Waterfall models.
10.
Quick Revision
Important
Agile Concepts
1.
Agile – Flexible software development
approach.
2.
Iteration – Repeated development cycle.
3.
Sprint – Short, fixed development period in
Scrum.
4.
Scrum – Agile project management framework.
5.
XP – Extreme Programming.
6.
Kanban – Visual workflow management method.
7.
Agile
Manifesto – Four core
values and twelve principles.