ITPEC FE Morning October 2022 Question 12

There is a computer that has an average instruction execution time of 20 nanoseconds. What is the performance of this computer in MIPS?

Explanation

50 MIPS — MIPS is the number of instructions per second in millions, the reciprocal of the average instruction time.

  • •Instructions per second: 1 ÷ (20 × 10−9) = 5 × 107
  • •In millions: 5 × 107 ÷ 106 = 50

Equivalently, 20 ns = 0.02 µs, and 1 ÷ 0.02 = 50 instructions per microsecond, which is the same as millions per second.

Answer (d)

Why not others:

  • •(c) 20 — takes the instruction time in nanoseconds as the MIPS value instead of taking its reciprocal
  • •(a) 5 — a factor-of-ten slip; it would need an average of 200 ns per instruction
  • •(b) 10 — would need an average of 100 ns per instruction

Key rule: MIPS = 1 ÷ (average instruction time in µs); a faster instruction gives a larger MIPS value.

Computer Component · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.