MCQEasyJEE 2023Logic Gates

JEE Physics 2023 Question with Solution

The output from a NAND gate having inputs AA and BB given below will be,

Input waveform diagram for logic gate question showing two digital signals A and B varying over equal time intervals marked by dashed vertical lines.
  • A
    Digital output waveform option showing high and low levels across several equal time intervals marked by dashed vertical lines.
  • B
    Digital output waveform option showing alternating high and low rectangular pulses across equal time intervals marked by dashed vertical lines.
  • C
    Digital output waveform option showing high and low levels across several equal time intervals marked by dashed vertical lines.
  • D
    Digital output waveform option showing a distinct sequence of low and high rectangular levels across equal time intervals marked by dashed vertical lines.

Answer

Correct answer:B

Step-by-step solution

Standard Method

Given: A NAND gate with input waveforms AA and BB.

Find: The correct output waveform.

A NAND gate gives the negation of the AND output.

Y=ABY = \overline{A \cdot B}

So the output is 11 for all input combinations except when both inputs are 11.

Truth table of NAND gate with columns A, B, and Y equals A dot B complemented, listing outputs 1, 1, 1, and 0.

From the truth table:

  • When A=0A = 0 and B=0B = 0, Y=1Y = 1
  • When A=0A = 0 and B=1B = 1, Y=1Y = 1
  • When A=1A = 1 and B=0B = 0, Y=1Y = 1
  • When A=1A = 1 and B=1B = 1, Y=0Y = 0

Now compare the given input waveforms interval by interval, first finding ABA \cdot B, and then taking its complement to obtain YY.

From the given inputs and truth table, the output waveform matches Option (2).

Therefore, the correct option is B.

Common mistakes

  • Using the output of an AND gate instead of a NAND gate is incorrect because NAND is the complement of AND. First find ABA \cdot B, then invert it to get Y=ABY = \overline{A \cdot B}.

  • Assuming the output becomes 00 whenever any one input is 00 is wrong. For a NAND gate, the output is 00 only when both inputs are 11.

  • Comparing only the pulse shapes visually without checking each time interval can lead to the wrong option. Match the waveform segment by segment using the truth table.

Practice more Logic Gates questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions