A program is 30 add instructions We speed up add by 50 If th

A program is 30% add instructions. We speed up add by 50%. If the program previously took 10 seconds to run, how long will it take to run now?

Solution

Total time before= 10seconds

Add instructions time before= 30%=0.3*10=3 seconds

At present speedup of add instructions=50%

As a result current time for add instructions execution

                       = 3seconds - 50% of 3seconds

                       = 3-1.5

           = 1.5seconds

Present total time for execution of all instructions

                       = before total time - 1.5seconds

                       = 10-1.5=8.5 seconds

A program is 30% add instructions. We speed up add by 50%. If the program previously took 10 seconds to run, how long will it take to run now?SolutionTotal time

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site