Question #38066

If the entire program is written in FORTRAN, the percentage increase in the execution time, compared to writing the entire program in FORTRAN and rewriting the 1% in assembly language is
a) 0.9
b) 0.8
c) 8
d) 9

Expert's answer

Answer on Question#38066 - Math - Other

If the entire program is written in FORTRAN, the percentage increase in the execution time, compared to writing the entire program in FORTRAN and rewriting the 1% in assembly language is

a) 0.9

b) 0.8

c) 8

d) 9

Answer = B

Explanation: Let the first case takes 100 units of time to execute. Second case will take 99 +(1/5) units of time. As the 1% coding in assembly language will take 1/5 units of time. Hence the required percentage = 0.8*100/100 = 0.8.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS