GATE CS 2025 Set 1 | Question 27

Computer Organization & Architecture › ALU and Data Path · MSQ · 1 mark · Answer: A, B, C

  1. Question 27Computer Organization & Architecturemsq1 mark
    A partial data path of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the data path as shown?
    GATE CS 2025 Set 1 Question 27 figure
    • A.
      The data path can implement arithmetic operations involving two registers.
      ✓
    • B.
      The data path can implement arithmetic operations involving one register and one immediate value.
      ✓
    • C.
      The data path can implement arithmetic operations involving two immediate values.
      ✓
    • D.
      The data path can only implement arithmetic operations involving one register and one immediate value.

    Answer: A, B, C

    Solution

    Answer: (A), (B) and (C) Each ALU operand is driven by its own multiplexer: - Mux_A selects between register RA and a 32-bit immediate. - Mux_B selects between register RB and a 32-bit immediate. Because the two muxes are independent, the ALU inputs can be any combination: - (A) RA and RB → two registers. ✓ - (B) one register + one immediate (e.g. RA and immediate). ✓ - (C) immediate on Mux_A and immediate on Mux_B → two immediates. ✓ - (D) says it can only do register+immediate, which is false since (A) and (C) are also possible.

More GATE PYQ on ALU and Data Path

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2025 Set 1 in real GATE exam mode

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

Create free account →