Question:

The corresponding logic gate for the given truth table is

Show Hint

The XOR gate is the only gate where the output is 1 when the inputs are different (i.e., one is 1, and the other is 0).
Updated On: Apr 15, 2025
  • XOR
  • OR
  • AND
  • NAND
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Understanding the given truth table.
The truth table shows that the output is 1 when either \( A \) or \( B \) is 1, but not both. This corresponds to the behavior of an XOR (exclusive OR) gate, which outputs 1 when exactly one of the inputs is 1, and 0 when both inputs are the same. 
Step 2: Identifying the logic gate.
XOR gate outputs 1 when the inputs are different, and 0 when they are the same.
OR gate outputs 1 if either of the inputs is 1.
AND gate outputs 1 only when both inputs are 1.
NAND gate is the inverse of the AND gate, outputting 1 except when both inputs are 1.
Thus, the correct answer is 
(A) XOR.

Was this answer helpful?
0
0