Professional Documents
Culture Documents
Experiment No 12
Estimate cost of the project using COCOMO (Constructive Cost Model) / COCOMO II approach for the
assigned project.
I Practical Significance
COCOMO (Constructive Cost Model) is a regression model based on LOC, i.e number of Lines
of Code. It is a procedural cost estimate model for software projects and often used as a process of
reliably predicting the various parameters associated with making a project such as size, effort, cost,
time and quality. It was proposed by Barry Boehm in 1970 and is based on the study of 63 projects,
which make it one of the best-documented models.
According to Boehm, software cost estimation should be done through three stages: Basic
COCOMO, Intermediate COCOMO, and Complete COCOMO. Each of the models initially estimates
efforts based on the total estimated KLOC.
Calculate the size of the project using COCOMO approach for the assigned project.
V Practical Skills
Deeper understanding of various measures is used in project size estimation.
There are also different "flavors" of COCOMO in use for business estimates. For example, in a model
known as "detailed COCOMO," a step-by-step process includes attention to planning and requirements,
system design, detail design, module code and testing, integration and testing, and estimation. In
general, COCOMO provides a helpful framework to try to determine the cost and scope of a software
project.
The key parameters which define the quality of any software products, which are also an
outcome of the Cocomo are primarily Effort & Schedule:
Effort: Amount of labor that will be required to complete a task. It is measured in person-months units.
Schedule: Simply means the amount of time required for the completion of the job, which is, of course,
proportional to the effort put. It is measured in the units of time such as weeks, months.
COCOMO (Constructive Cost Model) was proposed by Boehm. According to him, there could be three
categories of software projects: organic, semidetached, and embedded. The classification is done
considering the characteristics of the software, the development team and environment. These product
classes typically correspond to application, utility and system programs, respectively. Data processing
programs could be considered as application programs. Compilers, linkers, are examples of utility
programs. Operating systems, real-time system programs are examples of system programs. One could
easily apprehend that it would take much more time and effort to develop an OS than an attendance
management system.
The concept of organic, semidetached, and embedded systems are described below.
Organic: A development project is said to be of organic type, if The project deals with developing a well
understood application The development team is small. The team members have prior experience in
working with similar types of projects.
Semidetached: A development project can be categorized as semidetached type, if The team consists of
some experienced as well as inexperienced staff Team members may have some experience on the type
of system to be developed.
Embedded: Embedded type of development project are those, which Aims to develop a software
strongly related to machine hardware Team size is usually large.
Boehm suggested that estimation of project parameters should be done through three stages: Basic
COCOMO, Intermediate COCOMO, and Complete COCOMO.
Any Desktop PC
1 Computer System with attached 10 No. Whichever is available
HardDisk
http://csse.usc.edu/tools/cocomoii.php or
http://csse.usc.edu/csse/research/COCOMOII/cocomo2000.0/CII2000.exe use for COCOMO II -
Constructive Cost Model.
VIII Procedure
a. Read the exercise enclosed scenario. This scenario describes the software product you are
estimating, your work setting and much of the pertinent information required for
establishing the model parameters.
b. You should initially set the parameters based solely on the information provided in the
scenario. In cases where the scenario description provides no direct information regarding a
particular factor, you should assume that the nominal setting is appropriate. However, after
you have completed the exercise described below, you are encouraged to adjust other
factors based on your experience or curiosity. You will then be in a position to observe their
impact on effort and schedule.
IX Precautions
X Description
Basic Model –
E = a * (KLOC)b
D= c*(E)d
P=E/D
Where,
The above formula is used for the cost estimation of for the basic COCOMO model, and also is used in
the subsequent models. The constant values a and b for the Basic Model for the different categories of
system:
Intermediate Model –
D= c*(E)d
P=E/D
Where,
Detailed Model –
Detailed COCOMO incorporates all characteristics of the intermediate version with an assessment of the
cost driver’s impact on each step of the software engineering process.
1. Effort
2. Development Time
4. Productivity
2. Use COCOMO Model for organic, Semidetached, embedded mode to calculate effort and
development time for size of project 600 KLOC.