I was a bit surprised to see a circuit question appear in an Abstract algebra test paper:
A hall light is controlled by two switches one upstairs and one downstairs. Design a Boolean circuit so that the light so that light can be switched on or off from upstairs or downstairs.
I'm not completely sure how to approach this problem. I was thinking along the lines of "say bulb is on if both A and B are same (either $0$ or $1$).
So I get the Boolean expression as $(A\wedge B)\vee (A'\wedge B')$ from the truth table.
Would the circuit be two switches $A$ and $B$ in series which as a whole is parallel to A' and B' in series?
Is this approach correct?