Creating circuit diagrams from verbal descriptions. (Digital Logic)
Perhaps you live in a land of single-story houses and are not familiar with stairway light switches. The idea is that you can change the state of the light by switching either switch. Here's how they're wired. 







simulate this circuit &ndash; Schematic created using CircuitLab

Figure 1. Stairway lighting circuit. Note that the logic can be inverted if the wires are crossed over between the switches so there are two possible solutions.

Now back to your truth table ...