Saturday, January 4, 2014

Puzzles



Suppose that there is a building with 100 floors. You are given 2 identical eggs. The most interesting property of the eggs is that every egg has it’s own “threshold” floor. Let’s call that floor N. What this means is that the..



There are 100 prisoners standing in a row, all facing forward in one direction, i.e., the 100th prisoner can see the 99 prisoners in front of him, the 99th can see 98 in front of him, but can't see the persons standing behind him. All the prisoners are wearing a hat, of either Red or Black color..




Q2. What is the number of zeros in 100! ?
Solution:  24


Q3. If a number is chosen between 100 and 999 including these numbers, what is the probability that the number doesn't contain 7.

Solution: 0.72


The probability that the number doesn't contain 7
= P(1st digit is not 7) * P(2nd digit is not 7) * P(3rd digit is not 7)
= (8/9) * (9/10) * (9/10)
= 648/900
0.72



Q4. In a tournament 139 members participated. Each time 1 member will get by. What is the minimum number of matches to be held, to choose the 1 winner.

Solution:  138



Q5. In a 8x8 chessboard, what is the total number of squares?

Solution: 204


*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
*   *   *   *   *   *   *   *
Number of squares of each side 8 units = 1 
Number of squares of each side 7 units =   4 = 2*2
Number of squares of each side 6 units =   9 = 3*3
Number of squares of each side 5 units = 16 = 4*4
Number of squares of each side 4 units = 25 = 5*5
Number of squares of each side 3 units = 36 = 6*6
Number of squares of each side 2 units = 49 = 7*7
Number of squares of each side 1 units = 64 = 8*8

1 + 4 + 9 + 16 + 25 + 36 + 49 + 64 = 204


Q6. Given a 7mt long gld bar , need to cut and give to worker for 7 days (1 meter long). You are only allowed to cut the bar twice.

Solution:


Day 1: cut off a segment and pay them. They now have one segment.

Day 2: cut off a piece 2 segments big and give them that and ask for the first days gold back – they now have two segments
Day 3: Give them the single segment again. They now have three segments.
Day 4: give them the remaining piece with 4 segments and ask for all the other bits back. They now have 4 segments.
Day 5: give them the single segment. They now have 5 segments.
Day 6: Give them the ‘2 segment’ piece and ask for the single segment back. They now have 6 segments.
Day 7: give them the single segment. They now have 7 segments.

No comments :

Post a Comment