How many coins each of the remaining pirates receives

Assignment Help Basic Computer Science
Reference no: EM132298027

Five pirates, called Ann, Brenda, Carla, Danielle and Emily, found a treasure of 100 gold coins. On their ship, they decide to split the coins using the following scheme:

  • The first pirate in alphabetical order becomes the chief pirate.
  • The chief proposes how to share the coins, and all other pirates (excluding the chief) vote for or against it.
  • If 50% or more of the pirates vote for it, then the coins will be shared that way.
  • Otherwise, the chief will be thrown overboard, and the process is repeated with the pirates that remain.

Thus, in the first round Ann is the chief: if her proposal is rejected, she is thrown overboard and Brenda becomes the chief, etc; if Ann, Brenda, Carla, and Danielle are thrown overboard, then Emily becomes the chief and keeps the entire treasure.

The pirates' first priority is to stay alive: they will act in such a way as to avoid death. If they can stay alive, they want to get as many coins as possible. Finally, they are a blood-thirsty bunch, if a pirate would get the same number of coins if she voted for or against a proposal, she will vote against so that the pirate who proposed the plan will be thrown overboard.

Assuming that all 5 pirates are intelligent (and aware that all the other pirates are just as aware, intelligent, and bloodthirsty), what will happen? The solution should indicate which pirates die, and how many coins each of the remaining pirates receives.

Reference no: EM132298027

Questions Cloud

Explain the concept of encapsulation : Explain the concept of encapsulation. Provide an example to illustrate your points and also provide the pseudocode
Define a variable called ptrage : In the space below, define a variable called ptrAge that is a pointer to an integer value and explain?
In how many different ways can they sit at the table : 1. Six persons a, b, c, d, e, and f want to sit at a dining table with six chairs. Answer the following questions using the Product Rule.
Discuss the relationship between classes and objects : Discuss the relationship between classes and objects. Give a real-world analogy that depicts the relationship between classes and objects.
How many coins each of the remaining pirates receives : The solution should indicate which pirates die, and how many coins each of the remaining pirates receives.
Design and develop a small console calculator : design and develop a small console application in any Object Oriented Programming Language. Completion of this assignment requires an understanding
Firewalls have the capability to block both ingress : Firewalls have the capability to block both ingress (inbound) and egress (outbound) traffic. Many organisations (and also true for my home NBN router)
Find 7 non-isomorphic graphs : 1. Find 7 non-isomorphic graphs with three vertices and three edges. 2. Prove that the complete bipartite graph K4,6 has a Euler circuit.
Information system experts or development : As a computer becomes faster and cheaper and the Internet becomes more widely used, most of the problems we have with information systems

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