Hadoop
November 10, 2023Question 1670 – Programming
November 10, 2023NTA UGC NET JUNE-2023 Paper-2
Question 10 |
2.0
| |
1.06
| |
1.18
| |
2.5
|
Amdahl’s Law formula for speedup (S) is:
S = 1 / (1 – P + (P / F))
Where:
S is the speedup factor.
P is the fraction of the execution time that benefits from the improvement.
F is the factor by which this portion is improved.
In this case, we are given that 30% of the execution time is spent on floating-point addition, and the design team has made it twice as fast, which means F = 2. P is 0.3 (30%).
So, the possible maximum speedup by this redesign is approximately 1.18. The correct answer is 1.18.
Amdahl’s Law formula for speedup (S) is:
S = 1 / (1 – P + (P / F))
Where:
S is the speedup factor.
P is the fraction of the execution time that benefits from the improvement.
F is the factor by which this portion is improved.
In this case, we are given that 30% of the execution time is spent on floating-point addition, and the design team has made it twice as fast, which means F = 2. P is 0.3 (30%).
So, the possible maximum speedup by this redesign is approximately 1.18. The correct answer is 1.18.
Thank you. Good explanation.