The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+6 votes

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 lines of code (LOC) developed using L2 is estimated to be twice of 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.

Parameter Language L1 Language L2
Man years needed for development LOC/10000 LOC/10000
Development Cost per man year र 10, 00, 000  7, 50, 000
Maintenance Time 5 years 5 years
Cost of maintenance per year  1,00,000  50, 000

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

  1. 4000
  2. 5000
  3. 4333
  4. 4667
asked in IS&Software Engineering by Veteran (115k points)
retagged by | 2.9k views

2 Answers

+9 votes
Best answer
Answer: B

Let L1 = x and L2 = 2x

Then, (x*1000000)/10000 + 5*100000 = (2x*750000)/10000 + 5*50000
=> x*100 + 5*100000 = 2x*75 + 5*50000
=> 50x = 250000
=> x = 5000
answered by Boss (34.1k points)
In which section of software engineering can I find this formula?
+2 votes
answered by Loyal (5.3k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
47,903 questions
52,285 answers
67,715 users