Pipelining and the Cost of a Hazard · seed 1 · A4, ink-friendly. The answer key prints on its own page for grown-ups.

Overlapping work without rushing it

Computing · Computer Systems · ages 18-20
Name ______________________   Date ____________
  1. One instruction still passes how many steps?

    • One
    • Five
    • Nine
  2. What does pipelining raise?

    • Finished instructions per round
    • Volts per transistor
    • Letters per opcode
  3. Forwarding wires a fresh result straight back to cut waiting.

    Circle one:   True   False

  4. An instruction adds two numbers the prior load has not delivered. What happens?

    • The line retires early
    • The chip orders lunch
    • The line stalls until the value lands
  5. Five instructions, five steps each. Type the pipelined total in rounds.

    Answer: ______________

  6. A branch guess proves wrong. What happens to the half-done steps?

    • They are thrown away
    • They are framed as art
    • They run twice as fast
  7. A mispredicted branch keeps its half-done steps and counts them as finished.

    Circle one:   True   False

  8. Five instructions save sixteen rounds over running alone. Throughput rises, yet one lag stays five. Why?

    • Transistors tire with age
    • Each instruction still crosses five steps
    • Nine is larger than five
LightMySky · lightmysky.comW1-mt_GI_fPY9d6s-s1

Answer key

For grown-ups. Fold this page away before handing over the rest.

Overlapping work without rushing it W1-mt_GI_fPY9d6s-s1

  1. Five · Each instruction still crosses all five steps.
  2. Finished instructions per round · Overlap raises throughput, finished work per round.
  3. True · That shortcut feeds neighbours early.
  4. The line stalls until the value lands · A missing input forces a stall.
  5. 9 · Five for the first plus one per follower makes nine.
  6. They are thrown away · Wrong-path work is dumped and the line refills.
  7. False · Wrong-path steps are dumped, not counted.
  8. Each instruction still crosses five steps · Latency per instruction never shrank.
Worksheet · LightMySky