ITPEC FE Morning October 2019 Question 10
ITPEC FE Morning October 2019 — Question 10 of 80
MIPS Calculation — compute CPU performance from clock frequency and weighted CPI.
Given: clock = 2.0 GHz, three instruction types with clocks and frequency.
Step 1 — Weighted CPI:
- CPI = 15×0.4 + 10×0.2 + 10×0.4 = 12 clocks
Step 2 — MIPS formula:
- MIPS = clock_frequency / (CPI × 10⁶)
- MIPS = 2×10⁹ / (12 × 10⁶) = 2000/12 ≈ 167
Why not others:
- (a) 16.7 — order-of-magnitude error
- (b) 120 — incorrect CPI or frequency calculation
- (d) 200 — uses CPI = 10 (unweighted, ignoring frequency distribution)
Key rule: MIPS = clock_freq(Hz) / (CPI × 10⁶). Always weight CPI by instruction frequency.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
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.