Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A computer designer wants to test the Amdahl’s law and she finds out that a prog

ID: 3861748 • Letter: A

Question

A computer designer wants to test the Amdahl’s law and she finds out that a program executes on the Alpha Computer in 10 seconds. This particular program performs both floating point and integer operations. The integer operations make up 30% of the total execution time of the program (70% for F.P. operation) on the Alpha Computer. A computer designer wants to develop a new faster machine called Beta machine with improved integer hardware. By what amount (n) does the Beta machine need to improve the integer operations compared to the Alpha Computer in order to achieve a new execution time of 6 seconds?

Explanation / Answer

It is given that integer operations will take 3 seconds at alpha computer while floating point operations will take 7 seconds.

Now, in order to achieve execution time of 6 seconds, we need to decrease the time required by the floating point operations as well. That is, suppose we have reduced the integer operations to 0 seconds but it still require 7 seconds to perform floatinf point operations. So, it is not possible to have execution time of 6 seconds by reducing integer operation time alone.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote