Machine-translated by Google. Questions are authored in English.
Top

Discussion

What are the three types of pipeline hazards?

  • A.Address hazard, Control hazard, Data hazard
  • B.Control hazard, Data hazard, Structural hazard
  • C.Address hazard, Memory hazard, Data hazard
  • D.Address hazard, Memory hazard, Structural hazard

Answer: B

The three types of hazards in an instruction pipeline are the structural hazard (two instructions need the same hardware resource in the same clock cycle), the data hazard (an instruction needs a result that an earlier instruction has not yet produced) and the control hazard (a branch changes the flow of the program, so the next instruction fetched may be wrong).


Address hazard and memory hazard are not standard names for pipeline hazards, so the options that contain them are wrong. The answer is option B.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.