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 IT ERP Programmer Job Interview Questions And Answers
Top IT ERP Programmer Questions:
☺ | What kind of work interests you the least As IT ERP Programmer? |
☺ | Give me a specific example of a time when you had to conform to a policy with which you did not agree? |
☺ | The change in the business industry now requires you to have a new set of skills you have to learn, how do you react to that? |
☺ | Top 12 Stress Based Interview Questions As IT ERP Programmer: |
☺ | Explain what are your weaknesses As IT ERP Programmer? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |