Goal of reaching consensus on one kind of ice cream

Assignment Help Basic Computer Science
Reference no: EM131369657

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: EM131369657

Questions Cloud

What is technical communication : What is technical communication? How is technical communication different from other types of communication? Why is good technical communication imperative in today's diverse business environment?
Accomplish this via the cli : As you can perform this in the GUI it is also important to understand how to accomplish this via the CLI. Please explain the process for assigning attributes to a file or folder.
Examine the issue from a sociopolitical perspective : Write a 2 pages Word document discussing a current public controversy surrounding a health care issue. Examine the issue from a sociopolitical, economic, and cultural perspective. Explain the ethical and legal dilemmas that nursing professionals f..
Find the vertical distance that this gutter must be pitched : Determine the vertical distance that this gutter must be pitched (i.e., the difference in elevation between the two ends of the gutter) so that the water does not overflow the gutter. Assume uniform depth channel flow.
Goal of reaching consensus on one kind of ice cream : 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.
The global human resources discipline deals : According to the Society for Human Resource Management, "the Global Human Resources Discipline deals with all aspects of HR within the worldwide context, including U.S.-based entities doing business internationally or non-U.S.-based entities operatin..
How the countrys financial system is related to key variable : How the country's policies influence its productivity growth? How the country's financial system is related to key macroeconomic variables? How your organization can reduce the risk they would face in relocating?
Develop the final product for your client : Assignment - FINAL WEBSITE & REPORT. Use the assigned URL supplied to you by Cloudaccess.net/WordPress to develop the final product for your client. ANOTHER REMINDER: Ensure that the website is directly and obviously related to the business model/ca..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is a potential drawback of this kind of media

What is a potential drawback of this kind of media. Describe the experience of participating in this exercise, a new technology that helps you become socially connected. This technology can take the form of instant messaging or an online network th..

  Describe two sampling methods to select independent groups

Describe two sampling methods to select independent groups

  Method in phone charger class

Which of the following would be a more appropriate choice for a method in a PhoneCharger class

  French and raven theory

1. Corporate culture has been said to be the toughest component of a business to change. Do you agree or disagree with this statement and why? 2. Define the five types of power according to French and Raven's theory. Provide examples of each.

  Differentiate between the interaction types

Differentiate between the interaction types and styles that apply to multi-touch screens and applications running on them. Determine the conceptual model that you would use when designing a product for your restaurant.

  Question regarding the python programming

Write a program to calculate and display the loan for buying a car. 1. Create a class call Loan. Data fields in the Loan class include: 1. Annual Interest Rate (Float) 2. Number of years of loan (Float)

  What is the average memory access time for p1 and p2

For the next three problems, we will consider the addition of an L2 cache to P1 to presumably make up for its limited L1 cache capacity. Use the L1 cache capacities and hit times from the previous table when solving these problems. The L2 miss rat..

  How to perform testing for each development method

Research, write, and give 4-6 page proposal of alternative methods Smith Consulting might consider for finishing Frequent Shopper Program. Describe how Smith would perform testing for each development method.

  Explain the java programming concept of inheritance

Explain the Java programming concept of inheritance. Do all programming languages have Inheritance, and why or why not? Discuss and state how it relates to inheritance. Identify a situation where inheritance behavior would be absolutely crucial.

  Implement in c++ the external merge sort algorithm

Extend your implementation of externalMergesort by removing the restriction that the fi le contains 2n blocks.

  Read and the system call

In the example given in Fig. 1-17, the library procedure is called read and the system call itself is called read. Is it essential that both of these have the same name? If not, which one is more important?

  Implement a subclass square that extends the rectangle class

Also supply a method get Area that computes and returns the area of the square. Write a sample program that asks for the center and side length, then prints out the square (using the to String method that you inherit from Rectangle) and the area o..

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