GATE CS 2026 Set 1 | Question 16

Computer Organization & Architecture › Pipelining · MCQ · 1 mark · Answer: B

  1. Question 16Computer Organization & Architecturemcq1 mark
    Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?
    • A.
      Read-after-read
    • B.
      Read-after-write
      ✓
    • C.
      Write-after-read
    • D.
      Write-after-write

    Answer: B

    Solution

    Answer: (B) Read-after-write RAW is a true data dependence: a later instruction needs a value that an earlier one has not yet written back. In an in-order pipeline this causes stalls or needs forwarding. RAR is never a hazard. WAR and WAW are name dependences, and they become hazards only in out-of-order or multi-path pipelines. The official key accepts only RAW.

More GATE PYQ on Pipelining

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2026 Set 1 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →