You are on page 1of 1

There are 6 beer bottle nd one is poisoned.

we have mice who will die within 14 hrs after drinkin poisned beer. In 24 hrs we have to find poisoned beer bottle. How many no of mice we require to find out poisoned bottle. options a) 6 b) 4 c) 3 d) 1

If mouse would die exactly after 14 hrs then definitely 1 will be the answer but here the given condition says that mouse will die within 14 hrs. so this question will be solved by set theory. answer is following total beer bottles = 6 drinking strategy bottle1 : mouse1 bottle2 : mouse2 bottle3 : mouse3 bottle4 : mouse1 and mouse2 bottle5 : mouse2 and mouse3 bottle6 : mouse3 and mouse1 on the basis of death of mice set we can decide the poisoned bottle in this question upto 2 bottle answer will be 1 because 2^1 = 2 similarly upto 4 bottles answer will be 2 because 2^2 = 4 for upto 8,16,32,64,128 bottles answer will be 3,4,5,6,7

1.

Tell abt urself 2. Diff btn Arrays and linkedlists 3. Diff btn TCP and UDP 4. Define routing algorithm 5. Define map and hash functions 6. What is TDM? 7. Layers of OSI model 8. Write a program to READ and WRITE a file 9. What is circular linked list? 10. Whats ur Father, Mother?

an int datatype of 1 byte. int x=0; for(x=0;x<256;x++) print(x) what is o/p. I answered wrong. o/p will be an infinite loop, he helped me to ans this. its given in kanetkar find out how.

You might also like