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

Your supervisor manages the corporate office where you work as a systems analyst. Several weeks ago, after hearing rumors of employee dissatisfaction, they asked you to create a survey for all IT empl

Your supervisor manages the corporate office where you work as a systems analyst. Several weeks ago, after hearing rumors of employee dissatisfaction, they asked you to create a survey for all IT employees. After the responses were returned and tabulated, your supervisor was dis-appointed that many employees assigned low ratings

The computer science instructor at a local high school asked you to visit her class and give a presentation about project management. You have just a few days to prepare, and you need to develop a pre

The computer science instructor at a local high school asked you to visit her class and give a presentation about project management. You have just a few days to prepare, and you need to develop a presentation that describes project management, project management tools and techniques. Thinking about what to

Information Systems for Life: Chapter 4 Activity: Discuss the key benefits and challenges of Joint Application Development (JAD). Objective: In this chapter you learned that joint application developm

Information Systems for Life: Chapter 4 Activity: Discuss the key benefits and challenges of Joint Application Development (JAD). Objective: In this chapter you learned that joint application development (JAD) is a user-oriented technique for fact-finding and requirements engineering. This exercise strengthens the understanding of techniques used to capture a comprehensive and accurate

Activity: Discuss the importance of effective communication within systems projects. Objective: In this chapter you learned that effective communication is a critical aspect of systems projects. This

Activity: Discuss the importance of effective communication within systems projects. Objective: In this chapter you learned that effective communication is a critical aspect of systems projects. This exercise highlights the impact of effective communication on a company’s systems projects. Instructions: Research effective communication on the Project Management Institute website (  Consider the significance of communication in

A SWOT analysis categorizes an organization’s top strengths, weaknesses, opportunities, and threats into an organized list and is usually presented in a simple two-by-two grid. Tasks: From the followi

A SWOT analysis categorizes an organization’s top strengths, weaknesses, opportunities, and threats into an organized list and is usually presented in a simple two-by-two grid. Tasks: From the following list of possible corporate threats, select one (1): A disconnected, and less loyal, customer base Being leap-frogged by competitor’s technology Breach of

Information Systems for Life: Chapter 1 Activity: Discuss the Pros and Cons of “Bring Your Own Device” (BYOD) in a corporation. Objective: In this chapter you learned about the impact that the develop

Information Systems for Life: Chapter 1 Activity: Discuss the Pros and Cons of “Bring Your Own Device” (BYOD) in a corporation. Objective: In this chapter you learned about the impact that the development of mobile devices and the app ecosystem have had on systems analysts and the knowledge they have to acquire

The Impact Of Technology On Organizations Summative Assessment: Innovative Capabilities Audit Innovation is essential to an organization’s success. When evaluating an organization’s ability to mana

The Impact Of Technology On Organizations Summative Assessment: Innovative Capabilities Audit  Innovation is essential to an organization’s success. When evaluating an organization’s ability to manage technology and innovation, leaders and managers must be cognizant of (and realistic about!) the firm’s capabilities. However, measuring an organization’s capability to innovate can be challenging. The

Systems Analysis and Design Reflection Activity: Chapter 2 Feasibility studies are critical in project management, helping us determine whether proposed projects are viable. As systems analysts, unde

Systems Analysis and Design Reflection Activity: Chapter 2  Feasibility studies are critical in project management, helping us determine whether proposed projects are viable. As systems analysts, understanding feasibility is essential. Let’s explore how reflection can enhance the feasibility evaluation process by answering the following questions:   1. Why are feasibility studies

Systems Analysis and Design Reflection Activity: Chapter 1 In this reflection activity, we will explore the critical role of systems analysts within organizations. Systems analysts play a pivotal rol

Systems Analysis and Design Reflection Activity: Chapter 1  In this reflection activity, we will explore the critical role of systems analysts within organizations. Systems analysts play a pivotal role in bridging the gap between business needs and technology solutions. By understanding their responsibilities, skills, and challenges, we gain insights into the

Provide a one-page summary of your learning experience from the class that I took about Fundamentals of Information Systems Security ( Kim, D., & Solomon, M. G. (2023). Fundamentals of information

Provide a one-page summary of your learning experience from the class that I took about Fundamentals of Information Systems Security ( Kim, D., & Solomon, M. G. (2023). Fundamentals of information systems security (4th ed.). Jones & Bartlett Learning.).  What critical thinking skills have you acquired over the past nine weeks, which

You are in the early stages of preparing a presentation for your organization’s Global Partners Meeting to be held in Geneva. Executive management, inspired by your unstoppable drive for sustainable

You are in the early stages of preparing a presentation for your organization’s Global Partners Meeting to be held in Geneva.  Executive management, inspired by your unstoppable drive for sustainable and viable information security practices across the organization, has asked you to prepare a presentation that will address the issues

Continued from 591164 Unit VII Final Research Paper Assignment objective: In this assignment, you will produce your final paper with the addition of the counterargument and conclusion paragraph,

Continued from 591164 Unit VII Final Research Paper Assignment objective: In this assignment, you will produce your final paper with the addition of the counterargument and conclusion paragraph, your revised introduction paragraph and developed body paragraphs, and a references page with at least three sources. Length: The overall paper should be 1,300

Summative Assessment: Sociotechnical Systems Presentation Research sociotechnical systems and related models. Create a 12- to 15-slide Microsoft PowerPoint presentation with detailed speaker notes out

Summative Assessment: Sociotechnical Systems Presentation Research sociotechnical systems and related models. Create a 12- to 15-slide Microsoft PowerPoint presentation with detailed speaker notes outlining how sociotechnical systems impact decision-making and innovation in modern organizations. In your presentation: Explain how leadership and management styles evolved to support and encourage a sociotechnical

Wk 1 – DIKW Model Graphic and Summary Consider the learning materials for this week. In this assignment, you will apply the data, information, knowledge, and wisdom (DIKW) model to an existing organi

Wk 1 – DIKW Model Graphic and Summary  Consider the learning materials for this week. In this assignment, you will apply the data, information, knowledge, and wisdom (DIKW) model to an existing organization. Select 1 organization with which you are familiar to use for this assignment. This could include a

Select one (1) of the following firewall architecture types: A screened-host firewallA dual-homed host firewallA screened-subnet firewallAn application-level proxy serverFor the firewall architecture

Select one (1) of the following firewall architecture types: A screened-host firewall A dual-homed host firewall A screened-subnet firewall An application-level proxy server For the firewall architecture type that you have selected, develop a paper that addresses the following: Define the specific firewall architecture type you have selected Describe how

Using the instructions from your textbook about items that should be on a good eCommerce site, use a free web creation tool such as weebly.com, to create your own eCommerce site. Come up with products

Using the instructions from your textbook about items that should be on a good eCommerce site, use a free web creation tool such as weebly.com, to create your own eCommerce site. Come up with products or services to offer on your site. Include information about those products including prices. Your

Based upon the results of a just completed IT Audit of your organization’s IT department, operations and infrastructure, it has been noted by the Auditor that there exists no current, implemented data

Based upon the results of a just completed IT Audit of your organization’s IT department, operations and infrastructure, it has been noted by the Auditor that there exists no current, implemented data classification scheme for your IT environment.  In response to the Audit Report, your management has tasked you with