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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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