What is the average number of guesses needed

Assignment Help Basic Computer Science
Reference no: EM131189685

The guess-a-number game starts with one player (the chooser) picking a number between 1 and 100 (inclusive) and secretly writing it down. The other player (the guesser) attempts to guess the number. After each guess, the chooser responds with "correct" (the guesser guessed the number and the game is over), "higher" (the actual number is higher than the guess), or "lower" (the actual number is lower than the guess).

a. Explain why the guesser can receive slightly more than one bit of information for each response.

b. Assuming the chooser picks the number randomly (that is, all values between 1 and 100 are equally likely), what are the best first guesses? Explain why these guesses are better than any other guess. (Hint: there are two equally good first guesses.)

c. What is the maximum number of guesses the second player should need to always find the number?

d. What is the average number of guesses needed (assuming the chooser picks the number randomly as before)?

e.  Suppose instead of picking randomly, the chooser picks the number with the goal of maximizing the number of guesses the second player will need.
What number should she pick?

f. How should the guesser adjust her strategy if she knows the chooser is picking adversarial?

g. What are the best strategies for both players in the adversarial guess a number game where chooser's goal is to pick a starting number that maximizes the number of guesses the guesser needs, and the guesser's goal is to guess the number using as few guesses as possible.

Reference no: EM131189685

Questions Cloud

Describe the concepts of federalism and checks and balances : Describe the concepts of federalism and checks and balances, and provide one example to illustrate each. In what ways did the Civil War and the Great Depression change the Constitution?
What happens when there is a failure in an sla : What happens when there is a failure in an SLA? Use an example to analyze a failure in an SLA and how important SLAs are to the buyer in a BPO contract agreement.
Defend the cost of benchmarking in an industry : What is benchmarking? Please support your answer. Defend the cost of benchmarking in an industry.
What specifically do you do to complete your tasks : What specifically do you do to complete your tasks? What are your thoughts about how technology might improve your processes? What are the challenges and obstacles that would be overcome with the use of an information system
What is the average number of guesses needed : What are the best strategies for both players in the adversarial guess a number game where chooser's goal is to pick a starting number that maximizes the number of guesses the guesser needs, and the guesser's goal is to guess the number using as f..
Current situations and discussions in class : Why does a company need to know about laws such as the WARN Act? Convince the executive team that communicating information such as the WARN Act is important when a BPO contract has been signed. Use examples from current situations and discussions..
What blind spots could your theory lead you to have : What blind spots could your theory lead you to have? What personal values seem to underlie your theory; that is, "People, managers, or organizations should/not _______(what?)."
Define capacity and priority : What is meant by value added and why is that important? Provide an example of at least two value added products. Define capacity and priority. Why are each of these important to production planning? Explain your answer and provide examples for ea..
Storage management and security : Select a restaurant with which you are familiar (it can be the same one you used previously) and determine the most likely storage management challenge that restaurant would face, along with how you believe the restaurant addresses that challenge.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd