ITPEC FE Morning April 2019 Question 9
Topic: Computer Component
For a processor running at 50 MIPS, what is the average execution time per instruction?
Explanation
20 ns — MIPS is millions of instructions per second, so the time per instruction is its reciprocal.
- •50 MIPS = 50 × 106 instructions per second
- •Time per instruction: 1 ÷ (50 × 106) s = 2 × 10−8 s = 20 ns
A shortcut: 1 MIPS means 1 µs per instruction, so 50 MIPS means 1 ÷ 50 µs = 0.02 µs = 20 ns.
Answer (a)
Why not others:
- •(b) 50 ns — takes the MIPS figure itself as the time; 50 ns per instruction would be 20 MIPS
- •(c) 2 µs — 100 times too long; it corresponds to 0.5 MIPS
- •(d) 5 µs — 250 times too long; it corresponds to 0.2 MIPS
Key rule: Average instruction time in µs = 1 ÷ MIPS; convert with 1 µs = 1,000 ns.
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.