GateAI
Instruction Pipelining

GATE CSE 2026 Set 1 · Q16

MCQ1 markEasy

Time

Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: B) Read-after-write

Instruction Pipelining

A data hazard occurs when instructions that exhibit data dependence modify or access registers in different pipeline stages, leading to incorrect execution if the order of operations is not preserved.

  • Read-After-Write (RAW): This represents a true data dependency where instruction jj tries to read a source register before instruction ii writes to it. If jj reads the register before ii completes its write stage, jj gets stale data, creating a RAW hazard.

  • Read-After-Read (RAR): Reading the same register multiple times never modifies data, so it cannot cause a hazard.

  • Write-After-Read (WAR) and Write-After-Write (WAW): These are name dependencies (anti-dependence and output dependence) that only cause hazards in out-of-order execution pipelines with variable execution latencies, but RAW is the fundamental true data dependency causing data hazards in pipelined execution.

Therefore, Read-after-write is the correct option.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Instruction Pipelining previous year question is Q16 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Instruction Pipelining in Computer Organization and Architecture, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Instruction Pipelining PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Instruction Pipelining in GATE CSE

Instruction Pipelining has 25 GATE CSE PYQs across 20 papers from 2011 to 2026. 3 of them are 1-mark MCQs like this one, and GATE CSE 2026 Set 1 has 2.

How GATE tests Instruction Pipelining

More from GATE CSE 2026 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2026 Set 1 · Q16 · MCQ

Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.