|
|
Took me a couple minutes, but I remembered the answer... It's a nice warm-up problem...
|
|
|
|
|
|
What's the purpose of going to the attic if you cannot go back to the switches afterward?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I send a drone to the attic with a camera so I can see which switch switches the light on.
|
|
|
|
|
The classic solution (which I won't give away) may not work too well with modern LED globes! CFLs maybe.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Exactly what I thought, this "riddle" is going to die out...
|
|
|
|
|
Should still work but may need to take quite a bit longer.
|
|
|
|
|
CFLs still get hot enough to the touch that you don't want to replace them immediately after they fail. LED's are only marginally more efficient; half of the "bulb" ends up being a heat sink. Bean counters being what they are; I'd expect it to be the bare minimum size required and to still get nice and warm.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
I don't know... my LED bulbs would definitely fit the solution. It pains me to say, but I just checked.
|
|
|
|
|
Agreed. But don't you think you gave it away, through your comment anyway?
|
|
|
|
|
|
if the light is incandescent or halogen, it will get hot if left on. so switch on the first switch, and get distracted for 10 minutes, switch it off, switch on the next one and race upstairs. If the light is on, it is that 2nd switch. If it is off but hot, it was the first switch. Else it is the third switch. If it's an energy-efficient bulb, this won't work.
|
|
|
|
|
|
Member 11762424 wrote: If it's an energy-efficient bulb, this won't work.
Not necessarily true. Every bulb I have ever had has gotten hot - Incandescent, Fluorescent, and LED all produce heat. The latter two just produce less heat, so you need to run quicker.
|
|
|
|
|
Our AI teacher on CS faculty gave us this assignment (and other of similar type about 15 years ago) to promote analog type of thinking ... meaning that not everything is about zeros and ones in computer science.
modified 19-Nov-18 21:01pm.
|
|
|
|
|
Check the other rooms if their light go on/off?
"Program testing can be used to show the presence of bugs, but never to show their absence."
<< please vote!! >></div>
|
|
|
|
|
Firstly turn on switch1 for 1 minute, after 1 minute turn off the switch1, then turn on the switch2.
go to the room and check the cases:
case1: If bulb is on then switch2 is default switch.
case2: Touch bulb by your hand if it is warm then switch1 is default switch.
case3: If bulb is cold/normal then switch3 is default switch.
default: No switch is working.
|
|
|
|
|
It's an analog solution, don't think in digital terms...unless you are well-versed in three-state logic.
And yes the solution will work with CFL or LED bulbs, none of them are 100% efficient.
|
|
|
|
|
|
That was one of the three questions I was asked during an interview with a firm in Westlake Village. I got the job, so I guess I gave the answer that they wanted. Really, it's about common sense. The other question was to solve an equation for variables. It was perhaps solvable or not, but if you experimented by putting in some values, you figured out that any variables where y was x*2 and z was x*3 would work.
I thought they were good tests. Common sense and problem solving.
|
|
|
|
|
Okay,
I had to think threw it a bit.
Of course, my first reaction to the solution was my father yelling at me!
And the hint is that you have to change 1 inspection to inspect for 2 potential details,
to overcome the 3:1 input:output problem
Nice puzzle
|
|
|
|
|
correct answer assuming all the switches are in the OFF position to begin with is, since you only can make one trip and you dont know which one it is. You turn them ALL on, and then can go. This is a waste of electricity but NOT a waste of time. so depending on the time frame, you can play with switches and guess/deduce with one it "probably" is but ....
turning them ALL on, solves the puzzle.
|
|
|
|
|
Had this question at a job interview. It's a lateral thinking exercise. My experience with software development over 35 years is that lateral thinking is virtually never a part of the mental toolkit for software development.
Oh, by the way, the solution requires that the bulb be an incandescent bulb. It won't work with an LED bulb or electroluminescent night light.
|
|
|
|
|
What if you have an LED bulb in in the attic?
|
|
|
|