Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 6(a)

5 marks

Computer ScienceISC 2018 Computer Science Paper 1DrawingComputer Hardware

Draw the following.

What is an Encoder? Draw the Encoder circuit to convert A-F hexadecimal numbers to binary. State an…

What is an Encoder? Draw the Encoder circuit to convert A-F hexadecimal numbers to binary. State an application of a Multiplexer.

Answer

Answer

An Encoder is a combinational logic circuit that converts an active input line (out of $2^n$ possible input lines, only one of which is active/HIGH at a time) into an n-bit binary code representing that active input. Encoder for hexadecimal digits A-F to binary: the hex digits A to F correspond to decimal 10 to 15, i.e. binary codes 1010 to 1111. Using 6 input lines A,B,C,D,E,F (one active at a time) and 4 output lines Y3 Y2 Y1 Y0: A=1010, B=1011, C=1100, D=1101, E=1110, F=1111 $Y3 = A+B+C+D+E+F$ $Y2 = C+D+E+F$ $Y1 = A+B+E+F$ $Y0 = B+D+F$ Application of a Multiplexer: A multiplexer is used in data routing/data selection - e.g. to select one of many input data sources (from several communication lines or registers) and route it to a single output/transmission line, such as in telecommunication/satellite communication systems or for selecting data onto a common data bus.
Diagram for this answer