Which one of the following dependencies among the register operands of…
2026
Which one of the following dependencies among the register operands of different instructions can cause a data hazard in a pipelined processor?
Answer: B. Read-after-write — In a pipelined processor, a data hazard occurs when one instruction depends on the result of another instruction that has not yet completed. The most common…
- A.
Read-after-read
- B.
Read-after-write
- C.
Write-after-read
- D.
Write-after-write
Attempted by 100 students.
Show answer & explanation
Correct answer: B
In a pipelined processor, a data hazard occurs when one instruction depends on the result of another instruction that has not yet completed.
The most common dependency causing this problem is:Read After Write (RAW)
Here, a later instruction needs to read a value that an earlier instruction is still in the process of writing.
Therefore, the correct answer is:
B) Read-after-write
Explore the full course: Iocl Engineers Officers Grade A Paper 2