In a 4-to-2 priority encoder, if both D1 and D3 are HIGH, which input determines the output and why?
D3 determines the output because it has higher priority
A priority encoder differs from an ordinary encoder in one crucial way: it is designed to handle the situation where more than one input is active at the same time. Instead of producing an invalid output, it applies a fixed priority ranking and encodes only the highest-priority active input, ignoring all lower ones.
In a 4-to-2 priority encoder with inputs D0, D1, D2, D3, the convention is that the higher-numbered input has higher priority:
With D1 = 1 and D3 = 1 simultaneously, the encoder compares their priorities. D3 outranks D1, so D3 determines the output, and the 2-bit output is the binary code for 3, i.e. 11.
This is exactly why the output is not undefined for multiple active inputs — resolving that ambiguity is the entire purpose of a priority encoder. The idea that both D1 and D3 set the output together is impossible, because the two-bit output can represent only one input number at a time. And D1 determining the output because it is the lower number reverses the rule: it is the higher-numbered, higher-priority input D3, not the lower one, that wins.
Assertion (A) : A demultiplexer can be used as a decoder.
Reason (R) : A demultiplexer is built by using AND gates only.
Match the following :
| List – I | List – II |
| a. Shift Register | i. Frequency Division |
| b. Multiplexer | ii. Memory chip select generation |
| c. Decoder | iii. Parallel to serial conversion |
| d. Counter | iv. Many to one switch |
Codes :
Match the following :
| List - I | List - II |
| (a) Minimization | (i) Multiplexer |
| (b) Successive Approximation | (ii) Shift Register |
| (c) Data Selector | (iii) A/D Convertor |
| (d) Sequence Generator | (iv) QM Metdod |
Codes :
| List – I | List – II |
| a. Multiplexer | i. Selects one of many inputs to a single output |
| b. Flip-Flop | ii. Combinational circuit |
| c. Shift Register | iii. Memory |
| d. Parallel Adder | iv. Sequential logic |
Codes :