Combinational Circuits

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.

