QlarIITy

PhysicsJEE Main 2026 · 24 JanuarySingle correct

Identify the correct truth table of the given logic circuit.

Logic circuit: input A feeds an AND gate with joined inputs and a NAND gate with B; the NAND output feeds a joined-input AND gate; both outputs go into a final AND gate giving Y
  1. Option A: (ABY000010101110)\begin{pmatrix} A & B & Y \\ 0 & 0 & 0 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}
  2. Option B: (ABY000011101110)\begin{pmatrix} A & B & Y \\ 0 & 0 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}
  3. Option C: (ABY001011101110)\begin{pmatrix} A & B & Y \\ 0 & 0 & 1 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}
  4. Option D: (ABY001010101110)\begin{pmatrix} A & B & Y \\ 0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}
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 every gate's output in order, then simplify the whole expression before filling in the table.

Concept refresher. An AND gate gives A⋅BA \cdot B, and a NAND gate gives its inverse, AB‾\overline{AB}. An AND gate with both inputs joined gives A⋅A=AA \cdot A = A, so it passes its input on unchanged. De Morgan's theorem turns a NAND output into a sum:

AB‾=A‾+B‾\overline{AB} = \overline{A} + \overline{B}

Picture the situation. Each wire is marked with the signal it carries, gate by gate from the inputs.

Logic circuit with A on the top gate output, NOT AB on the NAND output and NOT AB on the second AND output

Approach. Write the output of each gate from the inputs to YY, simplify the final expression, and read off its truth table.

  1. Step 1: The two gates with joined inputs

    The top AND gate has both inputs joined to AA, so its output is A⋅A=AA \cdot A = A. The second AND gate has both inputs joined to the NAND output, so it passes AB‾\overline{AB} on unchanged.

  2. Step 2: The final AND gate

    The last gate multiplies these two signals:

    Y=A⋅AB‾=A(A‾+B‾)=AA‾+AB‾Y = A \cdot \overline{AB} = A\left(\overline{A} + \overline{B}\right) = A\overline{A} + A\overline{B}

    Since AA‾=0A\overline{A} = 0, this leaves Y=AB‾Y = A\overline{B}.

  3. Step 3: Build the truth table

    Y=AB‾Y = A\overline{B} is 11 only when A=1A = 1 and B=0B = 0:

    (ABY000010101110)\begin{pmatrix} A & B & Y \\ 0 & 0 & 0 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \\ 1 & 1 & 0 \end{pmatrix}

    Column YY reads 0,0,1,00, 0, 1, 0, which is the table in option (A).

Answer. (A) the table with Y=0,0,1,0Y = 0, 0, 1, 0

Sanity check. Check A=1A = 1, B=1B = 1 directly: the NAND gives 00, so the second AND gate gives 00 and the last gate gives 1⋅0=01 \cdot 0 = 0, as the table says.

Why the other options are wrong

  • (B) Column YY of 0,1,1,00, 1, 1, 0 is the XOR output AB‾+A‾BA\overline{B} + \overline{A}B; it would need a path that gives 11 for A=0A = 0, B=1B = 1, but every path to YY needs A=1A = 1.
  • (C) Column YY of 1,1,1,01, 1, 1, 0 is the NAND output AB‾\overline{AB} alone; it forgets that the last AND gate also needs A=1A = 1.
  • (D) Column YY of 1,0,1,01, 0, 1, 0 is B‾\overline{B}; it treats the last gate as passing B‾\overline{B} whatever AA is, but YY must be 00 whenever A=0A = 0.

Key takeaway

The trap. Thinking an AND gate with joined inputs changes the signal, or misreading the flat-backed last gate as an OR gate.

How toppers think. They notice that YY needs A=1A = 1 through the top gate, which rules out every table with Y=1Y = 1 for A=0A = 0.

Remember. A⋅AB‾=AB‾A \cdot \overline{AB} = A\overline{B}, and a gate with joined inputs passes its input straight on.

More on Semiconductors