The table below shows the execution time in percentage for various sections of a
ID: 669541 • Letter: T
Question
The table below shows the execution time in percentage for various sections of a code. Answer the following questions clearly showing all your steps
2. The table below shows the execution time in percentage for various sections of a code. Answer the following questions clearly showing all your steps. | Time spent(%) 10% 15% 60% 20% 5% Section Initial File copy Write back Final a. Which section takes the least execution time and which section takes the most b. By reducing the execution time of the write back section can the entire code gain a c. By reducing the execution time of the computation section can the entire code gain d. Which of the two sections' execution time can be reduced so that the entire code execution time? (2 Points) speed-up of 2? (4 Points) a speed-up of 2 (4 Points) can gain a speed-up of 3? (5 Points)Explanation / Answer
a)Least execution time = Final section (5%)
Most execution time = Computation (50%)
B) No
Time 100-----à80
Speed up 20/80*100=25%
Speed up 100-------à125
Speed up not 2 times
c) Yes
Time 100-----à50
Speed up 50/50*100=100%
Speed up 100-------à200
Speed up 2 times
D) Computation and write back
Time 100-------à30
Speed Up 70/30*100=233.33%
Speed Up 100--------à333.33
Speed Up more then 3 times
If we take (50+15) 65
Then time 100------à35
Speed Up 65/35*100=185.7%
Speed Up 100-------à285.7
Speed Up not 3 times
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.