Draw the state diagram of the soda vending machine

Assignment Help Basic Computer Science
Reference no: EM13903067

Exercise 1. Let's consider the old coin based soda machine behavior discussed in class. The following states were identified: Idle, Collecting Money, Testing & Computing Change, Making Change, and Dispensing Item. Draw the State Diagram of the Soda Vending Machine. 

Exercise 2. Now let's consider the more modern 21st Century vending soda machines such as the ones found in LLC, 1st Floor. Such machines accept digital payments. Do the following: 1) Give two different scenarios describing a student making a purchase of his/her favorite drink, say a Coke Cola. 2) Given a third scenario describing student who failed to successfully complete the purchase of a drink. Please note that there may be several ways in which the purchase can fail and you are simply requested to illustrate one typical example. 3) Draw the State Diagram of the new and improved Soda Vending Machine. 

Exercise 3. Home owners are constantly investing in the remodeling of their kitchens. You have been hired by Home Depot to write software for home owners to visualize the possibilities of the different styles offered online and their stores. As a team leader of your development group, you have conducted the analysis of a Kitchen Viewer Application (KVA) that allows the user to display wall cabinets, counter, and floor cabinets using the following different styles: Modern Style, Classic Style, Antique Style, and Retro Style. 

You are requested to specify an appropriate interface for KVA. Propose a drawing depicting the interface of KVA presented to the user. Briefly explain the main elements of your interface. What will be the appropriate design pattern that may offer you a framework for implementation KVA? Please note that Home Depot and their competitors are constantly adding new styles to appeal to their customers. Explain your choice.  

Reference no: EM13903067

Questions Cloud

Provide the cost of direct materials and direct labor : Provide the cost of direct materials, direct labor, and overhead (at 100 percent of direct labor cost) for the three jobs.
Uses the allowance method to account for uncollectibles : Gomez Corp. uses the allowance method to account for uncollectibles. On January 31, it wrote off a $ 800 account of a customer, C. Green. On March 9, it receives a $ 300 payment from Green.
What is the gravitational attraction between them : A man of mass 95kg is dancing with his wife, who has a mass of 68kg. Assume that each person's mass is concentrated at their respective centers of mass, which are separated by 48cm. What is the gravitational attraction between them?
What proportion of people survived to age 6 : Suppose you were a seller of annuities in 1662 when Graunt's book was published. Explain how you would make use of his data on the ages at which people were dying.
Draw the state diagram of the soda vending machine : Exercise 1. Let's consider the old coin based soda machine behavior discussed in class. The following states were identified: Idle, Collecting Money, Testing & Computing Change, Making Change, and Dispensing Item. Draw the State Diagram of the Soda V..
Critique graunts method for estimating population of london : Critique Graunt's method for estimating the population of London. What implicit assumption is he making?
What amount would have been used in the year end adjusting : Warner Company's year end unadjusted trial balance shows accounts receivable of $ 99,000, allowance for doubtful accounts of $ 600 (credit), and sales of $ 280,000. Uncollectibles are estimated to be 1.5% of accounts receivable.
Is this conclusion justified : Is this conclusion justified? Explain and If your answer to part (a) is no, what other information would be needed before a final conclusion could be drawn?
Compare the actual job costs to managements expected costs : Polebarn Construction  Inc.'s  management  is concerned  that costs  are higher than anticipated. Compare the actual job costs to management's expected costs, and report your results.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  The financial director of a private school would like

The financial director of a private school would like a tracking system for the students at the school

  Use a temporary location t to store the intermediate results

Compare zero-, one, two-, and three- address machines by writing programs to compute.

  Both the discussion and in the assignment tool

Post your response to the following questions in both the discussion and in the assignment tool. Name your assignment in the following manner: LastName_4A

  Represent processor demand in the time interval

Let the function D[i, j] represent processor demand in the time interval (i, j). Prove the following theorem.

  Find newton interpolating polynomial for the function

Find Newton%u2019s interpolating polynomial for the function ;

  Demonstrate ability to collaborate with peers to analyse and

Demonstrate ability to collaborate with peers to analyse and solve business problems with information technologies, and present the solution in a team report.

  Write program that asks user how many students to process

Write a program that asks the user how many students to process (must be at least 1, but no more than 20) and then reads in the scores for three items, an exam average score (double number), lab average score (double number) and homework average s..

  Implement one class called parkingmeter

implement one class called parkingmeter, that is a simple model of a coin operated parking meter

  The data rate of the transmission line is doubled

Bernie's speed is doubled; (ii) each tape capacity is doubled; (iii) the data rate of the transmission line is doubled.

  What key do you press to erase the last character typed

What key do you press to erase the last character typed? The last word? The entire line?

  Evaluate which method would be efficient for planning

Evaluate which method would be efficient for planning proactive concurrency control methods

  Create an array of five insuredpatient objects

Create an array of five InsuredPatient objects. Create a program that justifies the following- Prompts the user for all the patient data, plus the name of the insurance company; the insurance company set accessor determines the percentage paid.

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