QlarIITy

PhysicsJEE Main 2019 · 12 AprilSingle correct

The truth table for the circuit given in the figure is:

A logic circuit: inputs A and B feed an OR gate. Input A is also taken, by a wire over the top, to one input of a NAND gate; the other input of the NAND gate is the output of the OR gate. The output of the NAND gate is Y.
  1. Option A: Table A
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 0 B = 1 gives Y = 0, A = 1 B = 0 gives Y = 1, A = 1 B = 1 gives Y = 1.
  2. Option B: Table B
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 0, A = 1 B = 0 gives Y = 0, A = 1 B = 1 gives Y = 0.
  3. Option C: Table C
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 1, A = 1 B = 0 gives Y = 1, A = 1 B = 1 gives Y = 1.
  4. Option D: Table D
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 1, A = 1 B = 0 gives Y = 0, A = 1 B = 1 gives Y = 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. Simplify the Boolean expression before filling the table; here the circuit is just an inverter of A.

Concept refresher. An OR gate gives A+BA + B and a NAND gate gives the inverse of the product of its inputs. A product in which one factor already contains the other reduces:

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

because if AA is 1 both factors are 1, and if AA is 0 the product is 0 whatever BB is.

Picture the situation. The NAND gate looks at two signals: A itself, and A-or-B. Whenever A is 1 both of these are 1 and the NAND gate gives 0. Whenever A is 0 the first of them is 0 and the NAND gate gives 1. The value of B never matters.

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

Approach. Write the output expression, simplify it, and fill in the four rows.

  1. Step 1: Expression for the output

    The NAND gate receives AA directly and A+BA + B from the OR gate:

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

    Since A⋅(A+B)=AA \cdot (A + B) = A, the output is Y=A‾Y = \overline{A}: the inverse of A, whatever B is.

  3. Step 3: The four rows

    For the inputs 00, 01, 10 and 11 the outputs are 1, 1, 0 and 0, which is Table D.

Answer. (D) Table D

Sanity check. Check the row 01: the OR gate gives 1, the NAND gate receives 0 and 1 and gives 1, as Table D says.

Why the other options are wrong

  • (A) Its outputs 0, 0, 1, 1 are the column of A itself; the NAND gate inverts it.
  • (B) Its outputs 1, 0, 0, 0 are those of a NOR gate; for the inputs 01 the NAND gate here receives 0 and 1 and gives 1.
  • (C) Its outputs are all 1; with A = 1 both inputs of the NAND gate are 1 and the output is 0.

Key takeaway

The trap. An input that also feeds a later gate directly can make the other input redundant.

How toppers think. They spot the absorption A(A + B) = A and write the answer column at once.

Remember. A(A+B)=AA(A + B) = A.

More on Semiconductors