recategorized
4,870 views
2 votes
2 votes

In a particular program, it is found that $1$% of the code account for $50$% of the execution time. To code a program in C++, it takes $100$ man-days. Coding in assembly language is $10$ times harder than coding in C++, but runs $5$ times faster. Converting an existing C++ program into an assembly language program is $4$ times faster.

To completely write the program in C++ and rewrite the $1$% code in assembly language, if a project team needs 13 days, the team consist of

  1. $13$ programmers
  2. $10$ programmers
  3. $8$ programmers
  4. $100/13$ programmers
recategorized

1 Answer

4 votes
4 votes
see at first 100% work can be done in 100 days means 1% work in a man day.

now writing code in assembly language is 10 times harder means 10 times more time consuming.

also converting existing code form c++ is 4 times easier i.e less time consuming so overall by this scenario we can say 100% work can be done in 100*10/4 man days = 250 days.

So, 1% work will be done in 2.5 days.

NOW,99% work in C++ + 1% rewriting code will take = 99*1 + 1*2.5= 101.5 man days.

but we are given 13 days to complete so 101.5/13 = 8 programmer we need.

Ans-C
Answer:

Related questions

2 votes
2 votes
1 answer
1
Arjun asked Apr 22, 2018
2,369 views
In unit testing of a module, it is found that for a set of test data, at the maximum $90$% of the code alone were tested with the probability of success $0.9$. The reliab...
1 votes
1 votes
2 answers
2
Arjun asked Apr 22, 2018
5,255 views
The Functions Point (FP) metric isCalculated from user requirementCalculated from lines of codeCalculated from software complexity assessmentNone of the above
0 votes
0 votes
2 answers
3
Arjun asked Apr 22, 2018
10,667 views
The lower degree of cohesion is kind of:Logical CohesionCoincidental CohesionProcedural CohesionCommunicational Cohesion
3 votes
3 votes
1 answer
4