A Company has a choice of two languages L1 and L2 to develop a software for their client. Number of LOC required to develop an application in L2, is thrice the LOC in language L1. Also, software has to be maintained for next 10 years. Various parameters for two languages. are given below to decide which language should be preferred for development. PARAMETER L1 L2 Man-year needed for development LOC/1000 LOC/1000 Development cost Rs. 70,000 Rs. 90,000 Cost of Maintenance per year Rs. 1,00,000 Rs. 40,000   Total cost of project include cost of development and maintenance. What is the LOC for L1 for which cost of developing the software with both languages must be same ?

A Company has a choice of two languages L1 and L2 to develop a software for their client. Number of LOC required to develop an application in L2, is thrice the LOC in language L1. Also, software has to be maintained for next 10 years. Various parameters for two languages. are given below to decide which language should be preferred for development. PARAMETER L1 L2 Man-year needed for development LOC/1000 LOC/1000 Development cost Rs. 70,000 Rs. 90,000 Cost of Maintenance per year Rs. 1,00,000 Rs. 40,000   Total cost of project include cost of development and maintenance. What is the LOC for L1 for which cost of developing the software with both languages must be same ? Correct Answer 3000

The correct answer is option 3

Formula:

The total cost of the project = Total development cost + Total maintenance cost

Calculation:

Let p1 be the LOC using L1 and p2 be the LOC using L2.

Total cost of the project using L1 = (p1/1000) x 70,000 + (10 x 1,00,000) = 70p1 + 10,00,000

Total cost of the project using L2 = (p2/1000) x 90,000 + (10 x 40,000) = 90p2 + 4,00,000

Given that p2 = 3xp1

=>70p1 + 10,00,000 = 90p2 + 4,00,000

=>70p1 + 10,00,000 = 270p1 + 4,00,000

=> 200p1 = 6,00,000

=> p1 = 3000

Related Questions