Chapter 4: Q.4.26 (page 165)
One of the numbers through is randomly chosen. You are to try to guess the number chosen by asking questions with “yes-no” answers. Compute the expected number of questions you will need to ask in each of the following two cases:
(a) Your ith question is to be “Is it i?” i = . (b) With each question, you try to eliminate one-half of the remaining numbers, as nearly as possible.
Short Answer
- Your th question is to be
- The number of question is