Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

Assessment 3: Programming Project and Report Due date: Week 9 Group/individual: Individual Word count/Time provided: Report 1000 words + code (equiv. 2500 words) Weighting: 40% Unit Learning O

Assessment 3: Programming Project and Report 

Due date: 

Week 9 

Group/individual: 

Individual

Word count/Time provided: 

Report 1000 words + code (equiv. 2500 words) 

Weighting: 

40% 

Unit Learning Outcomes: 

ULO1, ULO3

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

️ WRITER WARNING & OPPORTUNITY NOTICE Attention Academic Writers Before continuing to invest your time and effort on Studydaddy.com, be aware that many writers report serious issues including: Ext

️ WRITER WARNING & OPPORTUNITY NOTICE Attention Academic Writers Before continuing to invest your time and effort on Studydaddy.com, be aware that many writers report serious issues including: Extremely high commission deductions per order Delayed or unclear payments Messages being ignored, muted, or blocked when payment concerns are raised A

Studydaddy Critics You all noticed that the site’s support team has basically ghosted everyone. No replies to tickets, no fixing complaints, no refunds, no dispatching payments straight radio silence.

Studydaddy Critics You all noticed that the site’s support team has basically ghosted everyone. No replies to tickets, no fixing complaints, no refunds, no dispatching payments straight radio silence. So yeah, we got fed up and threw this dumb little script. It just keeps posting this same question after approximately

NCL Labs submission must be on the webportal https://cyberskyline.com/competition/dashboard Open Source Intelligence 8Challenges10 Questions Cryptography 8 Challenges14 Questions Password Cr

NCL Labs submission must be on the webportal Open Source Intelligence  8Challenges10 Questions Cryptography  8 Challenges14 Questions  Password Cracking 7 Challenges10questions Forensics  6 Challenges10Questions Log Analysis 8 Challenges10 Questions Network Traffic Analysis 8 Challenges15Questions Scanning & Reconnaissance  3 challenges 10questions Web Application Exploitation  5 Challenges10 Questions Wireless Access Exploitation  

need a very simple html assignment in under 2 hours Due: February 13, 11:59 pm Make any necessary corrections to all the pages prior to starting Lab 4. This assignment will modify the layout of the ht

need a very simple html assignment in under 2 hours Due: February 13, 11:59 pm Make any necessary corrections to all the pages prior to starting Lab 4. This assignment will modify the layout of the html pages, plus various style modifications including borders and pseudo-selectors. The html pages will

CMIT – 386 – Project 1 – System Scan Report – IntroductionTarget SystemZenmap ScanOpenVAS ScanOpen Socket ConnectionRecommendationsReferences Project 2 – Hacking Demonstration Video and Penetratio

CMIT – 386 – Project 1 – System Scan Report – Introduction Target System Zenmap Scan OpenVAS Scan Open Socket Connection Recommendations References  Project 2 – Hacking Demonstration Video and Penetration Test ReportA video showing your exploitation, credential theft, and data exfiltration. A penetration test report that discusses the steps

Requirements You are required to start with your Lab 5 program – you should have a passing grade (>= 70%) on Lab 5 before starting this assignment other wise you may be building additional function

Requirements You are required to start with your Lab 5 program – you should have a passing grade (>= 70%) on Lab 5 before starting this assignment other wise you may be building additional functionality on a faulty foundation. Make a copy of Lab5.py and name it Lab6.py. Do not edit Lab5.py – you may