...
OOPS
December 28, 2023
JT(IT) 2018 PART-A General Aptitude
December 28, 2023
OOPS
December 28, 2023
JT(IT) 2018 PART-A General Aptitude
December 28, 2023

GATE 2003

Question 10

For a pipelined CPU with a single ALU, consider the following situations

I. The j + 1-st instruction uses the result of the j-th instruction as an operand
II. The execution of a conditional jump instruction
III. The j-th and j + 1-st instructions require the ALU at the same time 

Which of the above can cause a hazard?

A
I and II only
B
II and III only
C
III only
D
All the three
Question 10 Explanation: 
I is belongs to the Data hazard.
II is belongs to the Control hazard.
III is belongs to the Structural hazard.
→ Hazards are the problems with the instruction pipeline in CPU micro architectures.
Correct Answer: D
Question 10 Explanation: 
I is belongs to the Data hazard.
II is belongs to the Control hazard.
III is belongs to the Structural hazard.
→ Hazards are the problems with the instruction pipeline in CPU micro architectures.

Leave a Reply

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