Question discussion

A 2 GHz processor executes a program of 4 × 10⁹ instructions with an average CPI of 1.5. What is the CPU execution time?

1158Medium DSSSB TGT Computer Science 0 replies 1 views
0

A 2 GHz processor executes a program of 4 × 10⁹ instructions with an average CPI of 1.5. What is the CPU execution time?

  • A3 s
  • B2 s
  • C4 s
  • D6 s
Correct answer: A

Explanation

CPU time = instruction count × CPI / clock rate = 4 × 10⁹ × 1.5 / (2 × 10⁹) = 3 s.

Discussion 0

Nobody has replied yet. Start the discussion!