Pblms References 4
Pblms References 4
COCOMO model. The project has a total of 10,000 lines of code (LOC). Given the following
parameters:
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:
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:
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:
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:
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:
Solution: Step 1: Calculate the estimated cost: Estimated Cost = UFP * Average cost per
function point = 150 * $1000 = $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:
Solution: Step 1: Calculate the effort (E) using the COCOMO model: E = A * (LOC^D) *
EAF
EAF = RELY * DATA * CPLX * RUSE * DOCU * TIME = 1.10 * 1.20 * 1.30 * 1.07 * 1.15
* 1.40 ≈ 2.7975