#### Question Related To COCOMO Model-3

Company needs to develop a strategy for software product development for which it has a choice of two programming languages L1 and L2. The number of lines of code (LOC) developed using L2 is estimated to be twice the LOC developed with L1. the product will have to be maintained for five years. Various parameters for the company are given in the table below.

Total cost of the project includes cost of development and maintenance. What is the LOC for L1 for which the cost of the project using L1 is equal to the cost of the project using L2?

Solution:

Lets Suppose LOC for the L1 = X

Given that: The number of lines of code (LOC) developed using L2 is estimated to be twice the LOC developed with L1.

Then LOC for the L2 = 2X

WE know that:

Total cost of the project includes cost of development and maintenance. And the LOC for L1 for which the cost of the project using L1 is equal to the cost of the project using L2.

Development cost of L1 + Maintenance cost of L1  =  Development cost for L2 + Maintenance cost of L2

Development cost of L1 = (X / 10,000) * 1,00,0000

Maintenance cost of L1 = 5 * 1,00,000

Development cost of L2 = (2X / 10,000) * 7,00,000

Maintenance cost of L2 = 5 * 50,000

{(X / 10,000) * 10,00,000 + 5 * 1,00,000 }  =  { (2X / 10,000) * 7,50,000 + 5 * 50,000}

5X  =  2,50,000

X = 5,000

The LOC for L1 for which the cost of the project using L1 is equal to the cost of the project using L2 = 5,000.

View More COCOMO Related Numerical

View More Functional Points Related Numerical