0% found this document useful (0 votes)
84 views2 pages

Cocomo Constructive Cost Model: Software Cost Estimation Model Barry W. Boehm Regression

The Constructive Cost Model (COCOMO) is a software cost estimation model that uses a basic regression formula with parameters derived from historical project data and current/future characteristics. It estimates effort, development time, staff size, and productivity for a project based on inputted function points. The example program demonstrates calculating these metrics for a project in organic, semidetached, and embedded modes using COCOMO.

Uploaded by

Sumedh Hedaoo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views2 pages

Cocomo Constructive Cost Model: Software Cost Estimation Model Barry W. Boehm Regression

The Constructive Cost Model (COCOMO) is a software cost estimation model that uses a basic regression formula with parameters derived from historical project data and current/future characteristics. It estimates effort, development time, staff size, and productivity for a project based on inputted function points. The example program demonstrates calculating these metrics for a project in organic, semidetached, and embedded modes using COCOMO.

Uploaded by

Sumedh Hedaoo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

COCOMO

CONSTRUCTIVE COST MODEL


The Constructive Cost Model (COCOMO) is an algorithmic software cost
estimation model developed by Barry W. Boehm. The model uses a
basic regression formula with parameters that are derived from historical
project data and current as well as future project characteristics.
BASIC COCOMO MODEL:-

#include<stdio.h>
#include<conio.h>
#include<math.h>
int i,ss[3];
float kloc,fp,E[3],D[3],P[3];
float a[3] = { 2.4, 3.0, 3.6 };
float b[3] = { 1.05, 1.12, 1.20 };
float c[3] = { 2.5, 2.5, 2.5 };
float d[3] = { 0.38, 0.35, 0.32 };
void calc(int i)
{
E[i] = a[i]*(pow(kloc,b[i]));
D[i] = c[i]*(pow(E[i],d[i]));
ss[i] = E[i] / D[i];P[i] = kloc / E[i];
printf("\n\tEffort, E = %f PM",E[i]);
printf("\n\tDevelopment Time, D = %f M",D[i]);
printf("\n\tStaff Size, SS= %d Persons",ss[i]);
printf("\n\tProductivity, P = %f KLOC/PM",P[i]);
}
void main()
{
clrscr();
printf("\nEnter the number of Function Points : ");
scanf("%f",&fp);
printf("\n\nMultiplication factor for 'C' is 128 LOC/FP.");
kloc = (fp*128.00)/1000.00;
printf("\n\nKLOC = %f",kloc);
printf("\n\nESTIMATIONS FOR BASIC COCOMO ARE :")
printf("\n\nFor Organic Mode :");
calc(0);
printf("\n\nFor Semidetatched Mode :");
calc(1);
printf("\n\nFor Embedded Mode :");
calc(2);
getch();
}

RESULT AFTER COMPILATION:-

OUTPUT:-

You might also like