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
A 2012 study published in The New England Journal of Medicine reported that patients with lung cancer who received palliative ca
jekas [21]

Answer: All of the above

Explanation: Palliative care seeks to help people with serious illnesses feel better. Someone who is going through a cancer process can improve not only emotionally but also physically. The latter has been demonstrated through various scientific investigations where people who have a better state of mind tend to last more years of life and be stronger.

In the case of this study, a person with lung cancer who receives good care will be less likely to develop depression since they will not be alone and will feel support from others. It feels understood and when manifesting these symptoms of well-being, its body assimilates it as something positive and delays some manifestations of the disease.

7 0
3 years ago
Since starting this course, which study habits have you realized you could further improve? Explain why they need improvement an
IrinaVladis [17]

Answer:

Note taking and color coding have improved and helped me with my courses. I could improve them by using flashcards and visual information. I could use pictures in my notes to help me visualize the answer better.

Explanation:

8 0
3 years ago
What is the term for continuing to squeeze the trigger after the bullet fires? follow through trigger squeeze breathing parallax
Jet001 [13]
Thank you for posting your question here at brainly. I hope the answer will help you. Feel free to ask more questions.
among the choices the one that the term for continuing to squeeze the trigger after the bullet fires is "<span>follow through"</span>
5 0
3 years ago
What is the sum of Days of week + Months of year+ Hour in a day
prohojiy [21]
7+12+24=43, 43 is your answer
5 0
4 years ago
Read 2 more answers
A person who has difficulty with interpersonal interactions but is otherwise high functioning and would have been diagnosed with
FinnZ [79.3K]

Option C

A person who has difficulty with interpersonal interactions but is otherwise high functioning and would have been diagnosed with Asperger's disorder in the past, will now, in DSM-5, be diagnosed with: social communications disorder.

<u>Explanation:</u>

A social communication disorder is portrayed by challenges with the practice of verbal and nonverbal language for social objectives. Primary difficulties are social communication, social perception, and pragmatics. Social communication disorder can happen in far-reaching obstacles, including trouble engaging in social contexts, acquiring rival associations, attaining academic progress, and doing favorably on the job.

SCD can transpire alongside other developmental concerns such as language impairment, training disabilities, speech sound disorder. People with SCD have difficulty adjusting their communication  

6 0
3 years ago
Read 2 more answers
Other questions:
  • Who wants to talk im bored
    10·2 answers
  • Match the type of reaction with its example equation.
    6·1 answer
  • Which behavioral chnage results in a decreased activity levelk
    12·1 answer
  • Why is it called a building when it is already it is already built?
    7·1 answer
  • Hiam didn't smoke when he was in school. But when he turned 20 he started smoking cigars everyday . Which of these consequences
    12·2 answers
  • Which of the following is not true about immunization?
    6·1 answer
  • Max and Patricia are planning to have a baby. What financial effects are likely for a couple?
    8·1 answer
  • What does Anne refer to when she says "Oh well,it doesn't matter"?​
    10·1 answer
  • Za'atar is a spice blend from which country?<br><br> Lima<br> Lebanon<br> Morocco<br> South Africa
    13·1 answer
  • 60
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!