Suppose there are three light switches outside a room. Inside is a single light bulb, controlled by one of the three switches. You need to determine which switch operates the bulb. You can turn the switches on and off as many times as you wish (they are all off to begin with), but may only enter the room once. There is no one there to help you. The door to the room is closed, and there are no windows, so you cannot see inside. How can you discover which switch operates the bulb?
Submitted by: AdministratorDo the following steps:
☛ 1. Turn ON two switches, and leave one OFF.
☛ 2. Wait a few minutes.
☛ 3. Turn one switch from ON to OFF. One is now ON and two are OFF
☛ 4. Enter the room. - If the light is ON, it is controlled by the switch you left ON. - If the light bulb is OFF, touch it. If it is warm it is controlled by the switch you turned ON and OFF. If it is cold, it is controlled by the switch you never turned on.
Submitted by: Administrator
☛ 1. Turn ON two switches, and leave one OFF.
☛ 2. Wait a few minutes.
☛ 3. Turn one switch from ON to OFF. One is now ON and two are OFF
☛ 4. Enter the room. - If the light is ON, it is controlled by the switch you left ON. - If the light bulb is OFF, touch it. If it is warm it is controlled by the switch you turned ON and OFF. If it is cold, it is controlled by the switch you never turned on.
Submitted by: Administrator
Read Online Director Software Design Job Interview Questions And Answers
Top Director Software Design Questions:
☺ | Top 11 Questions to Verify Experience and Credentials As Director Software Design: |
☺ | How do you evaluate your ability to handle conflict? |
☺ | Give an example of a time you successfully worked As Director Software Design on a team? |
☺ | Are you planning to continue your studies and training As Director Software Design? |
☺ | Why should the we hire you as this position As Director Software Design? |
Top Software System Design Categories
☺ | Technical Writer Interview Questions. |
☺ | Requirements Management Interview Questions. |
☺ | Project Planning Interview Questions. |
☺ | Design Patterns Interview Questions. |
☺ | Software Design Tools Interview Questions. |