Write algorithm by using pseudo code consensus algorithm

Assignment Help Data Structure & Algorithms
Reference no: EM1372241

Write an algorithm, using pseudo code, "Consensus algorithm": A group of ten people need to decide which one flavor of ice cream they will all order, out of three options. The algorithm can question and re-question the participants, and present the answers to the participants, until a consensus is reached. This exercise is somewhat more open-ended. Add your assumptions if necessary. Obviously, this algorithm might never result in an answer. Deal with that too. I (I do not want program implemented in a programming language I want algorithms in pseudo code).

Reference no: EM1372241

Questions Cloud

What is an implication of pattern shown : What are data in table saying. What is an implication of pattern shown. What are data in table saying. What is an explanation for pattern shown.
Find marginal cost at the profit maximizing output : A monopolist produces a single homogeneous good, which he sells in two marketplace between which discrimination is possible. His total cost function is;
What effect do you think this had exchange rate : At prompting of United States, Japan relaxed restrictions and allowed companies to invest anywhere in world. What effect do you think this had on yen/dollar exchange rate and trade balance between two countries.
Explain why money multiplier differs from simple deposit : If, in addition, currency deposit ratio(c) is 0.05 and excess reserve ratio (e) is 0.15, what is money multiplier. Explain why money multiplier differs from simple deposit multiplier.
Write algorithm by using pseudo code consensus algorithm : Write the algorithm, by using pseudo code, "Consensus algorithm": A group of ten people require to decide which one flavor of ice cream they will all order, out of three options.
By how much does car body rise on its suspension owing : A speedy tortoise can run at 0.01 meters per second and a hare can run 21 times as fast. In a race they both start at the same time; however the hare stops to rest for 1.50 minutes. So the tortoise wins by a shell (20 cm).
Find marginal cost of the firm : The following questions refer to a company, whose manager recently estimated its average variable cost function to be;
Explain normal form is denormalized table : Which field or fields cause a table to no longer be in third normal form? In which normal form is denormalized table?
Explain why monopolistically competitive firms frequently : Explain why monopolistically competitive firms frequently prefer non-price competition to price competition.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Polynomial time algorithm for rooted directed acyclic graphs

Illustrate that if you were given a polynomial time algorithm for determining whether two rooted directed acyclic graphs are isomorphic, then polynomial time algorithm for testing.

  Write efficient pseudocode algorithm to determine record

Write the most efficient pseudocode algorithm you can to determine the record with specific customerID if every single customer ID from 101 to 500 is used and array has 400 elements.

  Give algorithm to find schedule to obtain maximum profit

Give an algorithm to find the schedule that obtains the maximum amount of profit, assuming that all processing times are integers between 1 and n.

  Explain sorting algorithm which is optimal in cost

Explain a sorting algorithm which is optimal with respect to this cost model and uses O(n) space. That is, time used by algorithm should exactly match lower bound

  Writing algorithm which ?nds xbest

Provide an O(n) algorithm which ?nds xbest such that distbest:= ∑i=1 to n|xbest - xi| is as small as possible.

  Create algorithm to read arbitrary number of data record

Create the algorithm to read arbitrary number of data records, each containing name, age, and code. Code of 1 will indicate female, a code of 2 will indicate male.

  Encryption feistel cipher and decryption algorithm

If this is psudocode for encryption feistel cipher determine decryption algorithm?Output: ciphertext = (left[16], right[16]) Explain pseudo-code of corresponding decryption algorithm for this cipher.

  Determining entropy of encrypted message

If this message is encrypted with DES by using a random 56-bit key, determine encrypted message's entropy?

  Design algorithm to receive two integer items from terminal

Design an algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Create an algorithm to produce list of customers

Create an algorithm to produce list of customers from Glad Rags Clothing Company's customer master file. Each record on customer master file contains the customer's number

  Create algorithm which takes as inputs matrices

Create the algorithm which takes as inputs, matrices C, D, and vertex indices i and j, and returns minimum-cost path from vertex i to vertex j.

  Explain good algorithms to solve character pathfinding

You are working on the new computer game. One of implementation problems you are trying to solve is character pathfinding. What algorithms would be good to use and explain why?

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