An encoder is a digital function that produces a reverse operation from that of a decorder. The main difference between a decorder and an encoder is that a decorder has n number of input and 2^n number of output lines or channels. On the other hand an encoder has 2^n number of inputs lines and n number of outputs lines or channels. As example we can say about octal to binary encoder which consists of eight inputs and three outputs lines or channels. It is simply constructed with OR gate whose inputs can be determined from the truth table. The low order output Y0 is 1 if the input octal digit is odd. Output Y1 is 1 for octal digits 2, 3, 6 and 7. Output is 1 for octal digits 2, 3, 6 and 7. Output Y2 is a 1 for octal digits 4, 5, 6 or 7. It is seen that input I0 is not connected to any OR gate, the binary output must be all 0’s in this case. All the 0’s output is also obtained when all inputs are all 0’s.