Microchip Technology Interview Question

Explain Encoder and Decoder with real life example