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

Added 28 Nov 2026

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

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

Correct answer

B. 20 ms

MCQSEXAM

Explanation

T = N × CPI/f = 4000000 × 2/(400×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 B? 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