Suppose If there are 30 cans 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 mice are required to find the poisoned can?
Submitted by: AdministratorPick 5 mice
Assign binary codes to 30 cans. you need 5 bits to represent all 30. Pick 5 mice to represent each bit. Have a mice taste all the cans for which the corresponding bit is one. After 14 hours, some will die and some wont. Set 1 for the former and 0 for the latter. The corresponding bit representation is the poisoned can.
Submitted by: Administrator
Assign binary codes to 30 cans. you need 5 bits to represent all 30. Pick 5 mice to represent each bit. Have a mice taste all the cans for which the corresponding bit is one. After 14 hours, some will die and some wont. Set 1 for the former and 0 for the latter. The corresponding bit representation is the poisoned can.
Submitted by: Administrator
Read Online Analytical Job Interview Questions And Answers
Top Analytical Questions
☺ | Statement A: All great men are ridiculous; |
☺ | All chickens lay eggs (True/False)? |
☺ | Please give the missing letter of the following 5 6 _ 87 412 2185? |
☺ | A invests $12000, B invests $8000, C invests $6000 and they got a profit of $1200. How much share A got more than B and C? |
Top Basic Job Categories
☺ | Targeted Selection Interview Questions. |
☺ | Business intelligence Interview Questions. |
☺ | Puzzles Interview Questions. |
☺ | Behavioral Interview Questions. |
☺ | Freshers Graduate Interview Questions. |