You have two strings whose only known property is that when you light one end of either string it takes exactly one hour to burn. The rate at which the strings will burn is completely random and each string is different.
The LCD device should be able to tell the right time in the format HH:MM: SS in a 12-hour format. You can refer to the picture to get an idea. The device is a simple "level indicator" which has to be converted into a watch. How will you program it to work?
Two men play a dice game involving roll of two standard dice. Man X says that a 12 will be rolled first. Man Y says that two consecutive 7s will be rolled first. The men keep rolling until one of them wins.
John can eat 27 chocolates in an hour, Jacob can eat 2 chocolates in 10 minutes, and Jolly can eat 7 chocolates in 20 minutes. How long will it take them to share and eat a box of 120 chocolates whilst playing Chess?
If you had an infinite supply of water and 5-quart and 3-quart pails, how would you measure exactly 4 quarts? What is the least number of steps you need?