Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



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





Solution

Staircase Bulb Switch Logic

Question:
A staircase bulb is controlled by two switches — one at each floor. Each switch can independently turn the bulb ON or OFF, regardless of the other switch's position. What logic gate does this resemble?

✅ Correct Answer: Exclusive OR (XOR) Gate

Explanation:

In XOR logic, the output is ON (1) when inputs are different, and OFF (0) when inputs are the same. Similarly, the bulb glows when the switches are in different states and turns OFF when both are in the same state.

Logic Used: XOR Gate



Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...