If two inputs are active on a priority encoder, which will be coded on the output?
A. The higher value
B. The lower value
C. Neither of the inputs
D. Both of the inputs
Answer: a
Explanation: An encoder is a combinational circuit encoding the information of 2$^{n}$ input lines to n output lines, thus producing the binary equivalent of the input. If two inputs are active on a priority encoder, the input of higher value will be coded in the output.