ISRO Scientist/Engineer CSE 2017Computer Organization and Architecture › Pipelining
ISRO Scientist/Engineer CSE 2017 PYQ: For a pipelined CPU with a single ALU, consider the following situations The ${j+1}^{st}$ instruction uses…
For a pipelined CPU with a single ALU, consider the following situations
The ${j+1}^{st}$ instruction uses the result of the $j^{th}$ instruction as an operand
The execution of a conditional jump instruction
The $j^{th}$ and ${j+1}^{st}$ instructions require the ALU at the same time.
Which of the above can cause a hazard
- AI and II only
- BII and III only
- CIII only
- DAll the threeCorrect answer
Answer
(D) All the three
Approach
Identify the type of hazard each situation represents in a pipelined CPU with a single ALU. Situation I is a data hazard (RAW), Situation II is a control hazard, and Situation III is a structural hazard. Since all three can cause hazards, the correct option is D.
Reviewed by ISRO IQ Editorial Team.