Which kind of pipeline hazard is a read-after-write (RAW) dependence between two instructions?
Correct answer B. Data hazard
Explanation
A RAW dependence means a later instruction needs a value that an earlier one has not yet written back, which is a true data hazard and is handled by forwarding or stalls. Structural hazards come from two instructions competing for the same hardware unit. Control hazards come from branches changing the instruction flow. WAR and WAW are name dependences, and renaming removes them rather than causing them.
Answer checked How we write and check questions
Discussion