QlarIITy

PhysicsJEE Main 2025 · 29 JanuarySingle correct

The truth table for the circuit given below is :

A logic circuit: the upper AND gate receives A directly and B through a NOT gate; the lower AND gate receives A through a NOT gate and B directly. The outputs of the two AND gates are the inputs of an OR gate, whose output is Y.
  1. Option A: Table A
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 1 B = 0 gives Y = 0, A = 1 B = 1 gives Y = 0, A = 0 B = 1 gives Y = 1.
  2. Option B: Table B
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 1 B = 1 gives Y = 1, A = 1 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 1.
  3. Option C: Table C
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 1 B = 0 gives Y = 1, A = 0 B = 1 gives Y = 0, A = 1 B = 1 gives Y = 0.
  4. Option D: Table D
    Truth table with columns A, B, Y: A = 0 B = 0 gives Y = 0, A = 0 B = 1 gives Y = 1, A = 1 B = 0 gives Y = 1, 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. 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

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

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

Picture the situation. The upper AND gate fires only for A = 1 with B = 0; the lower one only for A = 0 with B = 1. The OR gate fires if either does. So the output is high exactly when the two inputs disagree.

A truth table with the columns A, B, upper AND, lower AND and Y: for the inputs 00, 01, 10 and 11 the output Y 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 AA and B‾\overline{B}, giving AB‾A\overline{B}. The lower AND gate receives A‾\overline{A} and BB, giving A‾B\overline{A}B.

  2. Step 2: The output

    The OR gate adds the two:

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

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

  3. Step 3: Matching

    Table D lists 00, 01, 10, 11 with outputs 0, 1, 1, 0, which is this function.

Answer. (D) Table D

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) It gives 1 only for A = 0, B = 1 and 0 for A = 1, B = 0, but the upper AND gate makes that output 1.
  • (B) It gives 1 for the inputs 11, the table of an OR gate; here equal inputs give 0.
  • (C) It gives 1 only for A = 1, B = 0 and 0 for A = 0, B = 1, but the lower AND gate makes that output 1.

Key takeaway

The trap. The exclusive OR differs from OR only in the row 11.

How toppers think. They look at the row 11 first: it separates OR from exclusive OR.

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

More on Semiconductors