Question Bank - General Aptitude

Here's the question bank on all the general aptitude topics.

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 take s100 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 of

A.
13 programmers
B.
10 programmers
C.
8 programmers
D.
100/13 programmers

Solution:

ExplanationAt first, 100% work can be done in 100 days means 1% work in a man day.Now, writing the code in assembly language is 10 times harder means 10 times more time consuming. Also converting existing code from C++ is 4 times easier, that is, less time-consuming.? Considering the overall scenario, we can say 100% work can be done in:100 ×\(\frac{10}{4}\) = 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 it is given that 13 days to complete so 101.5 ÷ 13 = 8 programmer we need.Therefore the correct answer is option 3.

For more questions,

Click Here

Download Gyanm App

free current affairs for competitive exams

Scan QR code to download our App for
more exam-oriented questions

free current affairs for competitive exams

OR
To get link to download app

Thank you! Your submission has been received. You will get the pdf soon. Call us if you have any question: 9117343434
Oops! Something went wrong while submitting the form.