Theory:-
> A 2-to-4 decoder is a combinational circuit that converts 2 input binary signals into 4 unique output lines. Each output represents one of the possible combinations of the 2 input bits.
The decoder activates only the output line corresponding to the binary input.
Useful in memory addressing, data multiplexing, and digital systems where a selection signal is required.