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

  Estimating probability-discrete distribution

Suppose you were to cut up the directory and pull out one listing at random to contact.

  Do you think approach will lead to a representative sample

To obtain data, the obituary columns of the New York Times are read for 30 days, and the ages at death of people in the United States are noted. Do you think this approach will lead to a representative sample?

  Estimate mean monthly rent paid by whole student population

Estimate the mean monthly rent paid by the whole student population. what is the probability that the sample mean exceeds the population mean by more than %5.

  Construct a 95 confidence interval for the standard

senior management of a consulting services firm is concerned about a growing decline in the firms weekly number of

  The scores on an old pinball machine located in the

the scores on an old pinball machine located in the basement of the student center are normally distributed with a mean

  Information about sampling error

There are 4 samples of 40 individuals each interviewed to find out how often they visit a fast food restaurant in the week.

  Construct confidence intervals for the population mean

You are given the sample mean and the sample standard deviation. use this information to construct the 90% and 95% confidence intervals for the population mean. Which interval is wider?

  Compute probability that students lie frequently

Compute the probability that, in a random sample of 500 students, at least 20 lie frequently, assuming the true percentage is 3%.

  Assume that womens heights are normally distributed with a

assume that womens heights are normally distributed with a mean of 63.5in and a standard deviation of 2.4in.a if a

  Prove that the probability of exactly n heads

Prove that the probability of exactly n heads in 2n tosses of a fair coin is given by the product of the odd numbers up to 2n - 1 divided by the product of the even numbers up to 2n.

  The cooper auto repair center has just received a shipment

the cooper auto repair center has just received a shipment of 1000 spark plugs from a supplier. in past shipments the

  A researcher wishes to estimate with 95 confidence the

a researcher wishes to estimate with 95 confidence the proportion of adults who have high-speed internet access.

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