# What is the maximum number of guesses it will take to find a number between 1 and 1000?

Table of Contents

- 1 What is the maximum number of guesses it will take to find a number between 1 and 1000?
- 2 What are good guessing questions?
- 3 How do you find the number of guesses in binary search?
- 4 What is mathematical function that means the same thing as the number of times we repeatedly halve starting at N until we get the value 1?
- 5 How do you get someone’s phone number without asking them for it?
- 6 How do you ask someone to pick a whole number?

## What is the maximum number of guesses it will take to find a number between 1 and 1000?

Maximum guesses is 7. 64 is 2^6..

## What are good guessing questions?

Icebreaker games

- What word is spelled incorrectly in every single dictionary? Incorrectly.
- What goes up and down but can’t move?
- What goes up but never down?
- I have one head, one foot, and four legs.
- Forwards I’m heavy but backwards I’m not.
- What runs, but never walks.
- I have teeth but can’t eat.
- If I drink, I die.

**How do you play pick a number game?**

To play, pick a number between 0 and 100. The goal is to pick the number that’s closest to half the average of all guesses. So, for example, if the average of all guesses were 80, the winning number would be 40. Thanks very much to the 15,322 people who entered.

**How do you do the magic number prediction?**

How to Perform the Magic Number Prediction Trick

- Pick a number between two and nine.
- Take the number that you’ve chosen and multiply it by nine.
- This should give you a two-digit number.
- Take the resulting number and subtract five from it.
- Take that number and correspond it to a letter in the alphabet.

### How do you find the number of guesses in binary search?

The Number Guessing Game uses binary search to quickly find a solution. A binary search is a dichotomic divide and conquer search algorithm. The maximum number of turns it takes to guess a number from 1 to 100 is log2(100 -1 +1)= log2(100) = 7. Hence the worst case running time is log2(Max — Min + 1).

### What is mathematical function that means the same thing as the number of times we repeatedly halve starting at N until we get the value 1?

base-2 logarithm of n

Fortunately, there’s a mathematical function that means the same thing as the number of times we repeatedly halve, starting at n, until we get the value 1: the base-2 logarithm of n….Running time of binary search.

n | log 2 n \log_2 n log2n |
---|---|

512 | 9 |

1024 | 10 |

1,048,576 | 20 |

2,097,152 | 21 |

**How do you ask someone to guess an even number?**

Choose an even number to use yourself. Ask your friend to add this number to the one in their head. Tell them to divide the new number by 2. Tell them to subtract their original number from the equation. “Guess” the number. This time around, the right answer will be half the even number you chose.

**How do you do a number trick to guess someone’s age?**

To do a number trick to guess someone’s age, start by asking them to use a calculator to multiply the first number of their age by 5. Then, have them add 3 before doubling the answer. Next, they should add the second number of their age.

#### How do you get someone’s phone number without asking them for it?

To get someone’s phone number without asking them for it, try asking someone else to give you the person’s number, like a mutual friend. If possible, you could also look up the person’s number in a school directory or on a list of co-worker’s contact information.

#### How do you ask someone to pick a whole number?

Find someone you’re looking to impress, who has a few minutes to spare for your trick. It’s best to find somewhere quiet to do this, as an interruption risks messing it up. Ask him to pick a whole number between one and ten. In theory, they could choose any real number.