QlarIITy

PhysicsJEE Main 2024 · 29 JanuarySingle correct

The truth table for this given circuit is:

A logic circuit: input A goes to the upper AND gate and, through a NOT gate, to the lower AND gate. Input B goes to the lower AND gate and, by a wire that crosses the inverted line without touching it, to the upper AND gate. The outputs of the two AND gates feed 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 = 1, A = 0 B = 1 gives Y = 1, A = 1 B = 0 gives Y = 1, A = 1 B = 1 gives Y = 0.
  2. Option B: Table B
    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 = 0, A = 1 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 = 0 B = 1 gives Y = 0, A = 1 B = 0 gives Y = 0, 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 = 0, 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. When both AND gates share an uninverted input and take the other in both forms, the output is the shared input.

Concept refresher. An AND gate gives the product of its inputs and an OR gate their sum. A variable ORed with its own complement is always 1:

A+A‾=1A + \overline{A} = 1

so a common factor multiplied by both a variable and its complement survives alone: AB+A‾B=BAB + \overline{A}B = B.

Picture the situation. Input B reaches both AND gates unchanged. The upper gate passes B when A is 1, and the lower gate, which gets the inverted A, passes B when A is 0. One of them is always open, so B always gets through to the OR gate.

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, 0 and 1.

Approach. Write the output expression, simplify it, and compare with the tables.

  1. Step 1: The two AND gates

    The upper AND gate receives AA and BB and gives ABAB. The lower AND gate receives A‾\overline{A}, from the NOT gate, and BB, and gives A‾B\overline{A}B.

  2. Step 2: The output

    The OR gate adds the two, and the common factor BB can be taken out:

    Y=AB+A‾B=(A+A‾)B=BY = AB + \overline{A}B = (A + \overline{A})B = B
  3. Step 3: Matching

    The output equals B in every row: 0, 1, 0, 1 for the inputs 00, 01, 10, 11, which is Table B.

Answer. (B) Table B

Sanity check. Check the row 01: the lower AND gate receives 1 and 1 and gives 1, so the output is 1, as Table B says.

Why the other options are wrong

  • (A) Its outputs 1, 1, 1, 0 are those of a NAND gate; for the inputs 00 both AND gates here give 0.
  • (C) Its outputs 0, 0, 0, 1 are those of the upper AND gate alone, leaving out the lower one.
  • (D) Its outputs 1, 0, 1, 0 are the complement of B; the circuit gives B itself.

Key takeaway

The trap. Not every circuit with two AND gates, a NOT gate and an OR gate is an exclusive OR.

How toppers think. They factor out the common input and use the complement law.

Remember. AB+A‾B=BAB + \overline{A}B = B.

More on Semiconductors