GateAI
Combinational and Sequential Circuits

GATE CSE 2013 · Q5

MCQ1 markEasy

Time

In the following truth table, V=1V = 1 if and only if the input is valid. What function does the truth table represent?

GATE CSE 2013 Q5 diagram

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) Priority encoder

Combinational and Sequential Circuits

Analyzing the truth table:

  • The input bits are D0,D1,D2,D3D_0, D_1, D_2, D_3, with D3D_3 having the highest priority down to D0D_0.

  • When D3=1D_3 = 1, regardless of lower inputs (xxx1x x x 1), the output is X1X0=11X_1 X_0 = 11.

  • When D3=0D_3 = 0 and D2=1D_2 = 1 (xx10x x 1 0), the output is X1X0=10X_1 X_0 = 10.

  • When D3=0,D2=0D_3 = 0, D_2 = 0 and D1=1D_1 = 1 (x100x 1 0 0), the output is X1X0=01X_1 X_0 = 01.

  • When D3=0,D2=0,D1=0D_3 = 0, D_2 = 0, D_1 = 0 and D0=1D_0 = 1 (10001 0 0 0), the output is X1X0=00X_1 X_0 = 00.

  • When all inputs are 0 (00000 0 0 0), V=0V = 0, indicating an invalid input.

This behavior matches a 4-to-2 priority encoder, where higher index inputs take precedence over lower index inputs, and a valid bit VV is asserted when at least one input is active.

Therefore, the correct option is A.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Combinational and Sequential Circuits previous year question is Q5 of the GATE CSE 2013 paper. Find more GATE CSE PYQs on Combinational and Sequential Circuits in Digital Logic, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Combinational and Sequential Circuits PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Combinational and Sequential Circuits in GATE CSE

Combinational and Sequential Circuits has 32 GATE CSE PYQs across 22 papers from 2011 to 2026. 8 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2013.

How GATE tests Combinational and Sequential Circuits

More from GATE CSE 2013

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2013 · Q5 · MCQ

In the following truth table, V = 1 if and only if the input is valid. What function does the truth table represent?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.