A program has 1000000 instructions with an average CPI of 2 on a 100 MHz processor. The execution time is:
Correct answer
A. 20 ms
A. 20 ms
T = N × CPI/f = 1000000 × 2/(100×10⁶) = 20.00 ms.
Asked in: Engineering Computer Engineering Practice
https://en.wikipedia.org/wiki/Computer_architectureNot sure why the answer is A? Ask here and get an explanation.