In the following truth table, V = 1 if and only if the input is valid. What…

2013

In the following truth table, V = 1 if and only if the input is valid.

What function does the truth table represent?

  1. A.

    Priority encoder

  2. B.

    Decoder

  3. C.

    Multiplexer

  4. D.

    Demultiplexer

Attempted by 274 students.

Show answer & explanation

Correct answer: A

Correct. This truth table defines a priority encoder: X0 and X1 form a two-bit binary code identifying which input line is asserted, and V=1 indicates a valid input. The don't-care entries show priority behavior (higher-numbered inputs override lower ones): D3 → X0X1 = 1 1; if D3=0 and D2=1 → 1 0; if D3=D2=0 and D1=1 → 0 1; if only D0=1 → 0 0.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir