State-machine diagram for the soda vending

Assignment Help Basic Statistics
Reference no: EM131028390

You are to ?nd the state-machine diagram for the following electronic vending-machine speci?cation. The vending machine sells soda for $1.50 per bottle. The machine accepts only D ($1 bills) and Q (quarters = 25¢). When the sum of money is greater than $1.50, i.e., two $1 bills, the machine returns change in the coin return (two quarters). When $1.50 has been paid, the machine lights an LED to indicate that a soda ?avor may be selected. The choices by pushbutton are C (Cola), L (Lemon soda), O (Orange soda), and R (Root Beer). When one pushbutton is pushed, the selected soda is dispensed and the machine returns to its initial state. One other feature is that an LED comes on to warn the user that two quarters are not available for change, so if a second $1 bill is inserted, no change will be given.

a) Find the state-machine diagram for the soda vending machine as speci?ed.

b) The speci?cation as given is not very user friendly. Rewrite it to provide a remedy for every possible situation that the user might encounter in using the machine.

Reference no: EM131028390

Questions Cloud

Analyze the data in the form of a summary : This assignment will involve storing information in a dynamically allocated array, sorting information and then looking at the data and analyzing the data in the form of a summary.
Is there enough information to determine the value of n : If the number of permutations of n objects taken r at a time is six times the number of combinations of n objects taken r at a time, determine the value of r. Is there enough information to determine the value of n? Why or why not?
Vhdl description for the multiplexer : Write a VHDL description for the multiplexer in below figure by using a process containing a case statement rather than the continuous assignment statements.
Do you think that x is a metal or nonmetal : An element X reacts with F2(g) to form the molecular product shown here. Write a balanced equation for this reaction (do not worry about the phases for X and the product).
State-machine diagram for the soda vending : a) Find the state-machine diagram for the soda vending machine as speci?ed. b) The speci?cation as given is not very user friendly. Rewrite it to provide a remedy for every possible situation that the user might encounter in using the machine.
To create specific sequence : Create a rule such that f(x1,y2)=x2 and f(x2,y3) = x3. The rule must be such that after the sequence has been created, if you are given x3,y3,x2 and y1, then x1 and y2 can be determined i.e y2 = g(x2,x3)
Electronic vending-machine specification : You are to ?nd the state-machine diagram for the following electronic vending-machine specification. The vending machine sells jawbreaker candy, one jawbreaker for 25¢. The machine accepts N (nickels = 5¢), D(dimes = 10¢), and Q (quarters = 25¢).
Explain benefits and limitations that the clinic might face : How might a reminder system, either stand-alone or integrated into the EHR, be used to improve their preventive care quality measures? Explain the benefits and limitations that the clinic might face in using m-Health tools to facilitate preventive ..
Electronic vending-machine specification : You are to find the state-machine diagram for the following electronic vending-machine specification. The vending machine sells jawbreaker candy, one jawbreaker for 25¢.

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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