Q. 1 A bulb in a staircase has two switches, one switch being at the ground floor and the other one at the first floor. The bulb can be turned ON and also can be turned OFF by any one of the switches irrespective of the state of the other switch. The logic of switching of the bulb resembles
(A) and AND gate
(B) an OR gate
(C) an XOR gate
(D) a NAND gate
Answer: C
Explanation: