Thank you 12 A program is 30 add instructions We speed up ad
Thank you
12. 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 previously= 10seconds
Add instructions time previously= 30%=0.3*10=3 seconds
Currently speedup of add instructions=50%
So current time for add instructions execution= 3seconds - 50% of 3seconds=3-1.5=1.5seconds
Current total time for execution of all instructions= previous total time - 1.5seconds=10-1.5=8.5 seconds
