GATE Computer ScienceModerateGATE CSE · NIELIT

A program of 2×10⁹ instructions runs on a 1.5 GHz processor. The mix is 40% instructions of CPI 1, 30% of CPI 2, 20% of CPI 3 and 10% of CPI 5. What is the execution time?

  1. A. 3.20 s
  2. B. 2.30 s
  3. C. 4.20 s
  4. D. 2.80 s

Correct answer: D. 2.80 s

Average CPI = 0.4 + 0.6 + 0.6 + 0.5 = 2.1; time = 2.1 × 2×10⁹ / 1.5×10⁹ = 2.80 s.

More Computer Organization and Architecture questions

Exams that ask this topic