An encoder is a digital function that produces a reverse operation from that a decoder. An encoder has 2n (or less) input limes and n output lines. The output lines generate the binary code for the 2n input variables.
| Hexadecimal No | F3 | F2 | F1 | F0 |
| A | 1 | 0 | 1 | 0 |
| B | 1 | 0 | 1 | 1 |
| C | 1 | 1 | 0 | 0 |
| D | 1 | 1 | 0 | 1 |
| E | 1 | 1 | 1 | 0 |
| F | 1 | 1 | 1 | 1 |
F0 = ∑(B, D, F)
F1 = ∑(A, B, E, F)
F2 = ∑(C, D, E, F)
F3 = ∑(A, B, C, D, E, F)
In telephone network, multiple audio signals are integrated on a single line for transmission with the help of multiplexers.