QlarIITy

PhysicsJEE Main 2022 · 27 JuneSingle correct

Identify the correct Logic Gate for the following output (YY) of two inputs AA and BB.

Three waveforms, Input A, Input B and Output, drawn one above the other across eight equally spaced dotted lines, with the levels 1 and 0 marked. Input A is 1 in the first interval, 0 in the next two, 1 in the next two, 0 in the next two, and then 1. Input B is 1 in the first interval and then changes at every line. The output is 0 in the first interval, 1 in the next three, 0 in the fifth, and 1 afterwards.
  1. Option A: Diagram A
    Inputs A and B connected to an OR gate, followed by a NOT gate, whose output is Y.
  2. Option B: Diagram B
    Inputs A and B connected to an AND gate, followed by a NOT gate, whose output is Y.
  3. Option C: Diagram C
    Inputs A and B connected to an OR gate that has an inverting bubble on its A input, followed by a NOT gate, whose output is Y.
  4. Option D: Diagram D
    Input A connected directly and input B through a NOT gate to a NAND gate, whose output is Y.
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. An output that is low only when both inputs are high identifies a NAND gate.

Concept refresher. The waveforms of a gate are its truth table spread out in time: in each interval the levels of the inputs and of the output give one row. A gate whose output is 0 only when both inputs are 1 is a NAND gate,

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

which can be drawn as an AND gate followed by a NOT gate.

Picture the situation. Look at the two stretches where the output is low. In both of them the two inputs are high together. Everywhere else, with at least one input low, the output is high. That is the mark of a NAND gate.

A table of the inputs A and B and the output in the first seven intervals, counted from the left: the output is 0 in the first and the fifth intervals, where A and B are both 1, and 1 in the other five.

Approach. Read off the rows of the truth table from the waveforms and find the circuit that gives them.

  1. Step 1: Rows from the waveforms

    In the first interval and in the fifth, A = 1 and B = 1, and the output is 0. In the other intervals the inputs are 00, 01 or 10, and the output is 1 each time.

  2. Step 2: The operation

    An output that is 0 only for the inputs 11 is the NAND operation, Y=A⋅B‾Y = \overline{A \cdot B}.

  3. Step 3: The circuit

    A NAND operation is an AND gate followed by a NOT gate, which is diagram B.

Answer. (B) Diagram B

Sanity check. The second interval, with both inputs 0 and the output 1, rules out any circuit whose output is low for 00.

Why the other options are wrong

  • (A) An OR gate followed by a NOT gate is a NOR gate, which gives 0 when one input is 1; the output is 1 in those intervals.
  • (C) With the bubble on input A it gives AB‾A\overline{B}, which is 0 for the inputs 00; the output is 1 there.
  • (D) With the NOT gate on input B it gives A‾+B\overline{A} + B, which is 1 for the inputs 11; the output is 0 there.

Key takeaway

The trap. Check every distinct combination of inputs, not just the first interval.

How toppers think. They look at where the output is low and read the inputs there.

Remember. Y=A⋅B‾Y = \overline{A \cdot B}: 0 only for 1 and 1.

More on Semiconductors