What is Encoder ? ( 4:2 Encoder )

What is Encoder ? Ans- It is a combination logic circuit which convert decoded information to binary signal. OR An encoder is a digital circuit that performs the inverse operation of a decoder. Note - A encoder has input lines and "n" output lines. 4:2 Encoder Truth table of 4:2 Encoder:-