Design the control for a news-paper vending machine

Assignment Help Basic Computer Science
Reference no: EM131385816

(Word Problem) Your task is to design the control for a news-paper vending machine to the following specification. The news-paper costs 50 cents. The vending machine accepts nickels, dimes, and quarters. The customer presses a START button and then begins entering coins. Coin sorter logic indicates to the FSM whether a nickel (N), dime (D), or quarter (Q) has been deposited. (Assume that the FSM advances from one state to the next when a coin is deposited.) If exact change is entered, a latch is released so the customer can get the paper. If the amount of money deposited exceeds 50 cents, the deposited coins are refunded to the customer by asserting a refund (REF) signal. Assume that the money just deposited is kept separated from previously accepted coins. The latter are held in a coin reposi-tory. Otherwise, the deposited coins join the repository as the FSM asserts a release (REL) signal. The block diagram for the FSM is shown in Figure Ex. 7.31.

Consider for a moment the signals that indicate the number of nickels and dimes available to make change. What is the maxi-mum number of nickels needed at any time? What is the maxi-mum number of dimes needed? Understanding the answers to these questions may help to simplify your state diagram.

Complete a Mealy machine state diagram for the vending machine control.

1120_2011420b-8b66-43f2-a5e3-abd4fc0c11d7.png

Reference no: EM131385816

Questions Cloud

Fed increases the supply of money : In general, if the Fed increases the supply of money by 5%, which of the following statements can we claim to be true with certainty? (In general means, do not make any assumptions about anything.)
Deciding to make or purchase a product : What factors would be relevant to a business in deciding to make or purchase a product? What are the opportunity costs associated with a make-or buy decision? How would outsourcing change a company's cost structure? How would this change affect a..
Why existence of negative externality creates market failure : You should legibly handwrite or type the answers to the following questions on a separate sheet of paper. These must be submitted in class (not via email unless you have permission). Explain why the existence of a negative externality creates market ..
Develop committee to make new policies for credit granting : Case - General Electric, GE Capital, and the Financial Crisis of 2008: The Best of the Worst in the Financial Sector? Develop committee to make new policies and procedures for credit granting and reducing the risk exposure
Design the control for a news-paper vending machine : Consider for a moment the signals that indicate the number of nickels and dimes available to make change. What is the maxi-mum number of nickels needed at any time? What is the maxi-mum number of dimes needed? Understanding the answers to these qu..
The index of industrial production : The index of industrial production (IP) is a monthly time series that measures the quantity of industrial commodities produced in a given month. This problem uses data on this index for the United States. The forecaster states that Yt shows the month..
Describe a social problem in your field of interest : There are many psychological approaches to addressing social problems (e.g., clinical, developmental, cognitive, phenomenological, neurobiological, behavioral). The social psychological approach is only one among many. Given that this is a social ..
Show the machinery account : Show the machinery account.-The two separate provision for depreciation accounts.- The non-current assets section of the statement of financial position atthe end of each year, for the years ended 31 December 2016 and 2017.
Elements of the design of sales territories : What are important elements of the design of sales territories? What can be the impact of a poorly designed territory?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Wikis are web-based tools that make it easy

Wikis are Web-based tools that make it easy for users to add, remove, and change online content. Employees at companies such as Intel, Motorola, IBM, and Sony use them for a host of tasks, from setting internal meeting agendas to posting docume..

  Write a function create audio colla()

Write a function createAudioCollage() that will create an audio collage.

  How the adapter pattern might help in this situation

Explain how the Adapter pattern might help in this situation by avoiding the need to rewrite any of the existing classes.

  Explain why the probability of stockout

Can you explain why the probability of stockout and (un)Fill Rate in 2.5 and 2.6 might be different?

  Software change management tools

Provide at least two examples of software change management tools, and explain how they are used in change management scenarios. As a software engineer, describe how you would address the configuration management challenge of various terminologies be..

  Design a program that will allow a user to input a list

Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who lives in Texas

  What makes these pairs transitive

What I dont understand is how these pairs are considered transitive. My question is what makes these pairs transitive?

  How many of instructions within our mips core instruction

How are the bits within the machine instructions for bgez (branch if greater than or equal to zero) and bltz (branch if less than zero) used to distinguish one instruction from the other?

  Design of a bus arbitration sequential circuit for computer

If all input variables are 0, it sets all output variables to 0. Design two such arbitration circuits, one that grants priority to the lowest indexed input that is 1 and a second that grants priority alternately to the lowest and highest indexed i..

  Describe the population and sample for this problem

The supervisors of a rural county are interested in the proportion of property owners who support the construction of a sewer system. Because it is too costly to contact all 7000 property owners, a survey of 500 owners (selected at random) is unde..

  Why does the bankaccount class not have a reset method

What happens in our implementation of the BankAccount class when more money is withdrawn from the account than the current balance?

  How might the file be compromised in this case

For example, consider a file with protection mode 644 (octal) contained in a directory with protection mode 730. How might the file be compromised in this case?

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