Back to the 2024 paper

Module 3: Pipelining

20242m

Which technique is used to handle data hazards in pipelining?
a) Increasing memory size
b) Instruction scheduling
c) Parallel processing
d) Increasing clock speed

Worked SolutionAI Assisted

Answer: b) Instruction scheduling

Explanation:

  • Data hazards (RAW, etc.) handled by:
    • Data forwarding/bypassing
    • Instruction scheduling / reordering (compiler or hardware - out-of-order execution) to insert independent instructions between dependent ones
    • Stalling (NOP insertion)
  • Increasing memory size, parallel processing, or clock speed do not resolve data dependencies.

Hence among options, Instruction scheduling is the technique.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.