0% found this document useful (0 votes)
3 views

Pblms References 4

The document provides multiple software project estimations using the COCOMO model and Function Point Analysis. It includes calculations for estimated effort, schedule, and cost for projects with varying lines of code and project types, as well as the total unadjusted function points for different projects. The estimates are based on specific parameters and scaling factors, highlighting the importance of accurate data for reliable project cost estimations.

Uploaded by

kabishna89
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)
3 views

Pblms References 4

The document provides multiple software project estimations using the COCOMO model and Function Point Analysis. It includes calculations for estimated effort, schedule, and cost for projects with varying lines of code and project types, as well as the total unadjusted function points for different projects. The estimates are based on specific parameters and scaling factors, highlighting the importance of accurate data for reliable project cost estimations.

Uploaded by

kabishna89
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/ 4

Problem: You are estimating the effort required to develop a software project using the

COCOMO model. The project has a total of 10,000 lines of code (LOC). Given the following
parameters:

 Organic project type


 A = 2.4 (scaling factor for effort estimation)
 B = 1.05 (scaling factor for schedule estimation)
 C = 2.5 (scaling factor for cost estimation)
 D = 0.38 (exponent for LOC estimation)
 EAF (Effort Adjustment Factor) = 1.2

Calculate the estimated effort, schedule, and cost for the project.

Solution: Step 1: Calculate the effort (E): E = A * (LOC^D) * EAF = 2.4 * (10,000^0.38) *
1.2 = 2.4 * 47.431 * 1.2 ≈ 136.458 person-months

Step 2: Calculate the schedule (S): S = B * (E^D) = 1.05 * (136.458^0.38) = 1.05 * 4.558 ≈
4.786 months

Step 3: Calculate the cost (C): C = E * C = 136.458 * 2.5 ≈ $341.145 (assuming the cost is in
dollars)

Therefore, the estimated effort for the project is approximately 136.458 person-months, the
estimated schedule is around 4.786 months, and the estimated cost is approximately
$341,145.

Problem: You are estimating the effort, schedule, and cost for a software project using the
COCOMO model. The project has a total of 50,000 lines of code (LOC). The project type is
"Semi-detached." Given the following parameters:

 A = 3.0 (scaling factor for effort estimation)


 B = 1.12 (scaling factor for schedule estimation)
 C = 2.8 (scaling factor for cost estimation)
 D = 0.35 (exponent for LOC estimation)
 EAF (Effort Adjustment Factor) = 1.1

Calculate the estimated effort, schedule, and cost for the project.

Solution: Step 1: Calculate the effort (E): E = A * (LOC^D) * EAF = 3.0 * (50,000^0.35) *
1.1 = 3.0 * 54.733 * 1.1 ≈ 179.145 person-months

Step 2: Calculate the schedule (S): S = B * (E^D) = 1.12 * (179.145^0.35) = 1.12 * 6.125 ≈
6.87 months

Step 3: Calculate the cost (C): C = E * C = 179.145 * 2.8 ≈ $501.426 (assuming the cost is in
dollars)
Therefore, the estimated effort for the project is approximately 179.145 person-months, the
estimated schedule is around 6.87 months, and the estimated cost is approximately $501,426.

Remember, these estimates are based on the COCOMO model, and their accuracy depends
on the specific characteristics of the project and the availability of accurate data.

Problem: You have been given the following information for a software project:

 Number of external inputs (EI): 8


 Number of external outputs (EO): 6
 Number of external inquiries (EQ): 4
 Number of internal logical files (ILF): 5
 Number of external interface files (EIF): 3

Using the standard weighting factors for each type of function, calculate the total unadjusted
function points (UFP) for the project.

Solution: Step 1: Calculate the total UFP for each function type:

 External Inputs (EI): 8 * 4 = 32


 External Outputs (EO): 6 * 5 = 30
 External Inquiries (EQ): 4 * 4 = 16
 Internal Logical Files (ILF): 5 * 10 = 50
 External Interface Files (EIF): 3 * 7 = 21

Step 2: Calculate the total UFP by summing up the UFP for each function type: Total UFP =
EI + EO + EQ + ILF + EIF = 32 + 30 + 16 + 50 + 21 = 149

Therefore, the total unadjusted function points (UFP) for the project is 149.

Problem: You have been given the following information for a software project:

 Number of external inputs (EI): 4


 Number of external outputs (EO): 3
 Number of external inquiries (EQ): 2
 Number of internal logical files (ILF): 6
 Number of external interface files (EIF): 2

Using the standard weighting factors for each type of function, calculate the total unadjusted
function points (UFP) for the project.

Solution: Step 1: Calculate the total UFP for each function type:
 External Inputs (EI): 4 * 4 = 16
 External Outputs (EO): 3 * 5 = 15
 External Inquiries (EQ): 2 * 4 = 8
 Internal Logical Files (ILF): 6 * 10 = 60
 External Interface Files (EIF): 2 * 7 = 14

Step 2: Calculate the total UFP by summing up the UFP for each function type: Total UFP =
EI + EO + EQ + ILF + EIF = 16 + 15 + 8 + 60 + 14 = 113

Therefore, the total unadjusted function points (UFP) for the project is 113.

Remember, this is a simplified example, and in a real-world scenario, additional factors and
adjustments may be considered to calculate the adjusted function points (AFP) and refine the
estimation further.

Problem: You are estimating the cost for a software project using the Function Point Analysis
(FPA) method. Given the following information:

 Total unadjusted function points (UFP): 150


 Average cost per function point: $1000

Calculate the estimated cost for the project.

Solution: Step 1: Calculate the estimated cost: Estimated Cost = UFP * Average cost per
function point = 150 * $1000 = $150,000

Therefore, the estimated cost for the project is $150,000.

Note: This is a simplified example and assumes a uniform average cost per function point. In
practice, additional factors such as complexity, team rates, overheads, and project-specific
considerations need to be taken into account for more accurate cost estimations.

Problem: You are estimating the cost for a software project using the COCOMO
(Constructive Cost Model) approach. Given the following information:

 Project type: Organic


 Total lines of code (LOC): 50,000
 Cost drivers:
o Required software reliability (RELY): High
o Data complexity (DATA): High
o Product complexity (CPLX): Very high
o Required reusability (RUSE): Nominal
o Documentation match to life cycle needs (DOCU): High
o Execution time constraint (TIME): Very high
 Cost driver values:
o RELY: 1.10
o DATA: 1.20
o CPLX: 1.30
o RUSE: 1.07
o DOCU: 1.15
o TIME: 1.40
 Effort multipliers:
o Productivity (PMAT): 1.25
o Personnel capability (PCAP): 0.85
o Team cohesion (TEAM): 0.90
 Average personnel cost per month: $8,000

Calculate the estimated cost for the project.

Solution: Step 1: Calculate the effort (E) using the COCOMO model: E = A * (LOC^D) *
EAF

For an organic project: A = 2.4, B = 1.05, C = 2.5, D = 0.38

EAF = RELY * DATA * CPLX * RUSE * DOCU * TIME = 1.10 * 1.20 * 1.30 * 1.07 * 1.15
* 1.40 ≈ 2.7975

You might also like