Microsoft interview questions-three bulbs-three switches

Source: Internet
Author: User

This is a question Microsoft uses to test candidates. It mainly examines the trainers' logical thinking and judgment abilities, and also provides some inspiration for the trainees on the problem solving methods.

Game rules andProgram
1. there are two rooms, one with three lights, and the other with three switches controlling the three lights. The two rooms are split, you cannot see another situation from one.
2. Now, the trainees are required to enter the two rooms once, and then determine which switch controls the three lights respectively.
3. What is the solution?

Related discussions
1. Ask the trainees to explain the key to solving this problem?
2. Have you thought about the feature of electric heating?

Summary
There are often some difficulties at work that need to be solved by the accumulated knowledge of daily life. This game is a good reminder.

Answer
1. First enter the room with a switch, and number the three switches as a B C.
2. Turn switch a on for 5 minutes, then turn off, and then turn on B

3. Then, go to another room to identify that the bright light is controlled by the B switch. Touch the other two bulbs by hand. The heat is controlled by Switch A, and the other must be switched to C.

Form: Personal completion
Time: 3 minutes
MATERIALS: None
Venue: Unlimited

Application:
(1) Creation of Creative Thinking
(2) Breaking the limitations of traditional thinking
Three bulbs
There are two houses, house a and House B. There are three switches in House A, and House B has three bulbs. The room A cannot see the room B, every switch in house a controls one of the bulb bulbs in House B and asks you how to stay in house a only once and once, but you can know which switch is to control which light bulb?
Answer: first open a switch to the House, wait for a while, then turn it off, then turn on another switch, and then go to the second house. A light bulb that is hot but not bright is controlled by the first switch, bright is the second switch, which is controlled by the third switch.

From http://blog.csdn.net/givemefive888/article/details/5218124

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.