0% found this document useful (0 votes)
21 views24 pages

Comp 4 1

Uploaded by

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

Comp 4 1

Uploaded by

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

VEDIC VIDYASHRAM SENIOR SECONDARY SCHOOL

Madurai Road , Thachanallur , Tirunelveli – 627 358

COMPUTER SCIENCE PROJECT REPORT


ON
HOTEL MANAGEMENT
Submitted to partial fulfillment of the requirement Practicals of Senior
Secondary (CBSE)
(2024-2025)

Submitted by : K.SRIHARIDHADEESH
GRADE: XII – A
VEDIC VIDYASHRAM SENIOR SECONDARY SCHOOL
Madurai Road , Thachanallur , Tirunelveli – 627 358

CERTIFICATE
This is to cerify that the Project Work entitled “HOTEL
MANAGEMENT” is the bonafide record of work done by
K.SRIHARIDHADEESH of Grade XII , Exam No:__________ in
practical classes of 12𝑡ℎ Standard during the Academic Year 2024-25.
He has taken proper care and shown utmost sincerity in completion
of this project as per the guidelines issued by CBSE.

DATE: INTERNAL EXAMINER

PRINCIPAL EXTERNAL EXAMINER


ACKNOWLEDGEMENT

 It is with a sense of gratitude, I acknowledge the efforts of the entire host


of well-wishers who have contributed in their own special ways to the
success and execution of this project.

 First of all, I express my heartfelt gratitude and indebtedness to my school


CORRESPONDENT, Mr. T DURAISAMY, MCA., from the bottom
of my heart, for his unlimited support, motivation and infrasturctural aid
rended in all times.

 I would like to express my sincere thanks to my PRINCIPAL , Mr.C.P


ENOSH, M.A., M.Phil., B. Ed., for all his substantial valuable guidance
and moral support which has helped me to patch this project with
undoubted success.

 I had been immeasurably enriched by working under he


expertmsupervision my subject teacher,
M.SYED MOHAMED IBRAHIM, M.Sc., M.Phil., B.Ed., who has the
knack of correcting and directing me in every situation.I convey my
special thanks to him.

 At last I extend thanks with all my heart to the Teaching and Non-
Teaching Staff who have assisted me constructively in my work
DECLARATION

We hereby declare that the project entitled “HOTEL


MANAGEMENT” submitted to DEPARTMENT OF COMPUTER
SCIENCE, VEDIC VIDYASHRAM SENIOR SECONDARY SCHOOL
is a result of my own work and my indebtedness to other work publications,
references, if any, have been duly acknowledged.

Date: K.SRIHARIDHADEESH
S.NO CONTENTS PAGE
NO
1 PREFACE 6

2 INTRODUCTION 7

3 OBJECTIVE 8

4 PYTHON FEATURES 9

5 PROPOSED SYSTEM 10

6 HARDWARE AND SOFTWARE 11


REQUIREMENTS
7 SCOPE 12

8 SOURCE CODE 13

9 OUTPUT 20

10 CONCLUSION 23

11 BIBLIOGRAPHY 24
PREFACE

 In today’s rapidly evolving world, the role of computers and


information technology has become indispensable across various
sectors.
 The implementation of computer management systems is critical in
enhancing efficiency, improving decision-making, and streamlining
processes within organizations.
 This project explores the design, development, and application of a
Computer Management System (CMS), which aims to automate and
manage various tasks such as resource allocation, inventory control,
data management, and user interaction within a computing
environment.
 A Computer Management System serves as a backbone for
organizations by providing a centralized platform to handle essential
tasks, ensuring smooth operations and robust system management. By
leveraging cutting-edge technology, it allows organizations to manage
hardware and software resources, track usage, monitor system
performance, and maintain an organized database of users and
activities.

6
INTRODUCTION

 Python is a highly powerful general-purpose programming language


that can be easily learned and provides data scientists a wide variety of
tools and packages.
 In this python project, I will implement a live dashboard for an hotel
management.
 In this project, we will work on two different datasets and generate
different dashboards.

7
OBJECTIVE
 Catering to thousands of papers, files, and reports can get challenging
because the physical space required to maintain manual data is much
larger. They call for proper management, sorting of every document so
that it can be easily accessed as and when needed. Management might
need temperature-controlled rooms to ensure data integrity.
 The digitized version of documents only needs a cloud server where
the data can be stored and sorted in the required manner. The
management can opt from the different types of cloud server as per the
requirement.
 In electronic records , there are set formats of each data, which makes
it easier to understand and study the information stored. The formats
are filled in a standard way.
 Thus , I choose this topic in order to save data of customer and hotel
rooms in data storages such as text and csv files.

8
PYTHON FEATURES
Python front end:
 Python is simple, open-source and object oriented coding language.
 It is easy to learn as it is a dynamic type, high level and interpreted
coding language.
 Python language supports a crossplatform operating system that is
used to build different applications that create a more convenient
environment for the users.
Python features:
 Python is an expressive language-fewer line of codes and simpler
syntax.
 Python is very easy and compact to use object-oriented.
 It is an interpreted language and not a complied language.
 Python can run equally well on a variety of platforms like windows,
LINUX etc.
 Python language is freely available along with its source code.
 Python has evolved into powerful, complete and useful languages
over the years.

9
PROPOSED SYSTEM
In today’s world with lots of population committing mistakes because of a
hurry is normal. As a tech improves , it is more convenient if we improve
along. using computer hard disk to store data and information also, using a
programming language for calculation is a smarter way to use technology
and also to save time .

10
HARDWARE & SOFTWARE
REQUIREMENTS
Hardware requirements:
 Intel I3 Processor
 Minimum 2GB RAM
 Atleast 500 GB HD
Software Requirements:
 Windows 7/8/9 OS
 Python 3.6.4 Idle

11
SCOPE

 The Hotel Management System (HMS) is a comprehensive software


application designed to streamline and automate various functions and
operations in the hospitality industry. This project focuses on the
development of an efficient system that integrates all critical processes
related to hotel management, ensuring smooth operations, improved
guest experiences, and optimized resource allocation.

12
SOURCE CODE
import csv

class hotelfarecal:

def __init__(self, rt='', s=0, p=0, r=0, t=0, a=1800, name='',


address='', cindate='', coutdate='', rno=101):
print("\n\n*****WELCOME TO SMS HOTEL*****\n")

self.rt = rt
self.r = r
self.t = t
self.p = p
self.s = s
self.a = a
self.name = name
self.address = address
self.cindate = cindate
self.coutdate = coutdate
self.rno = rno

def inputdata(self):
self.name = input("\nEnter your name:")
self.address = input("\nEnter your address:")
self.cindate = input("\nEnter your check in date:")
self.coutdate = input("\nEnter your checkout date:")
print("Your room no.:", self.rno, "\n")
def roomrent(self):
print("We have the following rooms for you:-")
print("1. type VIPSUITE---->rs 6000 PN\-")
print("2. type DELUXE---->rs 5000 PN\-")
print("3. type AC ROOM---->rs 4000 PN\-")
print("4. type NON AC ROOM---->rs 3000 PN\-")
13
x = int(input("Enter Your Choice Please->"))
n = int(input("For How Many Nights Did You Stay:"))
if x == 1:
print("you have opted room type A")
self.s = 6000 * n
elif x == 2:
print("you have opted room type B")
self.s = 5000 * n
elif x == 3:
print("you have opted room type C")
self.s = 4000 * n
elif x == 4:
print("you have opted room type D")
self.s = 3000 * n
else:
print("please choose a room")
print("your room rent is =", self.s, "\n")
def restaurentbill(self):
print("*****RESTAURANT MENU*****")
print("1.water----->Rs20", "2.tea----->Rs10", "3.breakfast
combo--->Rs90", "4.lunch---->Rs110", "5.dinner--->Rs150", "6.Exit")
while True:
c = int(input("Enter your choice:"))
if c == 1:
d = int(input("Enter the quantity:"))
self.r = self.r + 20 * d
elif c == 2:
d = int(input("Enter the quantity:"))
self.r = self.r + 10 * d

14
elif c == 3:
d = int(input("Enter the quantity:"))
self.r = self.r + 90 * d
elif c == 4:
d = int(input("Enter the quantity:"))
self.r = self.r + 110 * d
elif c == 5:
d = int(input("Enter the quantity:"))
self.r = self.r + 150 * d
elif c == 6:
break
else:
print("Invalid option")
print("Total food Cost=Rs", self.r, "\n")

def laundrybill(self):
print("******LAUNDRY MENU*******")
print("1.Shorts----->Rs3", "2.Trousers----->Rs4", "3.Shirt---
>Rs5", "4.Jeans---->Rs6", "5.Girlsuit--->Rs8", "6.Exit")

while True:
e = int(input("Enter your choice:"))

if e == 1:
f = int(input("Enter the quantity:"))
self.t = self.t + 3 * f
elif e == 2:
f = int(input("Enter the quantity:"))
self.t = self.t + 4 * f
elif e == 3:
f = int(input("Enter the quantity:"))
self.t = self.t + 5 * f
15
elif e == 4:
f = int(input("Enter the quantity:"))
self.t = self.t + 6 * f
elif e == 5:
f = int(input("Enter the quantity:"))
self.t = self.t + 8 * f
elif e == 6:
break
else:
print("Invalid option")

print("Total Laundary Cost=Rs", self.t, "\n")

def gamebill(self):
print("******GAME MENU*******")
print("1.Table tennis----->Rs60", "2.Bowling----->Rs80",
"3.Snooker--->Rs70", "4.Video games---->Rs90", "5.Pool---
>Rs50==6", "6.Exit")

while True:
g = int(input("Enter your choice:"))

if g == 1:
h = int(input("No. of hours:"))
self.p = self.p + 60 * h
elif g == 2:
h = int(input("No. of hours:"))
self.p = self.p + 80 * h
elif g == 3:
h = int(input("No. of hours:"))
self.p = self.p + 70 * h

16
elif g == 4:
h = int(input("No. of hours:"))
self.p = self.p + 90 * h
elif g == 5:
h = int(input("No. of hours:"))
self.p = self.p + 50 * h
elif g == 6:
break
else:
print("Invalid option")

print("Total Game Bill=Rs", self.p, "\n")

def display(self):
print("******HOTEL BILL******")
print("Customer details:")
print("Customer name:", self.name)
print("Customer address:", self.address)
print("Check in date:", self.cindate)
print("Check out date", self.coutdate)
print("Room no.", self.rno)
print("Your Room rent is:", self.s)
print("Your Food bill is:", self.r)
print("Your laundary bill is:", self.t)
print("Your Game bill is:", self.p)

self.rt = self.s + self.t + self.p + self.r

print("Your sub total bill is:", self.rt)


print("Additional Service Charges is", self.a)
print("Your grandtotal bill is:", self.rt + self.a, "\n")
self.rno += 1

17
# Save to CSV
self.save_to_csv()

def save_to_csv(self):
# Save the customer data and bill to the 'newrecord.csv'
with open("newrecord.csv", "a", newline="") as f:
writer = csv.writer(f)
writer.writerow([self.name, self.address, self.cindate,
self.coutdate, self.rno, self.s, self.r, self.t, self.p, self.rt, self.a, self.rt +
self.a])
print("\nCustomer data saved to newrecord.csv!")

def main():
a = hotelfarecal()

while True:
print("1.Enter Customer Data")
print("2.Calculate room rent")
print("3.Calculate restaurant bill")
print("4.Calculate laundry bill")
print("5.Calculate game bill")
print("6.Show total cost")
print("7.EXIT")

b = int(input("\nEnter your choice:"))


if b == 1:
a.inputdata()

if b == 2:
a.roomrent()

18
if b == 3:
a.restaurentbill()
if b == 4:
a.laundrybill()

if b == 5:
a.gamebill()

if b == 6:
a.display()

if b == 7:
quit()

main()

19
OUTPUT

 When we enter one in the output

 When we enter two in the output

20
 When we enter three in the output

 When we enter four in the output

 When we enter five in output

21
 When we enter six in output

 When we enter 7 the program closes as it is an exit function.

22
CONCLUSION
 The system allows for efficient storage and retrieval of customer
information, including personal details, room assignments, and check-
in/check-out dates.
 Customers can easily be added with all relevant data being captured at
the time of their booking.

 The system provides a clear and transparent billing process for


customers. It handles room charges based on the selected room type and
the number of days of stay.

 Additionally, the restaurant bill is calculated based on menu selections,


with the option to modify and update the final total bill accordingly.

 The room charges are determined by the room type chosen, whether it's
an ultra-royal suite, a royal room, or a budget option, ensuring that
customers are billed fairly based on their preferences.

 The system also includes restaurant charges, where the cost of meals
and beverages is calculated dynamically based on the customer's order.

23
BIBLIOGRAPHY

 www,github.com

 www.scribd.com

 www.geeksgeeks.com

24

You might also like