NEET 2024 Re-test · Question 48 · Physics · Multiple choice (MCQ) · 4 marks · −1 for a wrong answer

The output Y for the inputs A and B of the given logic circuit is:

Figure for this question
  1. (1) A · B
  2. (2) Ā · B̄
  3. (3) A + B
  4. (4) Ā + B̄
Answer and solution

Answer (3)

Answer from the official final answer key (NEET (UG) 2024, NTA).

Solution

Each input NAND has its inputs joined, so it acts as NOT; then NAND of the two inverted inputs gives OR.

  1. Input gates. In the first two gates both inputs are tied together. A NAND gate with both inputs equal gives A · A̅ = Ā, so each one is a NOT gate. Their outputs are Ā and B̄.
  2. Final gate. The last gate is a NAND of Ā and B̄. Apply De Morgan's theorem.

    Y = Ā · B̄̅ = Ā̄̄ + B̄̄̄ = A + B

  3. So. The circuit behaves as an OR gate. The answer is option (3).

The idea to keep. A NAND gate with its inputs shorted is a NOT gate. Inverting both inputs and feeding them to a NAND gives OR. This is why NAND is called a universal gate.

Solution by PrepWiser.