GATE Computer ScienceHardGATE CSE

A program spends 40% of its time in floating-point operations, 30% in memory operations and 30% elsewhere. FP operations are made 5 times faster and memory operations 3 times faster; the rest is unchanged. The overall speedup is

  1. A. 4
  2. B. 3
  3. C. 25/12
  4. D. 2

Correct answer: C. 25/12

New time = 0.4/5 + 0.3/3 + 0.3 = 0.08 + 0.10 + 0.30 = 0.48, so speedup = 1/0.48 = 25/12 ≈ 2.08.

More Computer Organization and Architecture questions

Exams that ask this topic