2 to 4 decoder block diagram. Truth table explains the operations of a decoder.