0% found this document useful (0 votes)
12 views17 pages

CS Project

Uploaded by

routsubham4702
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views17 pages

CS Project

Uploaded by

routsubham4702
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

Carmel English medium school, jatni

ACADEMIC YEAR : 2024-25


COMPUTER SCIENCE PROJECT REPORT ON:
HOTEL MANAGEMENT SYSTEM

PROJECT SUBMITTED BY:


NAME: Subham Rout
CLASS: XII (Science)
ROLL NO: ______________

GUIDED BY: Ms. Chinmayee Nayak


PGT (CS)
Carmel English Medium School

Certificate
This is to certify that Mr. Subham Rout a student of class XII
(Science), CBSE Roll No: __________ has successfully
completed the project work entitled “ Hotel Management
System” in the subject Computer Science (083) laid down in
the regulations of CBSE for the purpose of Practical
Examination in Class XII to be held in Carmel English
Medium School, Jatni, Khordha.

_____________ _____________
Teacher-In-Charge External Examiner
(Computer Science Department)

______________
Principal

Pag
e-2

Acknowledgement
Apart from the efforts of me, the success of any project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express
my gratitude to the people who have been instrumental in the successful
completion of this project.

I express deep sense of gratitude to almighty God for giving me strength for the
successful completion of the project.
I express my heartfelt gratitude to my parents for constant encouragement while
carrying out this project.
I gratefully acknowledge the contribution of the individuals who contributed in
bringing this project up to this level, who continues to look after me despite my
flaws.
I express my deep sense of gratitude to the luminary The Principal, Carmel
English Medium School, Khordha, who has been continuously motivating and
extending their helping hand to us.

I express my sincere thanks to the academician The Vice Principal, Carmel


English Medium School, Khordha, for constant encouragement and the
guidance provided during this project.

I am overwhelmed to express my thanks to The Co-ordinator, Carmel English


Medium School, Khordha, for providing me an infrastructure and moral
support while carrying out this project in the school.
My sincere thanks to Ms. Chinmayee Nayak (PGT), A guide, Mentor all the
above a friend who critically reviewed my project, was vital for the success of
the project. I am grateful for their constant support and help.

Page
–3

TABLE OF CONTENTS

SL No DESCRIPTION PAGE NO
01 INTRODUCTION 5

02 OBJECTIVE OF THIS PROJECT 6

03 PROPOSED SYSTEM 7

04 FLOW CHART 8

05 SOURCE CODE 9

06 OUTPUT 14

HARDWARE AND SOFTWARE


07 16
REQUIREMENTS

08 BIBLIOGRAPHY 17

Page – 4

Introduction
The Hotel Management System is an advanced
software application designed to automate and
streamline various hotel operations. The hospitality
industry often faces challenges such as inefficient room
allocation, manual errors in billing, difficulty in
tracking customer details, and managing staff
schedules. These challenges can lead to poor customer
experiences and revenue loss.
This system aims to address such issues by offering a
centralized platform to handle all key hotel activities.
The application is equipped with features to manage
room bookings, maintain customer information, process
payments, and generate reports, ensuring a seamless
operation for hotel administrators and staff.
The system is scalable and can cater to small hotels as
well as large resorts, enabling adaptability as per
business needs. By reducing the dependency on manual
efforts, it not only saves time but also minimizes errors,
thereby enhancing the hotel's productivity and
profitability.

Page – 5

Objective of this Project :


The objectives of the Hotel Management System are as follows:
1. Automation of Hotel Operations: To eliminate the need for
manual record-keeping and streamline key hotel activities like
room booking, billing, and customer management.
2. Enhanced User Experience: To create a user-friendly interface
for customers and staff, ensuring smooth interaction with the
system.
3. Data Security and Integrity: To securely store customer and
operational data, reducing the risk of data breaches and
unauthorized access.
4. Error Reduction: To minimize human errors in tasks such as
billing, room allocation, and customer information management.
5. Real-Time Updates: To provide instant updates on room
availability, bookings, and staff schedules, enabling quick
decision-making.
6. Cost Efficiency: To reduce operational costs by automating
repetitive tasks and optimizing resource utilization.
7. Scalability: To design a system that can accommodate the
future growth of the hotel, including adding more rooms,
services, or features.
8. Comprehensive Reporting: To generate detailed reports for
occupancy rates, revenue analysis, and customer trends, aiding
in strategic decision-making.
9. Improved Customer Satisfaction: To enhance customer
satisfaction by offering efficient and reliable services, such as
faster check-ins, check-outs, and accurate billing.
10. Sustainability and Eco-Friendliness: To reduce paper
usage by digitizing records and implementing paperless billing
systems.

Page – 6

Proposed System :
The proposed system offers the following features:
 Room Booking and Availability Check: Allows customers to
book rooms and check room availability in real-time.
 Customer Management: Stores and manages customer details.
 Billing and Payment: Automates the billing process and
supports multiple payment modes.
 Check-In and Check-Out Management:

Check-In:

o Assigns rooms to customers upon arrival.


o Updates room status to "occupied" after successful check-
in.
o Captures and stores customer details, including name and
room number.

Check-Out:

o Processes customer departures and releases the room.


o Updates room status to "available" after successful check-
out.
o Optionally integrates billing for seamless service
completion.
 Staff Management: Maintains staff records and their schedules.
 Reports Generation: Generates reports for occupancy, revenue,
and other metrics.

Page - 7

Flow Chart
Page – 8

Source Code
Language: Python (with Tkinter for GUI)
1. Room Boking and Availability Check:
from tkinter import *
from tkinter import messagebox

class HotelManagement:
def __init__(self, root):
self.root = root
self.root.title("Hotel Management System")
self.root.geometry("600x400")

self.rooms = {"101": "Available", "102": "Available", "103": "Available"}

# Room Booking Frame


Label(root, text="Room Booking", font=("Arial", 16)).pack()
Label(root, text="Room Number:").pack()
self.room_no = Entry(root)
self.room_no.pack()
Button(root, text="Check Availability", command=self.check_availability).pack()
Button(root, text="Book Room", command=self.book_room).pack()

# Display Rooms
self.display_label = Label(root, text="", font=("Arial", 12))
self.display_label.pack()

Page - 9

def check_availability(self):
room = self.room_no.get()
if room in self.rooms:
if self.rooms[room] == "Available":
messagebox.showinfo("Availability", f"Room {room} is available.")
else:
messagebox.showinfo("Availability", f"Room {room} is booked.")
else:
messagebox.showerror("Error", "Invalid Room Number.")

def book_room(self):
room = self.room_no.get()
if room in self.rooms:
if self.rooms[room] == "Available":
self.rooms[room] = "Booked"
messagebox.showinfo("Success", f"Room {room} has been booked.")
else:
messagebox.showerror("Error", "Room already booked.")
else:
messagebox.showerror("Error", "Invalid Room Number.")

if __name__ == "__main__":
root = Tk()
app = HotelManagement(root)
root.mainloop()

Page – 10

2. Customer Details Management:

class CustomerManagement:
def __init__(self, root):
self.root = root
self.customers = {}

def add_customer(self, name, phone, room_no):


self.customers[phone] = {"name": name, "room_no": room_no}
print(f"Customer {name} added to room {room_no}.")

3. Billing and Payment:

def calculate_bill(room_price, days):


return room_price * days

Page – 11

4. Customer Check In and Check Out:

class HotelCheckInOut:
def __init__(self, root):
self.root = root
self.root.title("Hotel Management System - Check-In/Check-Out")
self.root.geometry("600x500")

# Data structure to store customer details


self.customers = {}

# Check-In Frame
Label(self.root, text="Customer Check-In", font=("Arial", 16)).pack(pady=10)
Label(self.root, text="Customer Name:").pack()
self.checkin_name = Entry(self.root)
self.checkin_name.pack()
Label(self.root, text="Room Number:").pack()
self.checkin_room = Entry(self.root)
self.checkin_room.pack()
Button(self.root, text="Check-In", command=self.check_in).pack(pady=10)

# Check-Out Frame
Label(self.root, text="Customer Check-Out", font=("Arial", 16)).pack(pady=20)
Label(self.root, text="Room Number:").pack()
self.checkout_room = Entry(self.root)
self.checkout_room.pack()
Button(self.root, text="Check-Out", command=self.check_out).pack(pady=10)

Page – 12

# Display Message
self.display_label = Label(self.root, text="", font=("Arial", 12), fg="green")
self.display_label.pack(pady=20)
def check_in(self):
name = self.checkin_name.get().strip()
room = self.checkin_room.get().strip()

if name and room:


if room in self.customers:
messagebox.showerror("Error", f"Room {room} is already occupied!")
else:
self.customers[room] = name
messagebox.showinfo("Success", f"Check-In Successful for {name} in Room
{room}.")
self.display_label.config(text=f"Room {room} is now occupied by {name}.",
fg="green")
else:
messagebox.showerror("Error", "Please fill in both Name and Room Number.")

def check_out(self):
room = self.checkout_room.get().strip()

if room:
if room in self.customers:
customer_name = self.customers.pop(room)
messagebox.showinfo("Success", f"Check-Out Successful for {customer_name}
from Room {room}.")
Page - 13

self.display_label.config(text=f"Room {room} is now available.", fg="blue")


else:
messagebox.showerror("Error", f"Room {room} is already vacant!")
else:
messagebox.showerror("Error", "Please enter a Room Number.")

if __name__ == "__main__":
root = Tk()
app = HotelCheckInOut(root)
root.mainloop()

Output :
1. Room Booking and Availability Check:
- Room 101 is available.
- Room 102 is booked.
2. Customer Management:
- Added Customer: XYZ, Room: 101.
3. Billing:
- Total bill for 3 days: $450.

Page – 14

4. Check-In Success:

 Input:
o Customer Name: XYZ
o Room Number: 101
 Message: "Check-In Successful for XYZ in Room 101."
 Display: "Room 101 is now occupied by XYZ.

5. Check-Out Success:

 Input:
o Room Number: 101
 Message: "Check-Out Successful for XYZ from Room 101."
 Display: "Room 101 is now available."

Page – 15

Hardware and Software Requiements :


I. Operating System: Windows 7 or Above
II. Processor: Intel i3 or Above
III. Ram: 4Gb or Above
IV. Storage: 512Gb SSD or Above
V. Display: 1024 X 768 resolution
Monitor
VI. Key board and Mouse

Software requirements:
I. Windows / OS / Linux
II. Python
III. MySQL or Tkinter
IV. Word processor
V. Editor : PyCharm / VS code

Page - 16

Bibliography

I. Computer Science With Python – Class XII


BY : Sumit Arora
II. Sourcecode.in
III. Python coding program
IV. https://www.chatgpt.com
V. https://www.scribd.com

Page - 17

You might also like