TCS
Company
11. If there are 254 barrels out of them one is poisoned if a person tastes very little he will die
within 14 hours so if there are mice to test and 24 hours to test, how many mices are required
to find the poisoned can?
a) 3
b) 2
c) 6
d) 8
Read Solution (Total 4)
-
- 8
using binary method, we can find it out of 256 barrels with help of 8 mice.
Otherwise one mouse is sufficient if a mouse is killed after exactly 14 hrs of tasting that poison. - 13 years agoHelpfull: Yes(10) No(7)
- for solving this
2^n -1 >254
2^n > 255
for n=8
2^8 == 256 > 255 n == no of mice..
- 13 years agoHelpfull: Yes(3) No(8)
- @dipin ,, kindly explain your answer!
- 12 years agoHelpfull: Yes(3) No(2)
- can any one explain it a bit more easy way,,,,feel not understood the logic,,
- 10 years agoHelpfull: Yes(1) No(0)
TCS Other Question