QlarIITy

PhysicsJEE Main 2019 · 9 AprilSingle correct

The logic gate equivalent to the given logic circuit is:

A logic circuit: input A passes through a NOT gate and input B through another NOT gate; the two inverted signals are the inputs of a NAND gate, whose output is Y.
  1. Option A: NAND
  2. Option B: AND
  3. Option C: NOR
  4. Option D: OR
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. Inverting both inputs of a NAND gate makes an OR gate.

Concept refresher. A NOT gate inverts its input, and a NAND gate gives the inverse of the AND of its inputs. By De Morgan's theorem the inverse of an AND is the OR of the inverses:

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

Inverting a variable twice gives the variable back.

Picture the situation. The two NOT gates flip A and B, and the NAND gate flips their AND. The output is 0 only if both inverted signals are 1, that is only if A and B are both 0. A gate that gives 0 only for two zeros is an OR gate.

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, 1, 1 and 1.

Approach. Write the Boolean expression for the output and simplify it with De Morgan's theorem.

  1. Step 1: Expression for the output

    The NAND gate receives A‾\overline{A} and B‾\overline{B}, so

    Y=A‾⋅B‾‾Y = \overline{\overline{A} \cdot \overline{B}}
  2. Step 2: Simplifying

    By De Morgan's theorem this is

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

    so the circuit is equivalent to an OR gate.

Answer. (D) OR

Sanity check. With inputs 00 the NAND gate receives 11 and gives 0; with any other inputs it gives 1: the truth table of OR.

Why the other options are wrong

  • (A) is the last gate of the circuit, not the equivalent of the whole circuit.
  • (B) would give 1 only for A = B = 1; this circuit gives 1 for three of the four input pairs.
  • (C) is the inverse of the right answer: it gives 1 only when both inputs are 0.

Key takeaway

The trap. The equivalent gate is found from the expression, not from the symbols in the drawing.

How toppers think. They test the single case 00, which already separates OR from NAND and AND.

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

More on Semiconductors