there are 6 balls all of same weight except one ball. u r
given a weighing balance. in how many trys can u find the ball
tat has different weight? (the ball can b heavier or lighter
than the rest)
Answers were Sorted based on User's Feedback
Answer / vysali
well first we place 3 in each side of the weighing machine.
the ball having diff weight will move up or down.
now take 2 one on each side..
if these two are same the third ball is heavier or lighter.
| Is This Answer Correct ? | 26 Yes | 9 No |
Answer / madhu
min 2,
weight 2balls on eachside,
if weights are same then consider the remaining 2. Between
these 2 we can weight and know the diff wieght ball.
if not same then consider the low wieght balls and weight
them again.
| Is This Answer Correct ? | 11 Yes | 3 No |
Answer / sandip
consider Ball wt low
1 1 1 1 1 ?
Comparing 2 sets:=> 1-try
we get low wt set:=>
1 1 ?
Compare 1st 2 ball:=>If equal than go next other wise we
will get lower wt ball:=> 2-try
if(1==1)
{
goto next comparision:
}
else{
compare last 2 ball , we will get answer.
}
Answer:=>Atleast:=>2-try
At Most:=>3-try
| Is This Answer Correct ? | 11 Yes | 4 No |
Answer / lion251
Three tries will always be enough.
Start by weighing balls 1,2 together (left) against balls 3,4 (right).
If the balance is equal, then we know that balls 1,2,3,4 are normal. Then weigh ball 5 against a 'normal' ball (one of 1,2,3,4). If the balance is equal, then 6 is the different ball, else 5 is different.
If the balance tipped was unequal on the first measurement, then we know that either one of the two balls on the lower side is too heavy, or one of the two balls on the higher side is too light.
Then, weigh the two balls that were on the lower side against each other. If one side goes down, then that is the different ball, and it is too heavy. If the scales balance, then weigh the balls that were on the higher side in the first measurement against each other. The side that goes up holds a ball that is too light.
Thus, three measurements will always be enough.
It is interesting to know that, in the same three measurements, you can even find out a different ball from a group of 12(!). That is quite a bit more difficult, but even then, three measurements will be enough in all cases (provided you choose your weighings extremely carefully)
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / m
Lets start by keeping 2 balls on each side of the weighing balance.
If the balance is equal then these 4 balls are the ones which have equal weight and the ball which is of a different weight is amongst the two balls which are left....So take one of the 4 weighed balls on one side of the balance again and keep a new ball(which has still not been kept on the balance) on another side.This would result in a maximum of 3 tries to find the ball with a different weight.
If the balance is not equal, then any one of these two sides can have a ball with different weight as we are not given whether the ball is heavier or lighter than the other balls!
So, remove the balls from one side of the balance and now weigh the other two balls which were earlier on the same side, against each other.If the balance is not equal then compare each ball by weighing with one the 2 balls which were not at all kept on the balance.So here also we will require atleast 3 tries in the best case!
All in the best case we require 3 tries and in the worst case we will require 5 tries.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / suda
first keep 3 balls on each side and weigh.
the ball having diff weight will move up r down..consider
that side and weigh again with 2 on one side and 1 on other
side...
It will take 2 or 3 times to know the weight...
| Is This Answer Correct ? | 4 Yes | 8 No |
Answer / amruta
wel one can find dat d ball has a diff weight in 6!(six
factorial) ways,
| Is This Answer Correct ? | 2 Yes | 7 No |
Answer / karthik
NO!! It will surely take a minimum of four or more tries!!
not 2 or 3....
(According to question)
Let us take 2 balls for instance of which one is different
weight.. different in the sense it may be heavier or
lighter, as it was also specified in the question..
now if we put both of them in weighing balance, any of the
side may go to either up or down.. we never know which is
the wrong one. so we need to compare with the left out once
also..
i can solve it but need to type a lot... sorry.. but in a
simple way i can say it takes atleast 4 not 2 or 3..
| Is This Answer Correct ? | 1 Yes | 13 No |
A husband and wife have a combined age of 91. The husband is now twice as old as his wife was when he was as old as she is now. How old is wife?
If a monkey climbes 3mts in 1hr and slips back 2mts. What the time taken to climb 20mts .
How many ways are there of arranging the sixteen black or white pieces of a standard international chess set on the first two rows of the board? Given that each pawn is identical and each rook, knight and bishop is identical to its pair.
Implement a multiple-reader-single-writer lock given a compare-and-swap instruction. Readers cannot overtake waiting writers.
Consider a state lottery where you get to choose 8 numbers from 1 to 80, no repetition allowed. The Lottery Commission chooses 11 from those 80 numbers, again no repetition. You win the lottery if at least 7 of your numbers are there in the 11 chosen by the Lottery Commission. What is the probability of winning the lottery?
A person is standing at the top of a 100mt building, he has a rope 75mts long and the only way he can come down is through the rope. He can cut the rope also he can tie the rope at any point on the building, but he cant jump and ofcourse dont even think about the stairs :D Find out the best way he'll come down.
14 Answers Compro, Huawei, Oracle, Tech Mahindra,
A big cube painted with yellow colour in all sides. if you cut it into 1000 cubes with same dimension. than how many cubes were without painted anyside. explain it?
12 Answers eBay, eClerx, Sitel, Wipro,
An ant had to travel from one corner of a room to diagonally opposite corner. It can walk on walls, floor and roof only. How will you find the shortest path for this ant ?
9 Answers Analog Devices, Cadence, TCS, ZS Associates,
5+3+2=151012 9+2+4=183662 8+6+3=482466 5+4+5=202504 7+2+5=?
Find the 8, 19, 21, 25, 20, ?
5. There are e 3 jars of diferent sizes. one jar holds 8 liters of milk, the other 2 jars of 5 liters and 3 liters are empty. there is no measuring level or marks in all the jars. Jugle between these 3 jars and get 2 jars containing 4 liters each at the end.
There is a grid of 20 squares by 10 squares. How many different rectangles are possible? Note that square is a rectangle.