1. Home
  2. Engineering
  3. Computer Engineering
  4. A program has 1000000 instructions with an average CPI of…

Added 28 Nov 2026

A program has 1000000 instructions with an average CPI of 2 on a 100 MHz processor. The execution time is:

  1. 20 ms Correct answer
  2. 200 ms
  3. 2 ms
  4. 10 ms

Correct answer

A. 20 ms

MCQSEXAM

Explanation

T = N × CPI/f = 1000000 × 2/(100×10⁶) = 20.00 ms.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Computer_architecture

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs