← All topics
Quiz: Pipelining: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. How many cycles does a 5-stage pipeline take for 100 instructions (no stalls)?
- Q2. Stage delays are 150, 120, 160, 140, 130 ps with 10 ps latch delay. What is the clock cycle?
- Q3. Using a separate instruction cache and data cache fixes which hazard?
- Q4. What does forwarding (bypassing) do?
- Q5. In the CPI demo, what was the CPI with a 90% accurate predictor (20% branches, 2-cycle penalty)?
- Q6. Does pipelining reduce the time taken by one single instruction from start to finish?
- Q7. What type of data hazard occurs when an instruction reads a register before an earlier instruction has written it?
- Q8. A load is followed immediately by an instruction that uses the loaded value. With forwarding, how many stall cycles remain in the 5-stage p…
- Q9. What does this print? (code)
- Q10. Which technique guesses the outcome of a branch, fetches along the guess, and flushes the pipeline if the guess was wrong?