QlarIITy

PhysicsJEE Main 2020 · 2 SeptemberSingle correct

In the following digital circuit, what will be the output at 'Z', when the input (A,B)(A, B) are (1,0)(1, 0), (0,0)(0, 0), (1,1)(1, 1), (0,1)(0, 1)?

A logic circuit: inputs A and B feed a NAND gate, and the same inputs feed an OR gate. The outputs of the NAND gate and the OR gate feed an AND gate. The output of the NAND gate and the output of the AND gate are the two inputs of a NOR gate, whose output is Z.
  1. Option A: 0, 0, 1, 0
  2. Option B: 1, 0, 1, 1
  3. Option C: 1, 1, 0, 1
  4. Option D: 0, 1, 0, 0
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. When one signal feeds a gate both directly and through an AND gate, the AND branch is absorbed.

Concept refresher. A NAND gate gives AB‾\overline{AB}, an OR gate gives A+BA + B, and a NOR gate gives the inverse of the sum of its inputs. A signal added to its own product with another signal is just itself (absorption):

X+XY=XX + XY = X

Picture the situation. The NAND output goes to two places: straight to the last gate, and into the AND gate. Whatever the AND gate does, it cannot be high unless the NAND output is high. So the last NOR gate is really only inverting the NAND output, and an inverted NAND is an AND.

A truth table with the columns A, B, NAND, OR, AND and Z, its rows in the order (1, 0), (0, 0), (1, 1), (0, 1): the output Z is 0, 0, 1 and 0.

Approach. Write the output expression, simplify it, and evaluate it for the four pairs in the order given.

  1. Step 1: Outputs of the first two gates

    The NAND gate gives P=AB‾P = \overline{AB} and the OR gate gives Q=A+BQ = A + B, naming the two signals for later use.

  2. Step 2: The AND gate

    It receives PP and QQ, so its output is the product PQ=AB‾⋅(A+B)PQ = \overline{AB} \cdot (A + B).

  3. Step 3: The NOR gate

    It receives PP and PQPQ. Since P+PQ=PP + PQ = P,

    Z=P+PQ‾=P‾=ABZ = \overline{P + PQ} = \overline{P} = AB
  4. Step 4: The sequence

    Z=ABZ = AB is 1 only for the pair (1,1)(1, 1). For (1,0)(1, 0), (0,0)(0, 0), (1,1)(1, 1), (0,1)(0, 1) the outputs are 0, 0, 1, 0.

Answer. (A) 0, 0, 1, 0

Sanity check. Check (1, 0) on the circuit: the NAND gate gives 1, which alone makes the NOR output 0, as the sequence says.

Why the other options are wrong

  • (B) It is the output of the OR gate for these pairs, 1, 0, 1, 1, not that of the whole circuit.
  • (C) It is the output of the NAND gate, 1, 1, 0, 1; the last gate inverts it.
  • (D) It is 1 only for the pair (0, 0), as a NOR gate fed with A and B directly would give; here the NOR gate is fed by the other gates.

Key takeaway

The trap. Give the outputs in the order in which the question lists the input pairs.

How toppers think. They spot that the AND output can be high only if the NAND output is high, and skip the algebra.

Remember. X+XY=XX + XY = X.

More on Semiconductors