Question:

A bulb in the staircase has two switches, one switch is at the ground floor and the other one is at the first floor. The bulb can be turned ON and also can be turned OFF by any of the switches irrespective of the state of the other switch. The logic of the switching of the bulb resembles.

Show Hint

The XOR gate outputs true (1) when an odd number of inputs are true (1). This matches scenarios where a switch can toggle the state regardless of the other switch.
Updated On: Oct 7, 2025
  • XOR Gate
  • AND Gate
  • OR Gate
  • XNOR Gate
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

The described scenario of the bulb being turned ON and OFF by either switch, irrespective of the other switch's state, is a classic example of an XOR (Exclusive OR) gate. In an XOR gate, the output is 1 (ON) if an odd number of inputs are 1 (ON). This fits the condition where either switch can turn the bulb ON or OFF, depending on its state. Thus, the correct answer is \( \boxed{\text{XOR Gate}} \).
Was this answer helpful?
0
0