QlarIITy

PhysicsJEE Main 2023 · 11 AprilSingle correct

The logic operations performed by the given digital circuit is equivalent to:

A logic circuit: inputs A and B feed an OR gate, and the same inputs A and B feed an AND gate. The outputs of the OR gate and the AND gate are the inputs of a NAND gate, whose output passes through a NOT gate to give Y.
  1. Option A: NOR
  2. Option B: AND
  3. Option C: OR
  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 NAND gate followed by a NOT gate is an AND gate, and (A + B)·AB is just AB.

Concept refresher. An OR gate gives A+BA + B and an AND gate gives ABAB. A NAND gate followed by a NOT gate inverts twice, so together they give the plain product of their inputs. The product of A+BA + B and ABAB reduces, because AB=1AB = 1 already makes A+B=1A + B = 1:

(A+B)⋅AB=AB(A + B) \cdot AB = AB

Picture the situation. The NAND gate and the NOT gate after it cancel each other's inversion, so the tail of the circuit is an AND gate. It asks for A-or-B and A-and-B to be true together, and the second of these already includes the first.

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

Approach. Write the output expression and simplify it.

  1. Step 1: The first two gates

    The upper gate is an OR gate and gives A+BA + B; the lower gate is an AND gate and gives ABAB.

  2. Step 2: NAND followed by NOT

    The NAND gate gives (A+B)⋅AB‾\overline{(A + B) \cdot AB} and the NOT gate inverts it again:

    Y=(A+B)⋅ABY = (A + B) \cdot AB
  3. Step 3: Simplifying

    Expanding, (A+B)⋅AB=AB+AB=AB(A + B) \cdot AB = AB + AB = AB, so the circuit performs the AND operation.

Answer. (B) AND

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

Why the other options are wrong

  • (A) A NOR gate would give 1 for the inputs 00; here the AND gate gives 0 there and the output is 0.
  • (C) An OR gate would give 1 for the inputs 01 and 10; here the lower AND gate gives 0 for them, and so does the output.
  • (D) is the output before the final NOT gate; the NOT gate inverts it into AND.

Key takeaway

The trap. A small inverter on the output line is easy to miss and reverses the answer.

How toppers think. They cancel the two inversions first and then simplify the product.

Remember. (A+B)⋅AB=AB(A + B) \cdot AB = AB.

More on Semiconductors