Open In App

ISRO | ISRO CS 2018 | Question 28

Like Article
Like
Save
Share
Report

In a particular program, it is found that 1% of the code accounts 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 consists

(A)

13 programmers

(B)

10 programmers

(C)

8 programmers

(D)

100/13 programmers



Answer: (C)

Explanation:

The 1% of the code that is rewritten in assembly language accounts for 50% of the execution time. This means that rewriting this code saves a significant amount of time. In fact, it saves enough time to offset the extra time it takes to write the code in assembly language in the first place.

As a result, the team is able to complete the project in 13 days with only one person.

However, the question asks for the number of programmers needed if the project needs to be completed in 13 days. To answer this question, we need to divide the total time (104 man-days) by the number of days available (13 days). 

This gives us:

104 man-days / 13 days = 8 programmers

Therefore, the team would need 8 programmers to complete the project in 13 days.


Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 03 Jul, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads