Exams › GATE › Technical
In the following truth table, V = 1 if and only if the input is valid.
Inputs | Outputs
D0 D1 D2 D3 | X0 X1 V
0 0 0 0 | x x 0
1 0 0 0 | 0 0 1
x 1 0 0 | 0 1 1
x x 1 0 | 1 0 1
x x x 1 | 1 1 1
What function does the truth table represent?
- Priority encoder
- Decoder
- Multiplexer
- Demultiplexer
Correct answer: Priority encoder
Solution
The truth table represents a priority encoder because it outputs a binary representation of the highest-priority active input (D2, D1, D0) while indicating validity (V) when at least one input is active.
Related GATE Technical questions
⚔️ Practice GATE Technical free + battle 1v1 →