Question:medium

The truth table for the system of four NAND gates as shown in the figure is

Show Hint

Write the output of each NAND gate in terms of A and B and evaluate for all four input combinations.
Updated On: Nov 12, 2026
  • ABY
    001
    011
    100
    110
  • ABY
    001
    010
    100
    111
  • ABY
    000
    011
    101
    110
  • ABY
    000
    010
    101
    111
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Boolean Simplification
$Y=\overline{\overline{A\overline{AB}}\cdot\overline{B\overline{AB}}}=A\overline{AB}+B\overline{AB}$.

Step 2: Expand
$\overline{AB}=\bar A+\bar B$, so $A\overline{AB}=A\bar B$ and $B\overline{AB}=\bar A B$.
Therefore $Y=A\bar B+\bar A B$.

Step 3: Result
This is the XOR function: output 1 only when A and B differ. Option (C) shows this table.

Final Answer:
Simplifying gives Y equal to A B-bar plus A-bar B, the XOR table of option (C). \[ \boxed{\text{(C) }\text{Y = 0, 1, 1, 0 for AB = 00, 01, 10, 11}} \]
Was this answer helpful?
0