Skills101
← All practice quizzes

Quiz: Pipelining

5 questionsNo time limitPass: 60%+10 XP on first pass

How instruction pipelining overlaps fetch, decode, execute, memory and write-back, the speedup formula k·n/(k+n−1), pipeline timing with unequal stages, and the three hazard types with stalls, forwarding and branch prediction — numericals solved in Python.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    How many cycles does a 5-stage pipeline take for 100 instructions (no stalls)?

  2. Question 2

    Stage delays are 150, 120, 160, 140, 130 ps with 10 ps latch delay. What is the clock cycle?

  3. Question 3

    Using a separate instruction cache and data cache fixes which hazard?

  4. Question 4

    What does forwarding (bypassing) do?

  5. Question 5

    In the CPI demo, what was the CPI with a 90% accurate predictor (20% branches, 2-cycle penalty)?