QlarIITy

PhysicsJEE Main 2023 · 29 JanuarySingle correct

For the given logic gates combination, the correct truth table will be

A logic circuit: input A goes through a NOT gate to the upper AND gate, and input B through a NOT gate to the lower AND gate. A slanting wire takes A itself to the lower AND gate, and another, crossing the first without touching it, takes B itself to the upper AND gate. The outputs of the two AND gates feed an OR gate, whose output is X.
  1. Option A: Table A
    Truth table with columns A, B, X: A = 0 B = 0 gives X = 1, A = 0 B = 1 gives X = 0, A = 1 B = 0 gives X = 0, A = 1 B = 1 gives X = 0.
  2. Option B: Table B
    Truth table with columns A, B, X: A = 0 B = 0 gives X = 0, A = 0 B = 1 gives X = 1, A = 1 B = 0 gives X = 1, A = 1 B = 1 gives X = 0.
  3. Option C: Table C
    Truth table with columns A, B, X: A = 0 B = 0 gives X = 1, A = 0 B = 1 gives X = 0, A = 1 B = 0 gives X = 1, A = 1 B = 1 gives X = 0.
  4. Option D: Table D
    Truth table with columns A, B, X: A = 0 B = 0 gives X = 0, A = 0 B = 1 gives X = 1, A = 1 B = 0 gives X = 1, A = 1 B = 1 gives X = 1.
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. Two AND gates with one input inverted each, followed by an OR gate, make an exclusive OR.

Concept refresher. An AND gate gives the product of its inputs, an OR gate their sum and a NOT gate the complement. Two AND gates, each taking one input directly and the other inverted, followed by an OR gate, give

X=A‾B+AB‾X = \overline{A}B + A\overline{B}

This is the exclusive OR: it is 1 when the two inputs differ and 0 when they are equal.

Picture the situation. Each input reaches the AND gate on its own side through a NOT gate, and the AND gate on the other side directly, along a slanting wire. So the upper gate fires for A = 0 with B = 1 and the lower gate for A = 1 with B = 0. The OR gate fires if either does.

A truth table with the columns A, B, upper AND, lower AND and X: for the inputs 00, 01, 10 and 11 the output X is 0, 1, 1 and 0.

Approach. Write the output expression and evaluate it for each pair of inputs.

  1. Step 1: The two AND gates

    The upper AND gate receives A‾\overline{A} from its NOT gate and BB from the slanting wire, giving A‾B\overline{A}B. The lower AND gate receives AA from the other slanting wire and B‾\overline{B}, giving AB‾A\overline{B}.

  2. Step 2: The output

    The OR gate adds the two:

    X=A‾B+AB‾X = \overline{A}B + A\overline{B}

    which is 1 for the inputs 01 and 10 and 0 for 00 and 11.

  3. Step 3: Matching

    The outputs 0, 1, 1, 0 for the inputs 00, 01, 10, 11 are those of Table B.

Answer. (B) Table B

Sanity check. For equal inputs each AND gate receives a 0 on one input, so both give 0 and the output is 0.

Why the other options are wrong

  • (A) Its outputs 1, 0, 0, 0 are those of a NOR gate; for the inputs 00 both AND gates here give 0.
  • (C) Its outputs 1, 0, 1, 0 are the complement of B; this circuit gives 1 for the inputs 01.
  • (D) Its outputs 0, 1, 1, 1 are those of an OR gate; for the inputs 11 both AND gates here give 0.

Key takeaway

The trap. Where wires cross with a hop there is no connection; follow each wire to its own gate.

How toppers think. They test the rows 00 and 11: both must give 0, which only one table does.

Remember. X=A‾B+AB‾X = \overline{A}B + A\overline{B}: 1 when the inputs differ.

More on Semiconductors