GATE | GATE CS 2011 | Question 65
A 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 Ll. The product will have to be maintained for five years. Various parameters for the company are given in the table below.
|Parameter||Language L1||Language L2|
|Man years needed for development||LOC/10000||LOC/10000|
|Development cost per man year||Rs. 10,00,000||Rs. 7,50,000|
|Maintenance time||5 years||5 years|
|Cost of maintenance per year||Rs. 1,00,000||Rs. 50,000|
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?
Explanation: Let LOC of L1=x, so LOC of L2=2x
(x/10000)*1000000 + 5*100000 = (2x/10000)*750000 + 5*50000
Solving for x, we get x =5000