Match List-I with List-II.
| List-I | List-II |
|---|
| A. Decoder | I. Selects one input out of many |
| B. Multiplexer | II. Converts binary input into $2^n$ outputs |
| C. Encoder | III. Converts $2^n$ inputs into binary code |
| D. Demultiplexer | IV. Routes one input to several outputs |
Choose the correct answer from the options given below: