QlarIITy

PhysicsJEE Main 2021 · 26 FebruarySingle correct

Draw the output signal YY in the given combination of gates.

Two input signals drawn against time t in seconds, from 0 to 5 s, and a gate circuit. Signal A is high from 0 to 2 s, low from 2 s to 3 s and high from 3 s to 5 s. Signal B is low from 0 to 1 s, high from 1 s to 2 s, low from 2 s to 3 s, high from 3 s to 4 s and low after that. In the circuit, A is connected to both inputs of a NAND gate; the output of this gate and B are the inputs of an OR gate, which is followed by a NOT gate whose output is Y.
  1. Option A: Diagram A
    A signal against time t in seconds, from 0 to 5 s: high from 0 to 1 s, low from 1 s to 4 s and high from 4 s to 5 s.
  2. Option B: Diagram B
    A signal against time t in seconds, from 0 to 5 s: it stays at zero throughout.
  3. Option C: Diagram C
    A signal against time t in seconds, from 0 to 5 s: it stays high from 0 to 5 s.
  4. Option D: Diagram D
    A signal against time t in seconds, from 0 to 5 s: low from 0 to 1 s, high from 1 s to 4 s and low after that.
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 gates to one expression, then apply it interval by interval to the input waveforms.

Concept refresher. A NAND gate with its two inputs joined gives A⋅A‾=A‾\overline{A \cdot A} = \overline{A}. An OR gate followed by a NOT gate gives the inverse of the sum of its inputs, and by De Morgan's theorem

P+Q‾=P‾⋅Q‾\overline{P + Q} = \overline{P} \cdot \overline{Q}

For signals that change with time, the expression is applied separately in each interval.

Picture the situation. The circuit boils down to one rule: Y is high only while A is high and B is low. Slide along the time axis. In the first second A is high and B is low. Then B rises, later A drops, and the output stays low until the last second, when A is high and B is low once more.

A table of A, B and Y in each second from 0 to 5 s: Y is 1 from 0 to 1 s and from 4 s to 5 s, where A is 1 and B is 0, and 0 in the three seconds between.

Approach. Reduce the circuit to one expression and evaluate it in each one-second interval.

  1. Step 1: Expression for the output

    The NAND gate with joined inputs gives A‾\overline{A}. The OR gate gives A‾+B\overline{A} + B, and the NOT gate inverts it:

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

    So YY is 1 only when A=1A = 1 and B=0B = 0.

  2. Step 2: Reading the inputs

    Signal A is high from 0 to 2 s2\ \text{s} and from 3 s3\ \text{s} to 5 s5\ \text{s}. Signal B is high from 1 s1\ \text{s} to 2 s2\ \text{s} and from 3 s3\ \text{s} to 4 s4\ \text{s}.

  3. Step 3: Interval by interval

    From 0 to 1 s1\ \text{s}, A is 1 and B is 0, so Y is 1. From 1 s1\ \text{s} to 2 s2\ \text{s} both are 1, so Y is 0. From 2 s2\ \text{s} to 3 s3\ \text{s}, A is 0, so Y is 0. From 3 s3\ \text{s} to 4 s4\ \text{s} both are 1, so Y is 0. From 4 s4\ \text{s} to 5 s5\ \text{s}, A is 1 and B is 0, so Y is 1.

  4. Step 4: Matching

    The output is high in the first second and in the last, and low in between, which is diagram A.

Answer. (A) Diagram A

Sanity check. The output can be high only where A is high, so it must be low from 2 s2\ \text{s} to 3 s3\ \text{s}; a diagram that is high there cannot be right.

Why the other options are wrong

  • (B) A flat zero would need B high or A low all the time; in the first second A is high and B is low, so the output is high there.
  • (C) A constant high output ignores the interval from 2 s2\ \text{s} to 3 s3\ \text{s}, in which A is low and the output must be low.
  • (D) It is high from 1 s1\ \text{s} to 4 s4\ \text{s}, exactly where the true output is low: it is the inverse of the correct signal.

Key takeaway

The trap. A gate with its inputs tied together inverts its signal; it does not pass it on.

How toppers think. They mark the intervals in which A is high and strike out those in which B is high.

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

More on Semiconductors