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

  The following graph shows the population of washington dc

the following graph shows the population of washington d.c. in 2000 and in 2010. what is wrong with this graph? draw a

  Maximizes the total expected profit

How likely is it that the store owner will make at least $7,000 if she implements your suggestion?

  Lester hollar is vice president for human resources for a

lester hollar is vice president for human resources for a large manufacturing company. in recent years he has noticed

  Estimate the true average time to within given minute

If they would like to estimate the true average time to within 1.9 minute (with 95% confidence) what sample size should they use? (remember to round to the next largest integer.)

  Probability of an untrained dog performing

Find the probability of an untrained dog performing as well as Maggie. Is it unusual for an untrained dog to do as well as Maggie?

  Shoes regardless height or gender of the wearer

They have collected data on gender, shoe size, and height to see if they can change their business model to include only one size of shoes regardless height or gender of the wearer.

  A researcher examines the records of all registered voters

1. a researcher examines the records of all registered voters in one city and finds that 43 are registered democrats.

  An anova table for multiple regression has the required

an anova table for multiple regression has the required information to compute the coefficient of multiple

  Cmpare and contrast internal and external validity

quantitative research questiondownload gpower and play around with it. see how changes in assumptions and parameters

  F test-five step approach

A random sample of five observations from the first sample resulted in a standard deviation of (12). A random sample of seven observations from the second sample gave a standard deviation of (7) at the (.01) significance level.

  Confidence interval for mean cost of repairs

Create a 95% confidence interval for mean cost of repairs. Interpret this interval.

  How much profit or loss would they earn

Suppose that this firm operates in a perfectly competitive market. If the market price in this perfectly competitive market is $11 how much output would the firm choose to produce? How much profit/loss would they earn

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