QlarIITy

PhysicsJEE Main 2021 · 25 JulySingle correct

Identify the logic operation carried out.

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

Concept refresher. A NAND gate with both inputs joined to the same signal inverts it: A⋅A‾=A‾\overline{A \cdot A} = \overline{A}. A NOR gate gives the inverse of the sum of its inputs, and by De Morgan's theorem

P+Q‾=P‾⋅Q‾\overline{P + Q} = \overline{P} \cdot \overline{Q}

so a NOR gate fed with two inverted signals gives the AND of the original signals.

Picture the situation. The two NAND gates on the left only flip A and B. The NOR gate gives 1 only when both of its inputs are 0, which means both flipped signals are 0, which means A and B are both 1. That is how an AND gate behaves.

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

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

  1. Step 1: The first two gates

    Each NAND gate has its inputs joined, so it inverts its signal: the outputs are A‾\overline{A} and B‾\overline{B}.

  2. Step 2: The NOR gate

    It inverts the sum of the two:

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

    which is the AND operation.

Answer. (B) AND

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

Why the other options are wrong

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

Key takeaway

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

How toppers think. They test the single row 11: only AND and OR give 1 there, and the row 01 separates those two.

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

More on Semiconductors