TCS
Company
Numerical Ability
Age Problem
If there are 30 cans out of them one is poisoned if a man tastes very little he will die within 14 hours. Now mice are used to test in 24 hours, how many mices are required to find the poisoned can?
Read Solution (Total 8)
-
- only one yaar.
mice will taste 1st can in first minute.
mice will taste 2nd can in second min.
mice will taste 3rd can in third min.
.
.
.
.
mice will taste 30th can in 30th min.
if mice die in 14 hours then fist can is poisoned.
if mice die in 14 hours 1 min then second one is poisoned.
if mice die in 14 hours 2 min then third one is poisoned.
.
.
.
if mice die in 14 hours 29 min then last one is poisoned.
finally we need 1 mice and 14 hours 30 min for testing thats it. - 13 years agoHelpfull: Yes(27) No(23)
- There is a simple condition which needs to be satisfied..
2^(a>b)
where a is number of mice and b is number of bottles.
So from the ques 2^(a>30), this condition only satisfies when value of a = 5 means
2^(5) i.e. 32 which is greater than 30..
Hence 5 mice are required..
Thank you... :) - 9 years agoHelpfull: Yes(12) No(0)
- only 1 mice is sufficient...
bcoz as we know only one can is poisoned so try mice every can n notice the time
for ex suppose for ist can time was 12:05 then after 5 min test for can 2 means 12:10..n if 1st can contain poision then according to time it can be cleared.. - 13 years agoHelpfull: Yes(11) No(9)
- only one mice is sufficient to detect which can contain the poision....by noticing the time...give poision from ecah can with the gap of five min n notice the time...
suppose from 1st can the the test was performned ....then after 5 min the test from second can was prformed same way..from all..
now after 14 hours test if mice dies excatly after 14 hours then first can contain poision,,,if mice dies after 14hours n 5 min means second can contain poision ..same way by the help of time we can detect the poisioned can... - 13 years agoHelpfull: Yes(4) No(5)
- i dnt knw how u guys are answering the question.The question here should relate to the poison also and if the poison is powerful the mice can die in seconds or in minutes or hours.here 14 hours can be min,sec,hrs also.then how can we determine that for every 5 min the mouse is given a can and tested.if it is a slow poisoning and it take x hrs to die how can we predict with in 5 min..
- 11 years agoHelpfull: Yes(3) No(2)
- Here.. It was mentioned that the Mouse will die within 14 hours not exactly after 14 hours....
so we have to use 5 mice.. - 7 years agoHelpfull: Yes(1) No(0)
- only one mouse will be sufficient if the question is interms of exactly 14 hours the mouse will die.
otherwise it will be 5 mise required - 11 years agoHelpfull: Yes(0) No(2)
- simple solution is
convert 30 into binary it's 11110
total 5 digits in binary so the total mice needed is 5.
not only that with this method we can find the poisoned bottle within a short time
explanation :
since every bottle is numbered and mice as A, B, C, D, E
give the sample this way.
E D C B A
0 0 0 0 1 ---- Bottle no 1
0 0 0 1 0 ----bottle no 2
0 0 0 1 1 ----bottle no 3 (sample is fed to both b and a)
0 0 1 0 0 ----bottle no 4
.
.
.
. and so on till the bottle 30
so for example D, B, A mice are dead then it's 0 1 0 11 - it's 11
so the 11th bottle is poisoned. - 3 years agoHelpfull: Yes(0) No(0)
TCS Other Question