Micrsoft Puzzles, Riddles Placement Paper

Puzzles, Riddles and Others

0. Classic: If a bear walks one mile south, turns left and walks one
mile to the east and then turns left again and walks one mile north and
arrives at its original position, what is the color of the bear.

ANS. The color of the bear is trivial. The possible solutions to it are
interesting. In addition to the trivial north pole, there are
additional circles near south pole. Think it out.

* 1. Given a rectangular (cuboidal for the puritans) cake with a
rectangular piece removed (any size or orientation), how would you cut
the
remainder of the cake into two equal halves with one straight cut of a
knife?

ANS. Join the centers of the original and the removed rectangle. It
works for cuboids too! BTW, I have been getting many questions asking
why
a horizontal slice across the middle will not do. Please note the "any
size or orientation" in the question! Don't get boxed in by the way you
cut your birthday cake :) Think out of the box.

2. There are 3 baskets. one of them have apples, one has oranges only
and the other has mixture of apples and oranges. The labels on their
baskets always lie. (i.e. if the label says oranges, you are sure that
it
doesn't have oranges only,it could be a mixture) The task is to pick
one basket and pick only one fruit from it and then correctly label all
the three baskets.

HINT. There are only two combinations of distributions in which ALL the
baskets have wrong labels. By picking a fruit from the one labeled
MIXTURE, it is possible to tell what the other two baskets have.

3. You have 8 balls. One of them is defective and weighs less than
others. You have a balance to measure balls against each other. In 2
weighings how do you find the defective one?

4. Why is a manhole cover round?

HINT. The diagonal of a square hole is larger than the side of a cover!

Alternate answers: 1. Round covers can be transported by one person,
because they can be rolled on their edge. 2. A round cover doesn't need
to be rotated to fit over a hole.

5. How many cars are there in the USA?

6. You've got someone working for you for seven days and a gold bar to
pay them. The gold bar is segmented into seven connected pieces. You
must give them a piece of gold at the end of every day. If you are only
allowed to make two breaks in the gold bar, how do you pay your worker?

7. One train leaves Los Angeles at 15mph heading for New York. Another
train leaves from New York at 20mph heading for Los Angeles on the same
track. If a bird, flying at 25mph, leaves from Los Angeles at the same
time as the train and flies back and forth between the two trains until
they collide, how far will the bird have traveled?

HINT. Think relative speed of the trains.

8. You have two jars, 50 red marbles and 50 blue marbles. A jar will be
picked at random, and then a marble will be picked from the jar.
Placing all of the marbles in the jars, how can you maximize the
chances of a
red marble being picked? What are the exact odds of getting a red
marble using your scheme?

9. Imagine you are standing in front of a mirror, facing it. Raise your
left hand. Raise your right hand. Look at your reflection. When you
raise your left hand your reflection raises what appears to be his
right
hand. But when you tilt your head up, your reflection does too, and
does
not appear to tilt his/her head down. Why is it that the mirror appears
to reverse left and right, but not up and down?

10. You have 5 jars of pills. Each pill weighs 10 gram, except for
contaminated pills contained in one jar, where each pill weighs 9 gm.
Given
a scale, how could you tell which jar had the contaminated pills in
just one measurement?

ANS. 1. Mark the jars with numbers 1, 2, 3, 4, and 5.
2. Take 1 pill from jar 1, take 2 pills from jar 2, take 3 pills from
jar 3, take 4 pills from jar 4 and take 5 pills from jar 5.
3. Put all of them on the scale at once and take the measurement.
4. Now, subtract the measurement from 150 ( 1*10 + 2*10 + 3*10 + 4*10 +
5*10)
5. The result will give you the jar number which has contaminated pill.

11. If you had an infinite supply of water and a 5 quart and 3 quart
pail, how would you measure exactly 4 quarts?

12. You have a bucket of jelly beans. Some are red, some are blue, and
some green. With your eyes closed, pick out 2 of a like color. How many
do you have to grab to be sure you have 2 of the same?

13. Which way should the key turn in a car door to unlock it?

14. If you could remove any of the 50 states, which state would it be
and why?

15. There are four dogs/ants/people at four corners of a square of unit
distance. At the same instant all of them start running with unit speed
towards the person on their clockwise direction and will always run
towards that target. How long does it take for them to meet and where?

HINT. They will meet in the center and the distance covered by them is
independent of the path they actually take (a spiral).

16. (from Tara Hovel) A helicopter drops two trains, each on a
parachute, onto a straight infinite railway line. There is an undefined
distance between the two trains. Each faces the same direction, and
upon
landing, the parachute attached to each train falls to the ground next
to
the train and detaches. Each train has a microchip that controls its
motion. The chips are identical. There is no way for the trains to know
where they are. You need to write the code in the chip to make the
trains
bump into each other. Each line of code takes a single clock cycle to
execute.
You can use the following commands (and only these);
MF - moves the train forward
MB - moves the train backward
IF (P) - conditional that's satisfied if the train is next to a
parachute. There is no "then" to this IF statement.
GOTO


ANS.
A: MF
IF (P)
GOTO B
GOTO A
-----
B: MF
GOTO B
Explanation: The first line simply gets them off the parachutes. You
need to get the trains off their parachutes so the back train can find
the front train's parachute, creating a special condition that will
allow
it to break out of the code they both have to follow initially. They
both loop through A: until the back train finds the front train's
parachute, at which point it goes to B: and gets stuck in that loop.
The front
train still hasn't found a parachute, so it keeps in the A loop.
Because each line of code takes a "clock cycle" to execute, it takes
longer
to execute the A loop than the B loop, therefore the back train
(running
in the B loop) will catch up to the front train.

Questions by Beena   answers by Beena

Showing Answers 1 - 52 of 52 Answers

ravi bala

  • Jul 10th, 2006
 

8. The soln: Put just a single red marble in one jar. Put the remaining 49-red and 50-blue marbles in the second jar. So probablity is 1/2(1) + 1/2(49/50) = 1/2( 1 + 49/50) = 99/100 = (almost 1)......

  Was this answer useful?  Yes

asheramin

  • Jul 27th, 2006
 

solution to Q 3:

make a group of 2 with 6 balls in one and 2 balls in the other. from the 1st group take 3 balls and balance them againt the other three.

1st weighing: if the heavier ball is among any of the 3 the side would go down indicating that the heavier ball is in it.

2nd weighing: now take any 2 balls from the three that where the part of heavier side and balance them. if the heavier ball is is present the respective side will lower indicating the heavy ball else if the two balls are balanced then surely the 3rd ball(which wasn't taken into measurement) left is the heavy one.

or incase from the first balance both the sides are balanced then in

2nd weighing: take the 2 balls of the 2nd group and the heavier ball can be easily measured. simple as that.

asheramin

  • Jul 27th, 2006
 

Solution to question 11:

Fill the 3 quart bucket and pour the water in the 5 quart bucket. the 5 quart bucket can accomodate 2 more quarts. again fill the 3 quart bucket and pour the water in 5 quart untill the 5 quart is full. And this will leave u with 1 quart in the 3 quart bucket.

Throw away the water from 5 quart bucket & then pour the 1 quart water in the 3 quart bucket into the 5 quart bucket. again fill the 3 quart bucket and pour all the water into the 5 quart.

this will leave u with 4 quarts in the 5 quart bucket.

Siddharth Wighe

  • Jul 31st, 2006
 

Talkin' abt the marble question: 99/100 is incorrect according to me since:

1 red  + (49 red & 50 blue) = (1/2 * 1) + (1/2 * 49/99) = (1/2)(1+49/99)

  Was this answer useful?  Yes

girish sahu

  • Nov 23rd, 2006
 

As posted by Ravi bala the first part is ok i.e 1/2(1) but the second part will be 1/2(49/99) not 1/2(49/50) because in all total there are 99 marbles 50 blue and 49 red all total 99.Plz check that

  Was this answer useful?  Yes

G

  • Dec 16th, 2006
 

Could not follow your 2nd case. Could you please explain yourself again. You are missing out the case when the defective ball is in the pan. check out.

  Was this answer useful?  Yes

Rahul

  • Jan 4th, 2007
 

Actually its 1/2*1 + 1/2*49/99 = 74/99by putting 1 in the first bag and remaining 99 in the other one.

  Was this answer useful?  Yes

Sathyan

  • Mar 17th, 2007
 

Cut the cake horizontally across, you will get two equal halves

  Was this answer useful?  Yes

tycoon_9990

  • Aug 16th, 2007
 

Q6. Break in 1 piece, then a set comprising of 2, and the remaining is 4
day 1-give one
day 2-take 1 give 2
day 3-give 1 again (the person already has 2 of last 2 days)
day 4-give 4 take back 1 and 2
day 5-give 1 more
..and so on how's it?

Raman

  • Oct 24th, 2007
 

WRONG !

probability n that case will be
= 1/2(1) + 1/2( 49/99)

  Was this answer useful?  Yes

gpshiburaj

  • Nov 19th, 2009
 

3. Weigh 3 vs 3  If they balance, measure the remaining 2,  the lighter one is the one you want.
If the original 3 vs 3 do not balance.  Pick 2 balls from the lighter batch.  If they balance the 3rd ball is the light one.  If they do not balance, the ligher one is the one you want.

  Was this answer useful?  Yes

gpshiburaj

  • Nov 19th, 2009
 

7. You are missing the distance between the two train stations, the one in Los Angeles and the one in New York City.  That distance is about 2800 highway miles, so let's assume that that's the rail distance also ... just so we can work the problem. If you later find out that the distance is different,  you can just follow the procedures, but change the numbers.

The distance the train from Los Angeles goes until it collides with the train from New York City
is it's rate times the amount of time it takes to reach the collision point. Call that time T.

So from departure to collision, the distance the train from Los Angeles goes is 15*T.

Meanwhile, the train from New York City (which is assumed to depart at the same time as
the train from Los Angeles does) also travels for T hours to reach the collision point. So
its rate (20 mph) times the time T gives the distance it travels to collision.

The two distances that the trains travel must add up to be 2800 miles. Therefore, you
can write the equation:

15*T + 20*T = 2800 miles
Add the two terms on the left side and you get:
35T = 2800
Solve for T by dividing both sides of this equation by 35 and you have:
T = 2800/35 = 80 hours
So from time of departure to the time of collision of the two trains is 80 hours.

Meanwhile, during those 80 hours the bird has been flying at an average rate of 25 mph.
Therefore the distance the bird flies equals this rate times 80 hours. So the distance
that the bird covers is:

Distance = 25*80 = 2000 miles
The bird travels 2000 miles from the time the trains start out until the time the trains
collide.

The confusion factor is that the bird is traveling back and forth between the trains and
your natural instinct is to figure how far the bird travels on each leg of its back and forth
trip, but that's not necessary because that was never asked. The total distance is found by
multiplying its rate times the time it takes before the trains collide.

  Was this answer useful?  Yes

gpshiburaj

  • Nov 19th, 2009
 

8. Put 1 red marble in one jar and all the rest (99) in the other.  This gives you 50% from the first jar (if they pick that jar they will get red 100% of the time). For the other jar the chances are 49/99 or 49.494949%. Divide that by 2 and its 24.7474%. Total odds are 50% plus 24.7474% = 74.7474%

gpshiburaj

  • Nov 19th, 2009
 

13. Most keys will turn to the right to unlock a door; most likely due to the old belief that "right" is correct and "left" is wrong.

  Was this answer useful?  Yes

Ans 6:
The man shoud cut the bar into piece of  1, 2 and 4

Day        Pay Scheme
1             Piece with 1 node
2             Piece with 2 node and get back given on previous day
3             Pieces of 1 and 2 node
4             Piece with4node and should take back all pieces given previously
5             Piece with node 1 and 4
6             Piece with node 2 and 4 and get back of 1
7             All should be given

  Was this answer useful?  Yes

farheen

  • Nov 12th, 2012
 

1st take only 6 balls,leave d 2
a) Divide 6 balls into 3 and 3, then weigh it, if any of the 2 divisions weigh less, means that 3 balls have a defective balls.

b) Out of that 3 balls take 1 in your hand and weigh other 2, If any of those 2 weigh less means that is defective, otherwise one in your hand will be defective
but if 3 and 3 divisions weigh same, then weigh 2 balls which you left in starting, whichever weigh less will be defective. :)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions