QlarIITy

PhysicsJEE Main 2024 · 8 AprilSingle correct

The output Y of following circuit for given inputs is:

A logic circuit: the OR gate receives A directly and B through a NOT gate; the lower AND gate receives B directly and A through a NOT gate. The outputs of the OR gate and the AND gate are the two inputs of a final AND gate, whose output is Y.
  1. Option A: A⋅B(A+B)A \cdot B(A + B)
  2. Option B: 0
  3. Option C: A‾⋅B\overline{A} \cdot B
  4. Option D: A⋅BA \cdot B
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. A product that contains a variable and its complement is zero.

Concept refresher. An OR gate gives the sum of its inputs and an AND gate their product, and a NOT gate gives the complement. A variable multiplied by its own complement is always 0:

A⋅A‾=0A \cdot \overline{A} = 0

so any product that contains both a variable and its complement vanishes.

Picture the situation. The last AND gate needs both of its inputs high at once. The lower input is high only for A = 0 with B = 1; but for exactly those inputs the OR gate above, which wants A high or B low, gives 0. The two conditions can never be met together.

A truth table with the columns A, B, OR gate, lower AND and Y: the OR gate gives 1, 0, 1, 1, the lower AND gate gives 0, 1, 0, 0, and the output Y is 0 in all four rows.

Approach. Write the output as a product and expand it.

  1. Step 1: The two intermediate outputs

    The OR gate receives AA and B‾\overline{B} and gives A+B‾A + \overline{B}. The lower AND gate receives BB and A‾\overline{A} and gives A‾B\overline{A}B.

  2. Step 2: The final AND gate

    The last gate is an AND gate, so its output is the product of these two expressions:

    Y=(A+B‾)⋅A‾B=AA‾B+B‾A‾BY = (A + \overline{B}) \cdot \overline{A}B = A\overline{A}B + \overline{B}\overline{A}B
  3. Step 3: Each term vanishes

    The first term contains AA‾A\overline{A} and the second contains B‾B\overline{B}B, and each of these is 0. So Y=0Y = 0 for every pair of inputs.

Answer. (B) 0

Sanity check. Checking the four input pairs directly gives 0 each time; for 01, the only case where the lower AND gate gives 1, the OR gate gives 0.

Why the other options are wrong

  • (A) equals ABAB, which is 1 for the inputs 11; the circuit gives 0 there, because the lower AND gate gives A‾B=0\overline{A}B = 0.
  • (C) is the output of the lower AND gate only; the last gate multiplies it by A+B‾A + \overline{B}, which is 0 whenever A‾B\overline{A}B is 1.
  • (D) is not formed anywhere in the circuit: neither gate of the first level receives both AA and BB uninverted.

Key takeaway

The trap. An intermediate output is not the final output.

How toppers think. They notice that A+B‾A + \overline{B} is exactly the complement of A‾B\overline{A}B, so their product must be 0.

Remember. A⋅A‾=0A \cdot \overline{A} = 0.

More on Semiconductors