1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Flauer [41]
4 years ago
9

Pair up with someone whose birthday you do not know. Find out their birthday using binary search, asking whether their birthday

is earlier or later in the year than each of your guesses. How many guesses might be required to guarantee you find out their birthday
Health
1 answer:
Anit [1.1K]4 years ago
6 0

Answer:

the best you can do is ask something that splits the search space — the potential birthdays, in this case — in half.

Explanation:

For this case, you’ll need to split the 365 days in a year in half 9 times to isolate a single day. 365 –> 183 (1) –> 92 (2) –> 41 (3) –> 21 (4) –> 11 (5) –> 6 (6) –> 3 (7) –> 2 (8) –> 1 (9). The easy way to figure this out is to realize that 512, or 29, is the smallest power of 2 greater than 365.

Usually, when people find out that I work with computers, they ask me to fix theirs. They don’t really care about what I actually do; to the average person, programming is opaque. But now I see another avenue for our skills: parlor tricks.

– I’ll guess your birthday with just 9 yes-or-no questions! (binary search)

– I’ll name a number in 2 seconds bigger than anything you can name in 10! (Busy Beaver or any other non-computable function)

– Draw any map you want, however complicated, and give me just four (different) colored crayons. No matter what the map looks like, I’ll fill it in so that no adjacent countries have the same color! (four-color theorem)

– Here’s an easy problem: I’ll give you ten numbers, and I’ll guarantee that some of them, when added together, sum to 100,000. But I’ll bet you can’t figure out which ones in 5 minutes. Only ten numbers in all! (subset sum is NP-Complete)

– You give me a bunch of cities and highways between the cities. I’ll immediately tell you whether it’s possible to start at one city, drive on every highway between every city exactly once, and end up back at the original city! (Eulerian cycle)

– Any others?

You might be interested in
Controlling stress is also effective at controlling anger
qwelly [4]
True. Stress can lead to anger
3 0
3 years ago
Read 2 more answers
What are 6 ways you can practice volleyball at home?
Snowcat [4.5K]

Answer:

Playing it

Practice spiking

Bump the ball on a wall

learn more moves via You Tube

play with friends

Play with your parent/siblings

Extra: Have a "trainer" in your family in order for them to tell you what you need to do.

Explanation:

I love volleyball

this is how i learn

7 0
3 years ago
What are legal documents that allow people to state what medical treatments they want or do not want in the event that they are
jeyben [28]
Advance Directives. 
That section deals with health.
7 0
3 years ago
Describe how healthy people 2020 can be used by an individual, a family and a community. Justify your response using two or more
ladessa [460]
Healthy People 2020 imagines a day when preventable demise, sickness, damage, and incapacity, and additionally wellbeing abberations, will be killed and every individual will appreciate the most ideal wellbeing. This change will happen by changing our reasoning about health, looking at underlying drivers and societal determinants, and guiding more mediations to address essential, causal components that influence health. Healthy People 2020 is being built up on an establishment of three decades of work, however it likewise cultivates inventive reasoning about how we can team up to accomplish health advancement and ailment counteractive action objectives for the country.
7 0
4 years ago
Read 2 more answers
What type of nutrient cannot be made in sufficient quantities by the body but is needed for normal Health and must be obtained f
Aleks04 [339]

It would be D. An Essential nutrient

3 0
3 years ago
Read 2 more answers
Other questions:
  • What type of stretch is best included as part of a cool down? A. Static B. Dynamic C. Isostatic D. Ballistic
    12·2 answers
  • Your cardiovascular system gets better when you increase the time and intensity of your workouts. What should the word in italic
    6·2 answers
  • Reliance on addictive substances is a negative coping mechanism.
    10·2 answers
  • Following exercise it is important to consume
    14·1 answer
  • Michael is the captain of his school’s soccer team. What skill does Michael exhibit when he decides which player will take the p
    11·1 answer
  • Which statement identifies a healthy way to improve nutrition in a diet?
    15·2 answers
  • The intuition function asks which question when making a decision?
    9·1 answer
  • Which is a external influance
    13·1 answer
  • What do you mean by master strand ?​
    13·2 answers
  • Laura was working the midnight shift last weekend. A young pregnant girl was visiting a sibling in the hospital and was
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!