Quality Testing

Quality is delighting customers

Question1: You have 9 balls and 8 balls have the same weight while one ball have the different weight but we do not know that odd ball is heavy in weight or less in weight. You need to find the odd ball amongst these 9 ball with the minimum go .what be the least steps we your perform to get the odd ball.

Views: 1014

Replies to This Discussion

Divide the 9 Balls in three groups each with three balls. Lets name the group as A B and C

Step1: Now Weight Group A and B

If Both are Equal then C will be the Group with the Ball of Different Weight

If Both are not Equal the Group with the More Weight will have the Ball with the Most Weight

Step2: Take any two balls from Most Weight Group

If both the balls are equal then the third ball is the Odd one

If both are not equal the one with more weight is the odd one

Hope I am clear in making you all understanding it !!!

yes almost , but its not told that the odd ball will have more weight.

But the Logic Applies the Same .. Whether its more weight or less weight !!!

Yes u r right

divide 9 balls in 3 groups of 3 balls each let groups are A, B , C

weight A with B

then weight A and B with C

in these way u identify the group wich contain diffrent ball and  u also identify whether weight of the ball is greater or less then other balls.

now in 4th step u will identify the odd ball by measuring 2 ball in identify group .

 

so at maximum u need 4 steps.

 

Lets say odd ball is like a weighted ball and divide the 9 balls in three parts i.e each parts has three balls.

Use measuring mass tool to find out the weighted ball in Two steps.

  Steps 1:-

     Take 3 balls and keep at one side and take another 3 balls and keep at other side. Measure it.

     In this case, there are two scenarios.

     a)  If left side of 3 balls are weighted than the right side of three balls.

           Pick the weighted 3 balls, keep 2 at one side and 1 at another side. Here you will come to know the weighted/odd ball.

     b)  If right side of 3 balls are weighted than the left side of three balls.

          Pick the weighted 3 balls, keep 2 at one side and 1 at another side. Here you will come to know the weighted/odd ball.

    Step 2:-

                 If both the sides are equal weights, clear it and than pick another 3 balls out of 9 balls and get 2 balls in one hand and 1 ball on other hand and You will get odd/weighted ball.

          

         

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2020   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service