Goal of reaching consensus

Assignment Help Basic Computer Science
Reference no: EM131368307

Consensus Algorithm. Ten people need to decide which one flavour of ice they will order as a group. There are 3 types of ice cream from which to choose.

Design an algorithm which can survey and re-survey each person, with the goal of reaching consensus on one kind of ice cream. The algorithm can present answers to each person in the group until a consensus is reached.

This task is open-ended. You may make assumptions as needed. Explain these assumptions in your initial post.

Determine whether there are situations in which your algorithm may never result in an answer, and account for this when writing your pseudo-code.

Reference no: EM131368307

Questions Cloud

Identify an intercultural area intercultural interaction : Identify an intercultural area Intercultural interaction with a person from a culture different from your own. Explain why you have selected this area.
Do you think dr. zak has a good sample : Do you think Dr. Zak has a good sample on which to norm his test? Why or why not? What are your suggestions?What other items do you think need to be included in Dr. Zak's domain sampling?Suggest changes to this test to make it better. Justify your re..
What are the key assumptions of deterrence theory : Describe deterrence theory. What are the key assumptions of deterrence theory? What assumption does the theory make about the effect of punishment?
Explain role of human resources in healthcare organizations : MGMT402- Evaluate and explain the role of human resources in healthcare organizations. Discuss how human resources functions in healthcare organizations benefit healthcare organizations and the individuals they employ
Goal of reaching consensus : Design an algorithm which can survey and re-survey each person, with the goal of reaching consensus on one kind of ice cream. The algorithm can present answers to each person in the group until a consensus is reached.
Write a complete vhdl description of this flip-flop : Write a sequence of simulator commands that will test the flip-flop for the input sequence I1 = ‘1', toggle T twice, I1 = ‘0', I0 = ‘1', toggle T twice.
Discuss about the sexual orientation and sexual abuse : Imagine that you are working as a counselor in an elementary school. A teacher has come to you, concerned that a student in her class might have been sexually abused. She explains that she became concerned when two of her 5-year old male students ..
List and briefly describe all the legislative instruments : FNS50215 Diploma of Accounting -  FNSACC504 Prepare Financial Reports for Corporate Entities- Analyse each annual report and write brief summaries - Summarise all references to AASB standards in the notes and financial statements of two major health ..
Explain the logic that supported the courts decision : Summarize only those facts critical to the outcome of the case. Explain the logic that supported the court's decision. Who brought the appeal? What was the outcome in the lower court(s)?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Question regarding the public in a general cash offer

Mountaintop Market is offering 60,000 shares of stock to the public in a general cash offer. The offer price is $30 a share and the underwriter's spread is 9 percent.

  Examining the possible impact of such technologies

Discuss the overarching purpose and mission of information systems at your organization. Does your organization support the "factory IT" approach to information technology or the "enabling IT" approach? Why?

  Propose at least three control measures

Propose at least three control measures that organizations need to put in place to ensure that they remain complaint   With emerging technologies and in a continually changing IT environment.

  How to use arrays to simplify solving

How to use arrays to simplify solving more complex problems

  What is the radius of the circle

Find the area of each sector given its central angle θ and the radius of the circle. Round to the nearest tenth.

  Business problems arise in a multitude

Business problems arise in a multitude of ways inside an organization; sometimes, they stem from the need or desire to do something completely new, sometimes they stem from the need or desire to improve an existing operation.

  How long does an average key search take

How many years do we have to wait until a key-search machine can be built for breaking AES with 128 bit with an average search time of 24 hours? Again, assume a budget of $1 million (do not take inflation into account).

  Problem regarding the console application

Explain, in your own words, what the current "Output type" selection means. If our project was created as a Console application, and the "Output Type" was set as above, give an example of a line of code that you COULD NOT use effectively, due to t..

  Calculates the number of acres in a tract of land

One acre of land is equivalent to 43,560 square feet. Write a program that calculates the number of acres in a tract of land with 389,767 square feet.

  Design and implement an algorithm

Amicable numbers are pairs of numbers each of whose divisors add to the other number. (Note: 1 is included as a divisor but the numbers are not included as their own divisors.)

  Constant value to the contents of register

In which addressing mode is the effective address of the operand generated by adding a constant value to the contents of register?

  Digital media tool-audio

Audio recordings can stand alone, such as a podcast or music clip, or be added to video or static graphics/text. Explore the Internet and find a free or low-cost tool (i.e., software, application) that can be used to record an audio clip that woul..

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