0% found this document useful (0 votes)
81 views10 pages

1 472 COCOMO Exercise Chapter 3 PDF

The document discusses four COCOMO sub-models: [1] Post-Architecture model, [2] Application Composition model, [3] Early Design model, and [4] Reuse model. It provides examples of estimating person-months (PM) for software projects using the equations specific to each sub-model. It also includes six problems involving PERT diagrams and network diagrams for scheduling maintenance activities on a project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views10 pages

1 472 COCOMO Exercise Chapter 3 PDF

The document discusses four COCOMO sub-models: [1] Post-Architecture model, [2] Application Composition model, [3] Early Design model, and [4] Reuse model. It provides examples of estimating person-months (PM) for software projects using the equations specific to each sub-model. It also includes six problems involving PERT diagrams and network diagrams for scheduling maintenance activities on a project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

TUTORIAL-Exercises Software Project Management

COCOMO SUB MODEL EXERCISES

4 TYPES OF COCOMO SUB MODEL [from theory chapter-3]


1. POST ARCHITECTURE MODEL
1. The software project estimates the size of the code with 3 parameters.
a. an estimate of the total number of lines of new code is 7100 kloc.
b. an estimate of the reuse code calculated using reuse model is 2500 kloc.
c. an estimate of the lines that are likely to be modified is 3700 kloc.
The productivity multiplier is estimated to be 7.5. Using Post-Architecture
Cocomo sub-model Calculate the Person-month for the given project estimations.
Show the steps of calculating the exponent factor B.

The scaling factors are given below:

Scale factors Ratings Value

precedentedness Rated very low 5

Development Rated high 2


flexibility

Risk resolution Rated very low 5

Team cohesion Rated nominal 3

Process maturity Rated nominal 3

472-CS-[Ms. Reshma Parvez] Page 1


TUTORIAL-Exercises Software Project Management
Solution:

In Post Architecture model PM =


B
PM = A. Size * Multiplers

a. Where a = 2.94 constant value


b. Multiplier given = 7.5
c. Total Size of Project = SLOC + RLOC + MLOC =
7100+2500+3700 = 13300 kloc size
d. To Calculate B are 3 steps
x= (addition of all given project ratings) = (5+2+5+3+3) = 18
y = x/100 = 18/100 = 0.18
therefore B= y+1.10 = 0.18 + 1.10 = 1.28
B
PM = A. Size * Multiplers
1.28
= 2.94 * 13300 * 7.5 =

2. APPLICATION COMPOSITION MODEL


1. A project Estimates the number of applications points to be 770 and
reused code applied to be 65%. The developer productivity of the project is
1500.
a. Write name and PM equation of cocomo sub-model used for given data
values?
b. Determine the Person-Month using its PM equation
Solution:

a. Name of Sub model is Application Composition sub-model is used to evaluate

472-CS-[Ms. Reshma Parvez] Page 2


TUTORIAL-Exercises Software Project Management
b. Equation is PM = ( NAP´(1 - %reuse/100 ) ) / PROD
c. Determine the Person-Month using its PM equation.
PM = (770 (1- 65/100))/1500

PM = 0.179666
2. A project Estimates the number of applications points to be 350 and reused
code applied to be 35%. The developer productivity of the project is 3000.
Write name and PM equation of cocomo sub-model used for given data
values?
Solution:

Application Composition sub-model is used to evaluate

Equation is PM = ( NAP´(1 - %reuse/100 ) ) / PROD

Determine the Person-Month using its PM equation.


PM = (350 (1- 35/100))/3000
PM = 0.075833

3. EARLY DESIGN MODEL


Find the Person-Month estimation for the given Project Size in kloc to
be 7000 and the Multipliers Attributes are estimated to be 1.01,1.03,
2.001, 1.007, 2.3, 1.9. 1.11
a. Which Model do you use to estimate the above Person-Month
b. What is the Value of person-month
c. Give reason why you choose this model for the above estimations

472-CS-[Ms. Reshma Parvez] Page 3


TUTORIAL-Exercises Software Project Management
Solution:

Since the 7 Multipliers project process attributes values are estimated


the suitable cocomo model would be EARLY-DESIGN MODEL
Multiplers = (1.01 * 1.03 * 2.001 * 1.007* 2.3* 1.9* 1.11)
Product of all process attributes = 10.16809
b
PM = a. Size * Multiplers

Where Constants A=2.94 and B=(1.24 – 1.1)


0.14
Therefore PM = 2.94 * 7000 * 10.16809 =
4. REUSE MODEL
The Software Application developed estimated that the number of lines
generated are 9100 kloc and 27% of automatic generated code was
integrated with the coding. The Productivity of the integrated code was
found to be 200. Find the Person-Month using suitable Cocomo sub
model
PM = (ASLOC * AT/100)/ATPROD
ASLOC is the number of lines of generated code

AT is the percentage of code automatically generated. ATPROD is the productivity.

PM = ((9100 * 27/100)) / 200)

472-CS-[Ms. Reshma Parvez] Page 4


TUTORIAL-Exercises Software Project Management

Problem-1
For the following PERT diagram write the Table of tasks, durations and
precedence’s and find how many paths would be obtained from node 1
to node 8 and which is the critical path among this ?(without any slack
time).

Problem-2
Listed in the Tables are activities and sequencing necessary in maintenance job for
the heat exchanging project. Draw the Network diagram of a activities for the
project. Use dummy task when necessary.

472-CS-[Ms. Reshma Parvez] Page 5


TUTORIAL-Exercises Software Project Management

Problem-3

472-CS-[Ms. Reshma Parvez] Page 6


TUTORIAL-Exercises Software Project Management

Problem-4

472-CS-[Ms. Reshma Parvez] Page 7


TUTORIAL-Exercises Software Project Management

472-CS-[Ms. Reshma Parvez] Page 8


TUTORIAL-Exercises Software Project Management
Problem-6

472-CS-[Ms. Reshma Parvez] Page 9


TUTORIAL-Exercises Software Project Management

472-CS-[Ms. Reshma Parvez] Page 10

You might also like