logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Varun JoharStatistics
(5/5)

636 Answers

Hire Me
expert
Bill BattershilllAccounting
(5/5)

627 Answers

Hire Me
expert
Maeve WhitakerPhilosophy
(5/5)

916 Answers

Hire Me
expert
Ravindranath Reddy EragamreddyEngineering
(/5)

931 Answers

Hire Me
Others
(5/5)

real systems tie into the restaurants financial and accounting records for auditing automatically reorder supplies and ingredients at the right time

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Case scenario

You have been hired at Maria’s Kitchen, a restaurant in Riverside. Chef and owner Maria has been asking her wait staff to take orders on paper. She would like a new system where the wait staff can type in orders. The system should also print tickets for the kitchen staff that are easy to read so they know what dish to make and what table it belongs to.

For those of you who have food service experience, you will recognize this as a very simple point-of-sale (POS) and kitchen display system (KDS).

Industry note: real systems tie into the restaurant’s financial and accounting records for auditing (finance and accounting majors), automatically reorder supplies and ingredients at the right time (supply chain majors), and allow access from a dashboard that can analyze the data for patterns and trends as well as employee performance (management, marketing, and business analytics majors).

Use the starter code

def ticket(table, type, dish):

# Finish the rest of this function def process(order):

# Finish the rest of this function

# Remember to add a blank line after the end of your process() function code. Start your "main" block of code below this line.

What your Python program should do

In the main part of your code outside of the functions

You need to create this code.

Ask the user to type in an order in this format (without the square brackets):

[table number]*[a, m, d, or f]-[the name of the dish]

The number is the table number. This is followed by a star.

Next comes a, m, d, or f, in lowercase. 'a' means appetizer. 'm' means main dish. 'd' means dessert. 'f' means 'on the fly' which tells the kitchen to cook that dish urgently.

This is followed by a dash.

At the end is the name of the dish.

For example: 2*m-burger and fries

This means table number 2, it is a main dish, and the dish is called 'burger and fries.'

The user will type all of this on one line with no spaces except for in the dish name.

Store this order into a list. Let the user keep typing in orders. Store all orders in the same list.

The user stops entering orders by typing in ‘x’ without quotes. Once you have all of the orders, access each order in the list and send it to a function called process() that takes in the order as a parameter.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme