QlarIITy

PhysicsJEE Main 2026 · 2 AprilSingle correct

If XX and YY are the inputs, the given circuit works as ______.

Inputs X and Y each go through a NAND gate with joined inputs into a NAND gate, whose output passes a NAND gate with joined inputs to the output
  1. Option A: OR gate
  2. Option B: AND gate
  3. Option C: NAND gate
  4. Option D: NOR gate
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. A NAND gate with joined inputs is a NOT gate, so NAND gates alone can build every other gate.

Concept refresher. A NAND gate gives Y=A⋅B‾Y = \overline{A \cdot B}. With its inputs joined, A=BA = B, so it inverts:

A⋅A‾=A‾\overline{A \cdot A} = \overline{A}

De Morgan's theorem: A⋅B‾=A‾+B‾\overline{A \cdot B} = \overline{A} + \overline{B}.

Approach. Replace each NAND gate with joined inputs by a NOT gate, then follow the signals through the middle gate to the output.

  1. Step 1: The input gates

    Each input passes through a NAND gate whose inputs are joined, so each is simply inverted. The middle gate receives

    X‾, Y‾\overline{X}, \ \overline{Y}
  2. Step 2: The middle gate

    The middle NAND gate combines the two inverted inputs, and De Morgan's theorem removes the double bars:

    X‾⋅Y‾‾=X‾‾+Y‾‾=X+Y\overline{\overline{X} \cdot \overline{Y}} = \overline{\overline{X}} + \overline{\overline{Y}} = X + Y

    So far the circuit is an OR gate.

  3. Step 3: The last gate

    The last NAND gate has joined inputs, so it inverts the OR output:

    Output=X+Y‾\text{Output} = \overline{X + Y}

    This is a NOR gate.

Answer. (D) NOR gate

Sanity check. Check one row: with X=0X = 0 and Y=0Y = 0 the input gates give 11 and 11, the middle gate gives 00, and the last gate gives 11, which is the NOR output for two zeros.

Why the other options are wrong

  • (A) is the output of the middle gate, X‾⋅Y‾‾=X+Y\overline{\overline{X} \cdot \overline{Y}} = X + Y; the last gate with joined inputs inverts it once more.
  • (B) comes from treating the two input gates as plain wires: the middle and last gates then give X⋅Y‾‾=X⋅Y\overline{\overline{X \cdot Y}} = X \cdot Y, but each input gate inverts its signal.
  • (C) would be the middle gate on its own fed directly with XX and YY; here it is fed with X‾\overline{X} and Y‾\overline{Y}, and its output is inverted again.

Key takeaway

The trap. Stopping at the middle gate, which gives OR, and missing the final inversion.

How toppers think. They redraw each joined-input NAND as a NOT gate and then read the circuit as OR followed by NOT.

Remember. NAND with inverted inputs is OR, and adding a NOT after it gives NOR.

More on Semiconductors