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

  Processor sharing to worse performance than fcfs

Create a second experiment answering the question "Is it possible for processor sharing to have worse performance than FCFS? "

  Describe sorting algorithm to be parsimonious

Describe a sorting algorithm to be parsimonious if it never compares same pair of input values twice. (Supose that all the values being sorted are distinct.).

  Algorithm to divide sixteen digit value by six digit integer

Divide 16 digit value N by six digit integer D obtaining quotient Q and remainder (or sign of the remainder) R by division algorithms.

  Design time randomized monte carlo algorithm

You have to design an O(n) time randomized Monte Carlo algorithm which computes an (1 + o)- approximate ham-sandwich cut with probability 1 - n-c for any given constant c > 0.

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Describe ambiguity in proposed algorithm

Describe the distinction between an ambiguity in a proposed algorithm and an ambiguity in the representation of an algorithm. Describe how the use of primitives helps remove ambiguities in an algorithm's representation.

  Process of insertion into a heap-implemented priority queue

Explain the process of insertion into a heap-implemented priority queue, and informally explain its complexity and the process of removal from a heap-implemented priority queue, and informally explain its complexity.

  Determine schedule that obtains maximum amount of profit

Assume you have one machine and a set of n jobs a1, a2, ..., an to process on that machine. Determine the schedule that obtains the maximum amount of profit. Compute the running time of your algorithm?

  Explaining adaptive playout delay algorithm

Consider adaptive playout delay algorithm. Demonstrate through simple example which adjusting playout delay at beginning of each talk spurt results in compressing

  Data structures and algorithm design

Data Structures and Algorithm Design

  Method singleparent returns number of nodes in binary tree

Write a method singleParent, which returns number of nodes in a binary tree that have only one child.

  Write schedule produced by earliest deadline first algorithm

Given below are two sets of real-time, periodic tasks. For (a), will the schedule produced by Earliest Deadline First algorithm meet all the deadlines?

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