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.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.