QlarIITy

PhysicsJEE Main 2026 · 22 JanuarySingle correct

The correct truth table for the given input data of the following logic gate is :

Inputs A and B feed an AND gate and a NOT gate, inputs C and D feed an OR gate, and both results pass through an AND gate and a NOT gate to Y
  1. Option A: Table (A)
    Truth table with outputs 1, 0, 0, 1 for the input rows 1101, 0011, 1010, 1111
  2. Option B: Table (B)
    Truth table with outputs 0, 1, 1, 1 for the input rows 1101, 0011, 1010, 1111
  3. Option C: Table (C)
    Truth table with outputs 1, 0, 1, 0 for the input rows 1101, 0011, 1010, 1111
  4. Option D: Table (D)
    Truth table with outputs 0, 0, 1, 1 for the input rows 1101, 0011, 1010, 1111
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Write each gate's output in order, then simplify with De Morgan's theorems before evaluating rows.

Concept refresher. An AND gate gives A⋅BA \cdot B, an OR gate A+BA + B and a NOT gate A‾\overline{A}. De Morgan's theorems turn a NOT over a product or a sum into the other operation:

P⋅Q‾=P‾+Q‾\overline{P \cdot Q} = \overline{P} + \overline{Q}
P+Q‾=P‾⋅Q‾\overline{P + Q} = \overline{P} \cdot \overline{Q}

Approach. Write the output of each gate in order, simplify the expression for YY, and evaluate it for the four input rows.

  1. Step 1: Outputs gate by gate

    The first AND gate followed by a NOT gate gives AB‾\overline{AB}, and the OR gate gives C+DC + D. The second AND gate followed by the last NOT gate gives

    Y=AB‾⋅(C+D)‾Y = \overline{\overline{AB} \cdot (C + D)}
  2. Step 2: Simplify with De Morgan's theorems

    Breaking the outer bar over the product, then the bar over the sum:

    Y=AB+C+D‾=AB+C‾⋅D‾Y = AB + \overline{C + D} = AB + \overline{C} \cdot \overline{D}

    So Y=1Y = 1 when AA and BB are both 11, or when CC and DD are both 00.

  3. Step 3: Evaluate the rows

    Row 11011101: AB=1AB = 1, so Y=1Y = 1. Row 00110011: AB=0AB = 0 and CC, DD are not both 00, so Y=0Y = 0. Row 10101010: AB=0AB = 0 and C=1C = 1, so Y=0Y = 0. Row 11111111: AB=1AB = 1, so Y=1Y = 1.

    Working table giving, for each input row, the NAND output of A and B, the OR output of C and D, and the output Y

    The output column is 1,0,0,11, 0, 0, 1, which is Table (A).

Answer. (A) Table (A)

Sanity check. Check row 00110011 directly on the circuit: the NAND of 00 and 00 is 11, the OR of 11 and 11 is 11, the AND gives 11, and the final NOT gives 00, as Table (A) shows.

Smart method. Every given row except 00110011 and 10101010 has A=B=1A = B = 1, and then AB‾=0\overline{AB} = 0 forces the output to 11. In the other two rows C+D=1C + D = 1 and AB‾=1\overline{AB} = 1, so the output is 00. Only Table (A) reads 1,0,0,11, 0, 0, 1. This shortcut works because one input to the second AND gate decides it alone whenever that input is 00.

Why the other options are wrong

  • (B) has Y=0Y = 0 for 11011101; there AB=1AB = 1, so the NAND output is 00, the second AND gate gives 00 and the final NOT gate gives Y=1Y = 1.
  • (C) has Y=1Y = 1 for 10101010; there the NAND output is 11 and C+D=1C + D = 1, so the AND gate gives 11 and the final NOT gate gives Y=0Y = 0.
  • (D) has Y=0Y = 0 for 11011101, where A=B=1A = B = 1 makes the NAND output 00 and so Y=1Y = 1; it also has Y=1Y = 1 for 10101010, where Y=0Y = 0.

Key takeaway

The trap. Dropping one of the two NOT gates, which inverts some rows of the output.

How toppers think. They spot that A=B=1A = B = 1 makes the output 11 at once, and check only the remaining rows.

Remember. AB‾(C+D)‾=AB+C‾⋅D‾\overline{\overline{AB}(C + D)} = AB + \overline{C} \cdot \overline{D} by De Morgan's theorems.

More on Semiconductors