Post:

You have three switches in one room and a single light bulb in another room. You are allowed to visit the room with the light bulb only once. How do you figure out which switch controls the bulb? Write your answer in the comments before looking at other answers.


Comment:

If this were an interview question, the correct response would be "Do you have any relevant questions for me? Because have a long list of things that more deserving of my precious time than to think about this!

  • Pommes_für_dein_Balg@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 months ago
    • Use the heat of the bulb to determine if it was on. (Shows you can memorize stupid interview questions)
    • Ask a team member to coordinate with you in the other room. (You’re a team player)
    • Use a cable locator (Proper tool for the trade)
    • Put your phone in the other room, stream camera feed to your work laptop (The tech approach)
    • Unscrew the bulb. Now you know that no switch controls the bulb (Exposing the flaw in the task’s phrasing)
    • Open switch panel and disconnect one switch. Wait a day. If no one complains, disconnect the second. Wait a day. If no one complains, it’s probably the third. For good measure, disconnect the third switch. If still no one complains, remove all switches and the lightbulb, since they’re not needed anymore. (The Sysadmin approach)
  • fibojoly@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    It’s funny to read the reactions and the people not understanding that programming questions are not enough to judge you. We need people with functioning brains and that usually means problem solving skills. And sometimes the problems are fucking idiotic! Nobody cares about the light switches. We want to see how you think. We want people who don’t give up if they can’t look it up.

    You think you’re hot shit because you learnt the latest trendy language? I’ve wasted entire days with people like that because they couldn’t be fucking arsed reading error messages and figuring things out by themselves.

  • emotional_soup_88@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Dead serious question: I have only ever worked in the public sector (state level and local municipality) but often see or hear about these seemingly idiotic “interview questions” on television (and obviously memes).

    Is this:

    1. just a meme
    2. just a joke
    3. an actual phenomenon in the private sector

    If 3, what on earth is its purpose and what could the interviewer possibly find out about the applicant by asking this?

    I’m calm.

  • JRaccoon@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I think I was asked this very question in an interview once. I think I answered something along the lines of ‘If you have a light switch like that here in the office, the first thing I would recommend is calling in an electrician to change and move the switch to the correct room. Why would you have a light switch that controls a light in a different room and apparently two switches that do nothing??’

    Got the job.

      • JRaccoon@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Sure, but I would still argue the bathroom light switch should be located, I don’t know, next to the bathroom door? And most definitely there shouldn’t be two totally useless switches there.

        I don’t think I would like to work for a company that struggles this much with light switches…

  • sweafa@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    maybe dont care. hit all 3 of em. answer is: i have figured out that one of the 3 switches controls the bulb (or not)

    • danhab99@programming.devOP
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      You have to report back which individual switch it is such that another person is able to control the light bulb reliably because they know which switch