Document 15
Document 15
NARAYANA OLYMPIAD
SCHOOL
(Recognized By the Govt. of India, Affiliated to CBSE Board, New Delhi)
Rajeev Gandhinagar circle, AMCO Layout Sahakarnagar
Bangalore-560092.
School Code- 45673, Affiliation Code- 830713
CENTRAL BOARD OF
SECONDARY
EDUCATION
CBSE+2 COMPUTER SCIENCE PROJECT ON
Restaurant Management System
BY:
STUDENT NAME: Prathit V Patil
REG NO:
CERTIFICATE
Certified that the Project Report Entitled
Restaurant Management System
Is Bonafide work carried out by Prathit Patil in Fulfillment of the prescribed Project work
as instructed by the CENTRAL BOARD OF SECONDARY EDUCATION for CBSE+2
PHYSICS during the academic year 2024-2025. The project report has been approved as it
satisfies the academic requirements in respect of Project prescribed for CBSE+2.
……………………… ………………………
Guide Principal
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompany the completion of any task would be
incomplete without the mention of the people who made it possible, whose constant guidance and
encouragement ground my efforts with success.
I consider it is a privilege to express my gratitude and respect to all those who guided me
in completion of my project.
It’s a great privilege to place on record my deep sense of gratitude to our Dean, Principal, Project
guide who patronized throughout our project & for the facilities provided to carry out this work
successfully.
I thank the teaching and non-teaching staff members who have helped me directly or
indirectly during the project work.
Finally, I also thank my family and friends for their co-operation and motivation to
complete this project successfully.
STUDENT NAME
Prathit V Patil
Introduction: Restaurant Management System
The Restaurant Management System (RMS) is a project designed to demonstrate the practical
application of database management concepts using Python and MySQL. It focuses on
performing simple operations like storing, retrieving, updating, and deleting data in a structured
and efficient manner. The project serves as a learning tool to highlight how databases can be
seamlessly integrated with a programming language to create functional and user-friendly
applications.
The primary objective of this project is to develop a basic system that allows restaurant staff and
administrators to perform essential tasks, such as:
● Storing data: Recording details about customers, menu items, orders, and bills.
● Retrieving data: Fetching information quickly, such as displaying the menu or retrieving
past order history.
● Updating data: Making changes to the database, like updating menu prices or editing
customer details.
● Deleting data: Removing outdated or unnecessary records, such as old orders or
discontinued menu items.
The project showcases the use of Structured Query Language (SQL) for database operations
and its integration with Python for implementing application logic. MySQL serves as the
backend database system, offering a robust and scalable way to manage data, while Python acts
as the interfce for user interactions and query execution.
Use of the Program in the Modern World
In the modern world, where the food service industry is highly competitive and customer
expectations are continually evolving, a Restaurant Management System (RMS) plays a
crucial role in enhancing operational efficiency and customer satisfaction. Such programs
streamline routine tasks like order processing, inventory management, and billing, reducing the
need for manual labor and minimizing errors. By integratig technology into restaurant
operations, businesses can provide faster service, maintain accurate records, and make data -
driven decisions. Moreover, with the rising popularity of online food delivery and digital
payments, systems like RMS can easily adapt to include features like online order tracking and
payment integration. These capabilities not only improve the overall customer experience but
also allow restaurants to scale their operations while maintaining quality, making RMS an
indispensable tool in the modern food industry.
Features of the Program
1. Menu Storage and Display:
2. The program allows users to store menu items, including their names and prices, in a
database. It can retrieve and display the menu on demand.
3. Order Logging:
Users can input customer orders, which are saved to the database along with a unique order ID
and timestamp. This helps in maintaining a record of all orders placed.
4. Bill Generation:
The system calculates the total bill based on the items ordered and their quantities. It also
provides an option to include taxes or discounts.
5. Database Operations :
a. Add new items, orders, or customer details.
b. View stored data like menu items, past orders, or customer records.
c. Update information such as menu prices or order details.
d. Delete outdated or unnecesssary data, like discontinued menu items.
6. Customer Details Management:
The system can store basic customer information, such as name and contact number, for future
reference or personalized services.
7. Simple User Interface:
The program provides a text-based interface that is easy to navigate, allowing users to interact
with the system through menus and prompts.
8. Search Functionality:
Users can search for specific menu items or orders by keywords, making it easy to locate
information quickly.
9. Basic Error Handling:
The program includes simple mechanisms to handle invalid inputs, such as entering non-numeric
data where numbers are expected.
Source Code:
1. Password.py:
import mysql.connector as sql
if n == 1:
# User Registration
username = input("Enter a Username: ")
password = int(input("Enter a 4-DIGIT Password: "))
elif n == 2:
# User Login
username = input("Enter your Username: ")
password = int(input("Enter your 4-DIGIT Password: "))
2.Main.py:
import time
import mysql.connector as sql
if choice == 1:
add_menu_item()
elif choice == 2:
view_menu()
elif choice == 3:
place_order()
elif choice == 4:
generate_bill()
elif choice == 5:
list_orders()
elif choice == 6:
update_menu_price()
elif choice == 7:
print("Exiting Restaurant Management System")
break
else:
print("Invalid choice! Please try again.")
else:
print("Thank you for using the Restaurant Management System.")
# Enable autocommit
conn.autocommit = True
These software components will allow you to interact with the MySQL database from your
Python code, perform CRUD operations, and implement your restaurant management system
successfully.
BIBLIOGRAPHY
1. Arora, Sumita. Computer Science with Python. Sumita Arora, 2019.
a. This book serves as a comprehensive guide to learning Python and implementing various
projects. It provides fundamental concepts that helped in the development of this project.
2. Python.org. Python Official Website. https://www.python.org/
a. The official Python website provides resources, documentation, and downloads for the
Python programming language, which was used for the coding of this project.
3. MySQL Official Website. MySQL Database. https://dev.mysql.com/
a. The official MySQL website contains documentation, tools, and resources related to
MySQL, the database management system used in this project.
4. MySQL Connector for Python. MySQL Python Connector.
https://dev.mysql.com/downloads/connector/python/
a. The MySQL Connector allows Python to connect and interact with MySQL databases.
The connector was essential for integrating Python with MySQL in the development of
this project.