QlarIITy

PhysicsJEE Main 2023 · 13 AprilSingle correct

For the following circuit and given inputs AA and BB, choose the correct option for output 'YY'

A logic circuit and its input waveforms. Input A feeds both inputs of a NOR gate and input B both inputs of an OR gate; the two outputs feed a NAND gate, whose output is Y. Below, on a time axis marked t1 to t6: A is 0, becomes 1 at t2, 0 at t3, 1 at t4 and 0 at t6; B is 0, becomes 1 at t1, 0 at t3, 1 at t4 and 0 at t5.
  1. Option A: Diagram A
    Output waveform on the time axis t1 to t6: 1 until t1, 0 from t1 to t2, then 1.
  2. Option B: Diagram B
    Output waveform on the time axis t1 to t6: 0 until t2, 1 from t2 to t6, then 0.
  3. Option C: Diagram C
    Output waveform on the time axis t1 to t6: 0 until t1, 1 from t1 to t2, then 0.
  4. Option D: Diagram D
    Output waveform on the time axis t1 to t6: 0 until t1, 1 from t1 to t6, then 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. Reduce the circuit to one expression, find when it is 0, and draw the output high everywhere else.

Concept refresher. A NOR gate with both inputs joined inverts its signal, while an OR gate with both inputs joined passes it unchanged. A NAND gate gives the inverse of the product of its inputs, and by De Morgan's theorem

A‾⋅B‾=A+B‾\overline{\overline{A} \cdot B} = A + \overline{B}

An output of this form is 0 only when A=0A = 0 and B=1B = 1 together. A waveform is built by applying the rule in each interval between changes of the inputs.

Picture the situation. The upper gate flips A and the lower gate passes B as it is. The NAND gate that follows gives a low output only when both of its inputs are high, that is only while A is low and B is high at the same time. On the timing diagram that happens in just one stretch.

A table of the inputs A and B and the output Y in each interval of time: Y is 0 only from t1 to t2, where A is 0 and B is 1, and 1 in the other six intervals.

Approach. Reduce the circuit to one expression and find the intervals where it is 0.

  1. Step 1: The circuit as one expression

    The first-level gates give A‾\overline{A} and BB, and the NAND gate gives

    Y=A‾⋅B‾=A+B‾Y = \overline{\overline{A} \cdot B} = A + \overline{B}

    so Y=0Y = 0 only while A=0A = 0 and B=1B = 1.

  2. Step 2: Reading the inputs

    From the figure, AA is 1 from t2t_2 to t3t_3 and from t4t_4 to t6t_6; BB is 1 from t1t_1 to t3t_3 and from t4t_4 to t5t_5.

  3. Step 3: Building the output

    A=0A = 0 with B=1B = 1 occurs only from t1t_1 to t2t_2. At every other time either AA is 1 or BB is 0, so the output is 1. The output is therefore high, dips to 0 between t1t_1 and t2t_2, and is high again afterwards: diagram A.

Answer. (A) Diagram A

Sanity check. Before t1t_1 and after t6t_6 both inputs are 0, so B‾=1\overline{B} = 1 and the output is high there, as diagram A shows.

Why the other options are wrong

  • (B) It is low before t1t_1 and after t6t_6, where both inputs are 0 and the circuit gives 1.
  • (C) It is the exact inverse of the right waveform: high only from t1t_1 to t2t_2, the one interval in which the output is low.
  • (D) It is high from t1t_1 to t2t_2, where A=0A = 0 and B=1B = 1 make the output 0.

Key takeaway

The trap. A gate with joined inputs inverts only if it has a bubble.

How toppers think. They look for the single input combination that gives 0 and locate it on the time axis.

Remember. A‾⋅B‾=A+B‾\overline{\overline{A} \cdot B} = A + \overline{B}.

More on Semiconductors