← Quiz: Pipelining: all 10 questions
Quiz: Pipelining · Question 7 of 10
What type of data hazard occurs when an instruction reads a register before an earlier instruction has written it?
What type of data hazard occurs when an instruction reads a register before an earlier instruction has written it?
- A.RAW (read after write)
- B.WAR (write after read)
- C.WAW (write after write)
- D.Structural
Answer & explanation
Correct answer: RAW (read after write)
RAW is the true dependency that matters in a simple in-order pipeline.
Can you get the rest right without peeking?
Take the timed Quiz: Pipelining quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →