2008年1月21日星期一

Microsoft Interview Questions 3

Question:
Pay a person from a gold bar who is working with you for 7 days. (Only 2 Breaks is allowed.) How would you break the gold bar?)

Answer:
Two breaks give you a 4, 2 and a 1.


Day one, give him the 1. Tell him to bring it back the next day. End of day two, take back the 1 and give him the 2. Day 3, he gets the 1 back, but tell him to bring all 3 back the next day. Day 4 he gets the 4 and keeps it. Day 5 he gets the one, but has to bring it back on day 6. Day 6 he gets the 2, Day 7 he finally gets and keeps the 1 for a total of 7.

Question:
An analog clock reads 3:15. What is the angle between the minute hand and hour hand?

Simple Answer:
3 is 1/4 of 12 hours

Hence 1/4 * 360 = 90 degrees
15 is 1/4 of 60 minutes

Hence at 1/4 * 360 = 90 degrees
The hour hand will be 1/4 between the 3 and 4 which means 1/4 * (360 deg/12 hrs) = 7.5
So the angle between = 90 - 90 + 7.5 = 7.5 degrees


Interesting Question:
If a bear walks one mile south, turns left and walks one mile to the east and then turns left again, and walk one mile to the north, and it comes back to the starting point, what is the color of the bear?

Interesting Answer:
The color is white! It was because it is a polar bear and it starts at north pole!
To come back to the starting point, the polar bear would have to have started at the North Pole

沒有留言: