TCS
Company
8. Mr. Beans visited a magic shop and bought some magical marbles of different colours along with other magical items. While returning home whenever he saw a coloured light, he took out marbles of similar colours and counted them. So he counted the pink coloured marbles and found that he has bought 25 of them. Then he counted 14 green marbles and then 21 yellow marbles. He later counted 30 purple coloured marbles with him. But when he reached a crossing, he looked at a red light and started counting red marbles and found that he had bought 23 Red marbles. As soon as he finished counting, it started raining heavily and by the time he reached home he was drenched. After reaching home he found that the red, green and yellow marbles had magically changed colours and became white, while other marbles were unchanged. It will take 1 day to regain its colours, but he needs to give atleast one pair of marbles to his wife now. So how many white marbles must be choose and give to his wife so as to ensure that there is atleast one pair of red, yellow and green marbles ?
(a) 46 (b) 35 (c) 29 (d) 48
Read Solution (Total 4)
-
- 46 bcoz 23red+21 yellow+2green
- 13 years agoHelpfull: Yes(10) No(1)
- The problem is solved assuming worst case situation(all cosecutive marbels of same colour) and here the numbers must be initiated from majority,ie
23 for red
next 21 for yellow
remaining two for yellow
total 23+21+2=46
ans a - 13 years agoHelpfull: Yes(9) No(1)
- a)46
in such cases, add the higest 2 nos and add 2(3 if odd) to the sum.
i.e. 23+21+2=46 - 13 years agoHelpfull: Yes(6) No(1)
- language is totally wrong...first of all it should be about "how many marbles ATLEAST must be choosen to ensure that atleast one pair....." then only ans will be 46 .
but if we go acc to language of question whichi think we must then ans will be 58 ill be sure it will have each pair . - 9 years agoHelpfull: Yes(0) No(0)
TCS Other Question