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 the 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 |
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. 3000
Explanation
Let the size in L1 be x LOC, so the size in L2 is 3x LOC.Effort in L1 = x/1000 man-years, at Rs. 70,000 per man-year → development cost = 70x.
Effort in L2 = 3x/1000 man-years, at Rs. 90,000 per man-year → development cost = 270x.
Maintenance for 10 years: L1 = 10 × 1,00,000 = Rs. 10,00,000; L2 = 10 × 40,000 = Rs. 4,00,000.
Setting the totals equal: 70x + 10,00,000 = 270x + 4,00,000 ⇒ 6,00,000 = 200x ⇒ x = 3000 LOC, which is option 3.
More Database Management Systems questions
- A software project was estimated at 864 Function Points. A six-person team will be assigned to the project consisting of one requirement ga…
- Assume that a software system P is to be developed with the following parameters: Estimated size of the software: 33,480 LOC Productivity:…
- A software project was estimated at 352 Function Points (FP). A four person team will be assigned to this project consisting of a project m…
- A software company needs to develop a project that is estimated as 1000 function points and is planning to use JAVA as the programming lang…
- The functional requirements of a proposed system have been estimated as 500 function points. Assume that JAVA is the programming language w…
- If S1 is the total number of modules defined in the program architecture, and S3 is the number of modules whose correct function depends on…