GATE / CS ARCHIVE

GATE CSE 2020 / QUESTION 19

GATE CSE 2020 Q19

Digital Logic · Combinational Circuits · Full GATE CSE 2020 paper

GATE 2020, Q19 1 mark · NAT
Report issue

Combinational Circuits

Question 19, GATE 2020: A multiplexer selects exactly one of 32 registers to transfer to an accumulator. What is the minimum number of binary select lines?
Tap to enlarge
Answer & solution

Official answer: 5

Worked explanation

With s binary selection inputs, a multiplexer can encode at most 2s choices. Four lines provide only 16 choices, fewer than the 32 register inputs. Five lines provide 32, exactly enough. This counts control lines; the register word width determines the data-path width and is irrelevant to this count. The accumulator is the common destination, not a 33rd selectable source.

Derivation and answer

Selecting one of 32 registers requires 32 distinct selector patterns. The minimum binary selector width is ceil(log₂32)=5.

Original paper, page 8 · Answer key