JEE Main 2026 · 23 January · evening · Single correct · +4 / −1

For the given logic gate circuit, which of the following is the correct truth table?

JEE Main PYQ figure
  1. (a) n, m, z; 0, 0, 1; 0, 1, 1; 1, 1, 0; 1, 0, 0
  2. (b) n, m, z; 0, 0, 1; 0, 1, 0; 1, 1, 1; 1, 0, 0
  3. (c) n, m, z; 0, 0, 0; 0, 1, 1; 1, 1, 0; 1, 0, 1
  4. (d) n, m, z; 0, 0, 1; 0, 1, 0; 1, 1, 0; 1, 0, 0
Answer and solution

Answer (a) n, m, z; 0, 0, 1; 0, 1, 1; 1, 1, 0; 1, 0, 0

Solution

Physics sir · 2 steps

Write z as one Boolean expression, and the absorption law shrinks it to just n̅.

  1. Read the circuit. Input n goes straight to the NAND gate and also into the OR gate with m. The OR output n + m is the second input of the NAND gate, so z = n · (n + m)̅.

    n · (n + m) = n + n m = n(1 + m) = n ⇒ z = n̅

    nmn + mn · (n + m)z
    00001
    01101
    11110
    10110
  2. So. The output does not depend on m at all: z = 1 when n = 0 and z = 0 when n = 1. That matches option (a).

The idea to keep. For a gate circuit, write the output as one expression and simplify it before filling the table. Laws like A(A + B) = A often make one input drop out completely.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Semiconductors & Electronic Devices

Asked about 170 times in JEE Main since 2020. This question is from 2026.