Puzzle: Light Bulbs and Switches
Puzzle 1: Three switches outside a windowless room are connected to three lightbulbs inside the room. How can you determine which switch is connected to which bulb if you are only allowed to enter the room once?
Puzzle 2: There is a lightbulb inside the room. The door that lets you into the room is closed, and you cannot see if the light is on or off through the door. However, you know the light is off to start. Outside the room, there are three light switches. One of the switches controls the lightbulb inside the room. You can flip the switches however you want, but once you open the door, you can no longer touch the switches.
How do you figure out which one of the three switches controls the light?
Open the door. If the light is on, then switch number 2 controls it. If the light is off, then go and feel the bulb with your hand. If the bulb is hot, the switch number 1 controls it, and if the bulb is cold, then switch number 3, the one you did not touch, controls it.