QlarIITy

PhysicsJEE Main 2021 · 26 AugustSingle correct

Four NOR gates are connected as shown in figure. The truth table for the given figure is :

A logic circuit of four NOR gates: inputs A and B feed the first NOR gate. Its output goes to two more NOR gates, the upper one together with A and the lower one together with B. The outputs of these two gates feed the fourth NOR 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 = 0, 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 = 1, 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 = 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 = 0, A = 0 B = 1 gives Y = 1, A = 1 B = 0 gives Y = 0, A = 1 B = 1 gives Y = 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. The four-gate pattern gives an exclusive OR with NAND gates and an exclusive NOR with NOR gates.

Concept refresher. A NOR gate gives P+Q‾\overline{P + Q}, which by De Morgan's theorem equals P‾⋅Q‾\overline{P} \cdot \overline{Q}. The inverse of the exclusive OR is the exclusive NOR,

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

which is 1 when the two inputs are equal and 0 when they differ.

Picture the situation. The first gate makes the NOR of A and B and shares it with two more gates, one of which also sees A and the other B. Each of these picks out one of the cases in which the inputs differ. The last NOR gate gives 1 only when neither of them fires, that is when the inputs are equal.

A truth table with the columns A, B, first, upper, lower and Y for the four NOR gates: for the inputs 00, 01, 10 and 11 the output Y is 1, 0, 0 and 1.

Approach. Carry the output of the first NOR gate through the circuit and simplify at each stage.

  1. Step 1: First NOR gate

    It receives AA and BB and gives N=A+B‾N = \overline{A + B}.

  2. Step 2: Upper and lower NOR gates

    The upper gate gives A+N‾=A‾⋅(A+B)=A‾B\overline{A + N} = \overline{A} \cdot (A + B) = \overline{A}B. The lower gate gives B+N‾=B‾⋅(A+B)=AB‾\overline{B + N} = \overline{B} \cdot (A + B) = A\overline{B}.

  3. Step 3: Last NOR gate

    It inverts the sum of these two:

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

    which is 1 when the inputs are equal and 0 when they differ.

  4. Step 4: Matching

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

Answer. (C) Table C

Sanity check. Check the row 00: the first gate gives 1, so both middle gates give 0, and the last NOR gate gives 1, as Table C says.

Why the other options are wrong

  • (A) Its outputs 1, 0, 1, 0 are the complement of B; for the inputs 11 this circuit gives 1.
  • (B) Its outputs 0, 1, 1, 0 are those of an exclusive OR, the inverse of what this circuit gives.
  • (D) Its outputs 0, 1, 0, 1 are simply the column of B; for the inputs 00 this circuit gives 1.

Key takeaway

The trap. The same wiring with a different gate type gives the inverse function.

How toppers think. They check the rows 00 and 11: equal inputs must give 1 here.

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

More on Semiconductors