Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Assessment 3 Detail Python Programming Assessment: Restaurant Menu Management System This assessment evaluates your ability to utilise Python’s data structures and functions to create a menu managemen

 Assessment 3 Detail

Python Programming Assessment: Restaurant Menu Management System

This assessment evaluates your ability to utilise Python’s data structures and functions to create a menu management system for a restaurant.

Project Objective:

Develop a Python program that simulates a restaurant menu using functions and data structures. This program will demonstrate your understanding of data manipulation, control flow, and efficient data organisation.

Project Description:

Imagine a restaurant with various dishes categorised by type (appetiser, main course, dessert). You’ll build a program to manage the menu, including adding dishes, updating prices, and displaying information for customers.

Data Structure:

We’ll represent dishes on the menu using dictionaries with the following keys:

•      Name (string) – Unique name of the dish.

•      Description (string) – Brief description of the dish ingredients.

•      Price (float) – Current price of the dish.

•      Category (string) – Dish type (appetiser, main course, dessert).

The overall menu will be represented as a dictionary with categories as keys and lists of dish dictionaries as values. For example:

Python

menu = {

    “Appetizers”: [dish1_dict, dish2_dict, …],

    “Main Courses”: [dish3_dict, dish4_dict, …],

    “Desserts”: [dish5_dict, dish6_dict, …] }

Tasks:

1.      Menu Initialisation:

 Create a function to initialise the menu data. This function should: 

o Create an empty dictionary to store the menu categories and dish lists. o Optionally, pre-populate the menu with some sample dishes using dictionaries as described above.

2.      Add a Dish:

•      Develop a function to add a new dish to the menu.

•      This function should prompt the user for details (name, description, price, category) and create a new dish dictionary.

•      Add the newly created dish dictionary to the appropriate category list within the menu dictionary.

3.      Update Dish Price:

•      Design a function to update the price of a specific dish.

•      This function should allow the user to search for a dish by name.

•      If the dish exists, prompt the user for the new price and update the price value in the corresponding dish dictionary.

4.      Display Menu:

•      Create a function that allows customers to view the entire menu categorised.

•      This function should iterate through the menu dictionary, displaying the category name and then looping through each dish dictionary within that category, printing its name, description, and price.

5.      Search for Dish:

•      Develop a function that allows customers to search for a specific dish by name.

•      If the dish exists, display its full information (name, description, price, and category).

•      If the dish is not found, display an appropriate message.

Assessment Evaluation:

•      Appropriate use of functions, dictionaries, lists, and conditional statements.

•      Accurate representation of menu data with efficient organisation (using categories).

•      Implementation of adding dishes, updating prices, displaying the entire menu, and searching for specific dishes functionalities.

•      User-friendly interface with clear prompts and informative messages.

•      Error handling for invalid user inputs and dish search functionality.

•      Overall code organisation, readability, and adherence to Python best practices.

What you should submit:

•      Your report will consist of:

o        A brief description of your chosen approach and data structures. o Algorithm (pseudocode) for Task 2, Task 3 and Task 5.

o        Well-commented Python code for the restaurant menu management system.

 Source code for your Python implementation

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

In this final project, imagine that you are the chief executive officer (CEO) of your health organization and that you are asked by your organization’s board of directors to prepare a policy proposal

In this final project, imagine that you are the chief executive officer (CEO) of your health organization and that you are asked by your organization’s board of directors to prepare a policy proposal to be submitted to your local area’s congressperson. In this policy proposal, you are defending or challenging

In 400–600 words: Describe what you think is the most pertinent health policy issue with the potential to transform the way healthcare is delivered.Provide a rationale for the implementation of a poli

In 400–600 words: Describe what you think is the most pertinent health policy issue with the potential to transform the way healthcare is delivered. Provide a rationale for the implementation of a policy brief from a legal, ethical, and operational perspective. Be specific, and provide examples.

The Patient Protection and Affordable Care Act (PPACA) requires that U.S. citizens and legal residents obtain qualifying health coverage. Write a report of 5–7 pages that explores the individual manda

The Patient Protection and Affordable Care Act (PPACA) requires that U.S. citizens and legal residents obtain qualifying health coverage. Write a report of 5–7 pages that explores the individual mandate section of this health reform law and how current legislation impacts this. Complete the following: Explain the individual mandate included in

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Use this recent peer-reviewed a

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Use this recent peer-reviewed article from a healthcare journal that reports on how well the Patient Protection and Affordable Care Act (PPACA) is working. 

The final project is to design a network, network security and WAN connectivity for the following situation: Organization of 100 computer users in three locations. Location one: two buildings, 25 comp

The final project is to design a network, network security and WAN connectivity for the following situation: Organization of 100 computer users in three locations. Location one: two buildings, 25 computer users in each building. 50 total Location two: one building, 15 computer users. Location three: one building 35 computer users. Document

https://www.dropbox.com/scl/fi/b5pcfgruhyc7sft4nuukl/Stage-4-Business-Analysis-and-System-Recommendation.docx?rlkey=1cbaqfqlu4iwyvb92vjma4xrv&st=ac27fqoj&dl=0 https://www.dropbox.com/scl/fi/u8

https://www.dropbox.com/scl/fi/b5pcfgruhyc7sft4nuukl/Stage-4-Business-Analysis-and-System-Recommendation.docx?rlkey=1cbaqfqlu4iwyvb92vjma4xrv&st=ac27fqoj&dl=0 https://www.dropbox.com/scl/fi/u8z004mkd6uc1swn9r6mk/EZ-ATS-Brochure.pdf?rlkey=eczacb8pmmp05okxc0b8ysy21&st=5897a3aa&dl=0 Stages 2 and 3 (both completed)  https://www.dropbox.com/scl/fi/pkknsc9bkgbhlzm7483bb/Stage-2-Business-Analysis-and-System-Recommendation.docx?rlkey=8eb0mki4ctf3w8485lss9u1u4&st=1u4bg8s9&dl=0 https://www.dropbox.com/scl/fi/ycgf96hxd4115hvxkuqxg/Stage-3.docx?rlkey=etjzyb4jnyq0oep4lye4mz5k7&st=i9wlqeya&dl=0

Assignment 3 Submit a Word document with the answers to the following questions. Review Oracle Database 19c: Basic SQL and Oracle Database 19c: PL/SQL Search Oracle Live SQL for the HR Objects and Dat

Assignment 3 Submit a Word document with the answers to the following questions. Review Oracle Database 19c: Basic SQL and Oracle Database 19c: PL/SQL Search Oracle Live SQL for the HR Objects and Data For Live SQL script. Save the script and execute it. Or use this link to find the script https://livesql.oracle.com/apex/livesql/file/content_GV8MU6SITA2V3VYI179FAJUCY.html Search Oracle Live

The United States created Medicaid—a publicly funded healthcare program—to assist people in obtaining healthcare services. Write a paper of 5–7 pages that explores Medicaid and the Children’s Health I

The United States created Medicaid—a publicly funded healthcare program—to assist people in obtaining healthcare services. Write a paper of 5–7 pages that explores Medicaid and the Children’s Health Insurance Program (CHIP) and that addresses the following: What legislation introduced Medicaid, and what are the funding sources for the program? What are

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Complete the following: Describ

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Complete the following: Describe 2 key lessons that you have learned from state or local health reform efforts, and provide an analysis on how

Many people throughout the United States face significant barriers to healthcare access. As policy makers and other stakeholders consider ways to address challenges related to access to care, one key

Many people throughout the United States face significant barriers to healthcare access. As policy makers and other stakeholders consider ways to address challenges related to access to care, one key area of focus involves those who lack insurance or have inadequate coverage through insurance. Develop a PowerPoint presentation of 8–10

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Choose a health policy issue in

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Choose a health policy issue in your workplace or community that is related to healthcare cost, quality, or access, and then discuss the following

Write an executive summary of a recent (within the past 2 years) article related to healthcare policy processes that is centered on improving healthcare quality and outcomes. Your summary must include

Write an executive summary of a recent (within the past 2 years) article related to healthcare policy processes that is centered on improving healthcare quality and outcomes. Your summary must include the following: Describe the health policy development process and the roles that various stakeholders have in that process associated

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Complete the following for this

Write 400–600 words that respond to the following questions with your thoughts, ideas, and comments. Be substantive and clear, and use examples to reinforce your ideas. Complete the following for this assignment: Select 1 health issue—such as diabetes, cancer, aging, chronic diseases, or obesity—and describe how current health policy (federal

https://www.dropbox.com/scl/fi/21fxfc7fr7z4y5ghhznoj/Stage-2-Business-Analysis-and-System-Recommendation-2.docx?rlkey=srllqpema7rdductuxmqw94zz&st=cz970218&dl=0 https://www.dropbox.com/scl/fi/

https://www.dropbox.com/scl/fi/21fxfc7fr7z4y5ghhznoj/Stage-2-Business-Analysis-and-System-Recommendation-2.docx?rlkey=srllqpema7rdductuxmqw94zz&st=cz970218&dl=0 https://www.dropbox.com/scl/fi/dwf6cju9felcxlyh7iizu/Maryland-Technology-Consultants-Case-Study.pdf?rlkey=tstsxmpnzat9023c0ryuvvjeg&st=qieyaz64&dl=0

The case study retail store has provided a list of reports and data manipulation tasks that are needed in the processing of orders for their customers. Answer the following: What structured query lang

The case study retail store has provided a list of reports and data manipulation tasks that are needed in the processing of orders for their customers. Answer the following: What structured query language (SQL) statement scripts are needed to create the database schema for the relational database system and manipulate