QlarIITy

PhysicsJEE Main 2021 · 26 AugustSingle correct

Identify the logic operation carried out by the given circuit:

A logic circuit: input A is connected to both inputs of a NAND gate, whose output is marked X, and input B to both inputs of another NAND gate, whose output is marked Y. X and Y are the inputs of an AND gate, whose output is Z.
  1. Option A: OR
  2. Option B: AND
  3. Option C: NAND
  4. Option D: NOR
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. An AND gate with both inputs inverted performs the NOR operation.

Concept refresher. A NAND gate gives P⋅Q‾\overline{P \cdot Q}; with both inputs joined to the same signal AA it gives A⋅A‾=A‾\overline{A \cdot A} = \overline{A}, acting as an inverter. By De Morgan's theorem, the AND of two inverted signals is the inverse of their OR:

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

Picture the situation. The first two gates turn A and B upside down. The AND gate then gives 1 only when both inverted signals are 1, that is only when A and B are both 0. An output that is high only for two zeros is that of a NOR gate.

A truth table with the columns A, B, X, Y and Z: for the inputs 00, 01, 10 and 11 the output Z is 1, 0, 0 and 0.

Approach. Treat the first two gates as inverters, write the output of the AND gate and simplify it.

  1. Step 1: The first two gates

    Each NAND gate has its inputs joined, so it inverts: X=A‾X = \overline{A} and Y=B‾Y = \overline{B}.

  2. Step 2: The AND gate

    It multiplies the two:

    Z=A‾⋅B‾=A+B‾Z = \overline{A} \cdot \overline{B} = \overline{A + B}

    which is the NOR operation.

Answer. (D) NOR

Sanity check. The four outputs for inputs 00, 01, 10, 11 come out as 1, 0, 0, 0, the truth table of NOR.

Why the other options are wrong

  • (A) An OR gate gives 0 for the inputs 00; this circuit gives 1 there.
  • (B) is the last gate, but its inputs are the inverted signals, so the circuit as a whole is not an AND.
  • (C) A NAND gate gives 1 for the inputs 01 and 10; this circuit gives 0 for them.

Key takeaway

The trap. Identify the circuit as a whole, not its last gate.

How toppers think. They test the single row 00, which separates NOR from OR and AND at once.

Remember. A‾⋅B‾=A+B‾\overline{A} \cdot \overline{B} = \overline{A + B}.

More on Semiconductors