QlarIITy

PhysicsJEE Main 2021 · 16 MarchSingle correct

The following logic gate is equivalent to:

A logic circuit of four NAND gates: input A is connected to both inputs of the first NAND gate, and input B to both inputs of the second. The outputs of these two gates are the inputs of a third NAND gate. Its output is connected to both inputs of a fourth NAND gate, whose output is Y.
  1. Option A: NOR Gate
  2. Option B: OR Gate
  3. Option C: AND Gate
  4. Option D: NAND 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. Four NAND gates connected this way make a NOR gate: invert both inputs, NAND them, invert again.

Concept refresher. A NAND gate gives P⋅Q‾\overline{P \cdot Q}. With both inputs joined to one signal AA it gives A⋅A‾=A‾\overline{A \cdot A} = \overline{A}, so it acts as an inverter. By De Morgan's theorem, the inverse of a product is the sum of the inverses:

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

Picture the situation. Three of the four gates have their inputs tied, so they are just inverters. The first two flip A and B, the middle NAND gate combines the flipped signals, which works out as an OR of A and B, and the last inverter flips that. An inverted OR is a NOR.

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

Approach. Write the output of each gate in turn and simplify with De Morgan's theorem.

  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 third gate

    It is a NAND gate with these two as its inputs:

    A‾⋅B‾‾=A‾‾+B‾‾=A+B\overline{\overline{A} \cdot \overline{B}} = \overline{\overline{A}} + \overline{\overline{B}} = A + B
  3. Step 3: The fourth gate

    Its inputs are joined, so it inverts the signal it receives:

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

    which is the NOR operation.

Answer. (A) NOR Gate

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

  • (B) OR is the signal after the third gate; the fourth gate, with its inputs joined, inverts it.
  • (C) An AND gate gives 1 for the inputs 11; this circuit gives 0 there, because A + B is 1 and is then inverted.
  • (D) NAND is only the type of each gate; for the inputs 01 a NAND gate gives 1, while this circuit gives 0.

Key takeaway

The trap. A circuit is named by what it does as a whole, not by the type of its gates.

How toppers think. They test the row 00: of the four options only NOR and NAND give 1 there, and the row 01 separates those two.

Remember. NAND of A‾\overline{A} and B‾\overline{B} is A+BA + B; inverted, it is NOR.

More on Semiconductors