The output for the inputs and of the circuit is given by:


- A
- B
- C
- D
The output for the inputs and of the circuit is given by:


Correct answer:D
Standard Method
Given: The logic circuit has inputs and . Find: The correct truth table for output .
Given circuit represent XOR.
The circuit is an implementation of the XOR gate using NAND gates. Therefore its output is
The XOR truth table is
Therefore, the correct option is D.
Truth Table Verification
Given: The circuit is made of NAND gates. Find: Which option matches the output .
To solve the given circuit and determine the output for the inputs and , analyze the logic gates used in the circuit.
The circuit provided in the image represents an XOR gate. The intermediate outputs are:
The next two NAND gate outputs become
and
The final NAND gate gives
Evaluating for all input combinations:
So the truth table is
Hence, the given circuit represents an XOR gate and the correct option is D.

Mistake: Treating the network as a single NAND gate output. Why it is wrong: the combination of several NAND gates changes the logic function. What to do instead: identify the full gate combination before writing the truth table.
Mistake: Confusing XOR with XNOR. Why it is wrong: XOR gives output when the inputs are different, while XNOR gives output when the inputs are the same. What to do instead: check the rows and carefully.
Mistake: Reading option numbering incorrectly and mapping Option 4 to the wrong label. Why it is wrong: in the final record, the fourth option corresponds to label D. What to do instead: map options in order as A, B, C, D.
Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.