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
With two-way (staircase) switches, flipping either switch changes the bulb's state. The bulb is ON when the switches are in different positions (in the usual wiring). That is the behaviour of an XOR gate. (With the opposite reference wiring it behaves like XNOR, but toggling on any input change is the XOR-type behaviour.)
Answer: (A) XOR Gate
Reinforce your conceptual grasp with related questions from NIMCET 2023:
Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.
Start Free Mock Test Series →