QlarIITy

PhysicsJEE Main 2025 · 2 AprilSingle correct

In the digital circuit shown in the figure, for the given inputs the P and Q values are :

A logic circuit with two inputs, both marked 1. The inputs feed a NAND gate. Each input also passes through its own NOT gate, and the two inverted signals feed an OR gate. The NAND output and the OR output feed an AND gate, whose output is P. The NAND output also passes through a NOT gate, and this signal and the OR output feed a NOR gate, whose output is Q.
  1. Option A: P=1P = 1, Q=1Q = 1
  2. Option B: P=0P = 0, Q=0Q = 0
  3. Option C: P=0P = 0, Q=1Q = 1
  4. Option D: P=1P = 1, Q=0Q = 0
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. For fixed inputs, write a 0 or a 1 at every gate output and move from left to right.

Concept refresher. A NAND gate gives a low output only when all its inputs are high, and an OR gate gives a low output only when all its inputs are low. An AND gate gives a high output only when all its inputs are high, and a NOR gate only when all its inputs are low. A NOT gate inverts its input. By De Morgan's theorem, an OR gate fed with two inverted signals gives the same output as a NAND gate fed with the signals themselves:

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

Picture the situation. With both inputs at 1, the NAND gate at the top gives 0. The two NOT gates at the bottom turn the inputs into 0 and 0, so the OR gate gives 0 as well. P is the AND of two zeros. For Q, the 0 from the NAND gate is first flipped to 1, and a NOR gate with a 1 at an input gives 0.

A table of the levels for the inputs 1 and 1: the NAND gate gives 0, the OR gate gives 0, P is 0, the inverted NAND output is 1 and Q is 0.

Approach. Write the level at the output of each gate, from the inputs to P and Q.

  1. Step 1: The NAND gate

    Its two inputs are 1 and 1, so its output is 1⋅1‾=0\overline{1 \cdot 1} = 0.

  2. Step 2: The OR gate

    Each input passes through a NOT gate first and becomes 0, so the OR gate gives 0+0=00 + 0 = 0.

  3. Step 3: Output P

    The AND gate receives the NAND output and the OR output, so P=0⋅0=0P = 0 \cdot 0 = 0.

  4. Step 4: Output Q

    The NAND output passes through a NOT gate and becomes 1. The NOR gate receives this 1 and the 0 from the OR gate:

    Q=1+0‾=0Q = \overline{1 + 0} = 0

Answer. (B) P=0P = 0, Q=0Q = 0

Sanity check. In general the NAND gate and the OR gate both give AB‾\overline{AB} here, so the NOR gate receives a signal and its inverse and Q is 0 for any inputs.

Why the other options are wrong

  • (A) With inputs 1 and 1 the NAND gate gives 0, so the AND gate cannot give P = 1; and Q is 0 as well.
  • (C) P = 0 is right, but Q = 1 would need both inputs of the NOR gate to be 0, and the inverted NAND output is 1.
  • (D) Q = 0 is right, but P = 1 would need the OR gate to give 1; it receives the two inverted inputs, 0 and 0.

Key takeaway

The trap. A small NOT gate tucked between two gates is easy to miss and flips the result.

How toppers think. They notice that the NOR gate here receives a signal and its inverse, so Q is 0 whatever the inputs.

Remember. X+X‾=1X + \overline{X} = 1, so its NOR is 0.

More on Semiconductors