DELHI PUBLIC SCHOOL
GHAZIABAD
COMPUTER SCIENCE
Project File
On
RESTAURANT MANAGEMENT SYSTEM
SESSION 2025-26
Submitted to- Submitted by-
Ms. Ruchi Sharma Avni Singh
Class- XII A5
CERTIFICATE
This is to certify that Avni Singh, a student of Class XII-A5, Roll No. 10,
has successfully completed the Computer Science project titled “Restaurant
Management System” for the academic session 2025-26. This project is in
partial fulfillment of the course curriculum prescribed by CBSE.
The project embodies the student’s original work under the guidance of Ms.
Ruchi Sharma.
Teacher Incharge
Acknowledgment
I would like to express my heartfelt gratitude to my teacher Ms.
Ruchi Sharma for her valuable guidance, support, and
encouragement throughout the project. I am also thankful to my
principal, my classmates, and my parents for their constant
motivation. Special thanks to the authors of the reference books
and online resources that helped me understand the concepts of
Python and MySQL.
Index
1. Introduction
2. Objective
3. Applications and Uses
4. Brief Description of the Code
5. Program Code
6. Output Screenshots (Sample)
7. Conclusion
8. Bibliography
Introduction
The Restaurant Management System is a computerized application designed to handle
and automate the day-to-day operations of a restaurant. Traditionally, restaurants rely
heavily on manual record keeping for orders, menu management, billing, and maintaining
customer information. This process is not only time-consuming but also prone to human
error. With the growing use of technology in every field, it has become necessary for
restaurants, whether small or large, to use computerized systems for smoother
functioning.
This project integrates the use of Python programming language with MySQL database
connectivity to create a simple yet efficient Restaurant Management System. The system
allows the staff to add new menu items, view available items, take customer orders, and
generate bills based on those orders. By using MySQL as the backend database, the
program ensures that all records are safely stored and can be retrieved or updated at any
time. Python is used as the front-end language to provide a user-friendly interface in the
command-line format.
The project is aligned with the CBSE Class XII Computer Science curriculum, which
emphasizes the use of databases with Python. It demonstrates how concepts such as data
storage, retrieval, insertion, deletion, and updating of records can be applied in a real-
world scenario like a restaurant. In addition, this project gives students exposure to how
industries use database-driven applications for efficiency and accuracy.
Thus, this project is not just a school-level exercise but also a small model of a real-life
system that can be scaled up with advanced features like a Graphical User Interface
(GUI), online ordering, inventory management, and even data analytics. It bridges the
gap between theoretical knowledge and practical application, making it a valuable
learning experience.
Objective
The main objective of this project is to demonstrate how Python
can be used in combination with MySQL to create a simple yet
efficient database-driven application. It helps students understand
database operations such as insertion, deletion, updating, and
retrieval of records in real-life scenarios like restaurant
management
Applications and Uses
1. Helps restaurant staff manage menu and customer orders
efficiently.
2. Stores sales and billing data securely in a database.
3. Reduces manual effort in maintaining records.
4. Provides quick access to past data for analysis and
reporting.
5. Demonstrates how database systems are applied in real-life
industries.
Brief Description of the Code
The Restaurant Management System project is divided into two main parts: the database
(MySQL) and the application (Python program). The database is created using MySQL
and consists of two tables: 'menu' for storing item details like ID, name, and price, and
'orders' for storing order-related data such as order ID, item ID, quantity, and total bill
amount. These tables are connected using a foreign key relationship so that each order
corresponds to an item in the menu.
On the other hand, the Python program acts as the front-end through which the user
interacts. It uses the '[Link]' library to establish a connection between Python
and MySQL. The program provides a menu-driven interface with options like:
- Adding a new menu item (with ID, name, and price).
- Viewing all menu items from the database.
- Taking customer orders, calculating the total bill, and storing the order in the database.
Every operation in the Python program corresponds to SQL commands in the backend.
For example:
- Insertion of menu items uses the SQL 'INSERT' command.
- Viewing menu items uses the 'SELECT' command.
- Placing orders also involves 'SELECT' to fetch item prices and 'INSERT' to add order
records.
This project highlights how Python can be used not only for computation but also as a
medium to interact with databases and build real-world applications. It provides hands-on
experience in database management and reinforces concepts of data storage, retrieval,
and manipulation.
Program Code(Python)
PROGRAM CODE(MYSQL)
SAMPLE OUTPUT
Conclusion
This project demonstrates the practical application of
Python and MySQL connectivity. It provides hands-on
experience in designing and implementing a real-world
database-driven system. The Restaurant Management
System is a simplified model, but it can be further
enhanced for commercial use by adding advanced features
like GUI, payment gateway, and data analytics.
Bibliography
1. NCERT Computer Science (Class XII)
2. [Link] Documentation
3. MySQL Official Documentation
4. CBSE Sample Projects
5. Reference websites and tutorials on Python-MySQL
connectivity