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

The Impact Of Technology On OrganizationsWk 8 – Summative Assessment: Technology-Management Plan Imagine this scenario: You are a technology development consultant for a large service organization. Ex

The Impact Of Technology On OrganizationsWk 8 – Summative Assessment: Technology-Management Plan Imagine this scenario: You are a technology development consultant for a large service organization. Executive leadership has given you the responsibility of developing a technology-management plan. Write a 1,400- to 1,750-word paper in which you evaluate the management

Review the journal article Employees Adherence to Information Security Policies, link is https://cdn.inst-fs-iad-prod.inscloudgate.net/ec5f46b2-1b12-45f2-915b-5f6549eafab9/Employees’%20adherence%20to%

Review the journal article Employees Adherence to Information Security Policies, link is https://cdn.inst-fs-iad-prod.inscloudgate.net/ec5f46b2-1b12-45f2-915b-5f6549eafab9/Employees’%20adherence%20to%20information%20security%20policies%2C%20An%20exploratory%20field%20study.pdf?token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6ImNkbiJ9.eyJyZXNvdXJjZSI6Ii9lYzVmNDZiMi0xYjEyLTQ1ZjItOTE1Yi01ZjY1NDllYWZhYjkvRW1wbG95ZWVzJUUyJTgwJTk5JTIwYWRoZXJlbmNlJTIwdG8lMjBpbmZvcm1hdGlvbiUyMHNlY3VyaXR5JTIwcG9saWNpZXMlMkMlMjBBbiUyMGV4cGxvcmF0b3J5JTIwZmllbGQlMjBzdHVkeS5wZGYiLCJ0ZW5hbnQiOiJjYW52YXMiLCJ1c2VyX2lkIjoiMTA2ODUwMDAwMDAwMDQzMzcwIiwiaWF0IjoxNzYzNTQ4NDcxLCJleHAiOjE3NjM2MzQ4NzF9.N2vrrvQr2t-MEPVDw54kLc_ZoekbOAfWUj5-WoCgT_ds070e01CRec1N_arz8LZJppTgz5rKQA9GNAcZWaQ2OQ&download=1&content_type=application%2Fpdf The essay should reflect your understanding of your textbook readings and the journal article. You are free to use any other relevant references beyond the prescribed texts. Summarize the article’s main points, and answer the following questions. What

In this chapter you learned about system architecture. This exercise helps to deepen the understanding of system architecture concepts and the process of translating logical designs into physical blue

In this chapter you learned about system architecture. This exercise helps to deepen the understanding of system architecture concepts and the process of translating logical designs into physical blueprints for information systems. Instructions: Answer the following questions: Describe the steps involved in translating a logical design into a physical blueprint

Tip Top Toys is a relatively small division of Worldwide Enterprises. Worldwide has nine other divisions, which include insurance, healthcare products, and financial planning services, to name a few.

Tip Top Toys is a relatively small division of Worldwide Enterprises. Worldwide has nine other divisions, which include insurance, healthcare products, and financial planning services, to name a few. The corporate marketing director for Worldwide has requested Tip Top’s customer shopping data to target people who might be likely to

Review the journal article, What We Talk About When We Talk About “Reasonable Cybersecurity”, by Kevin L. Miller. The essay should reflect your understanding of your textbook readings and the journal

Review the journal article, What We Talk About When We Talk About “Reasonable Cybersecurity”, by Kevin L. Miller. The essay should reflect your understanding of your textbook readings and the journal article. You are free to use any other relevant references beyond the prescribed texts. Summarize the article’s main points, and

Discuss the importance of user interfaces in technology and the principles of HCI. Objective: In this chapter you learned about the principles and best practices of designing user interfaces and sourc

Discuss the importance of user interfaces in technology and the principles of HCI. Objective: In this chapter you learned about the principles and best practices of designing user interfaces and source documents/forms. Instructions:  Choose a specific topic related to user interfaces and HCI (e.g., the importance of user research, the role

In this reflective activity, you will reflect on your understanding of how data is organized, stored, and managed, and to recognize the importance of mastering data design for systems analysts.For thi

In this reflective activity, you will reflect on your understanding of how data is organized, stored, and managed, and to recognize the importance of mastering data design for systems analysts. For this Reflection activity, research and answer the following questions: In 1000 words, how would you explain the importance of

Review the journal article about cloud security in healthcare, “Data Privacy in Cloud-assisted Healthcare Systems: State of the Art and the Future Challenges“ by Anam Sajid and Haider Abbas and provid

Review the journal article about cloud security in healthcare, “Data Privacy in Cloud-assisted Healthcare Systems: State of the Art and the Future Challenges“ by Anam Sajid and Haider Abbas and provide ALL of the following information: A summary of the article’s main points List and summarize the main areas of

Discuss the difference between a logical model and a physical model. Objective: In this chapter you learned that systems development involves creating models to understand and design information syste

Discuss the difference between a logical model and a physical model. Objective: In this chapter you learned that systems development involves creating models to understand and design information systems. This exercise explores the relationship between logical and physical models in the context of systems development. Instructions: Answer the following questions: Why is it essential

In this reflection activity, we will explore the concept of object modeling, its significance in software development, analyze the benefits of using object-oriented approaches, and consider real-world

In this reflection activity, we will explore the concept of object modeling, its significance in software development, analyze the benefits of using object-oriented approaches, and consider real-world scenarios where object modeling plays a crucial role. Begin by reviewing the object modeling information in Chapter 6. Pay attention to the key

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