You are on page 1of 30

INFORMATICS

PRACTICES
Project Report
On
“ Hotel Management ”
Submitted to the partial fulfillment of the requirements for
the award of the Class XII of CBSE prescribed
to
Central Board of Secondary Education

By
Narayanan
[Roll. No: ]

Under the guidance of

Mr. Peta Suresh MCA.,


PGT Computer Science,
Dept. of Computer Science.

SREE VIDYANIKETHAN INTERNATIONAL SCHOOL (CBSE),


Department of Computer Science,
AFFILIATED TO CBSE NO: 130124,
SREE SAINATH NAGAR, TIRUPATI – 517 102.
2023 - 2024.
CERTIFICATE
SREE VIDYANIKETHAN INTERNATIONAL SCHOOL
SREE SAINATH NAGAR, TIRUPATI – 517 102.

DePARTMEnt of COMPUteR ScIence.

CERTIFICATe

This is to certify that, this is the bonafied record of project work done in
the Informatics Practices(065) Laboratory during the academic year 2023
to 2024 by Mr. Narayanan of class XII with Roll No. .

Submitted for the Practical Examination held on

EXTERNAl EXAMINER IntERNAL ExAMINER

PRINCIPAl
ACKNOWLEDGEMENT
ACKNOWLEDGEMENT

It is with great pleasure that I find myself penning down these


lines to express my sincere thanks to various people who helped me a
long way in completing this project.

We take this occasion to thank to our beloved Chairman Padma


Sri Dr. M. Mohan Babu Garu, Almighty for blessing us with his grace
and taking our endeavor to a successful culmination.

The harmonious climate in our school provided proper guide for


preparing the project. I would like to thank my Computer Science
Teacher, Mr. Peta Suresh, who guided me in making this project by
giving proper guidance.

I would also like to extend my gratitude to my principal Mr.


Rajesh R Patil, M Sc., B Ed, for helping me complete my project
successfully.

Thanks to all my classmates who helped me during the


development of this project with their constructive criticism and
advice. And also I would like to thank my parents who helped me in
making this project more presentable.

Name of the StUdent


SREE VIDYANIKETHAN INTERNATIONAL SCHOOL (CBSE),
Department of Computer Science,
AFFILIATED TO CBSE NO: 130124,
SREE SAINATH NAGAR, TIRUPATI – 517 102.

INFORMATICS PRACTICES PROJECT REPORT


2023 – 2024
PREPARED By

1. NARAYANan
2.UDAY
3.MOHAN
CONTENTS

•INTRODUCTION

•REQUIRMENTS

•SOURCE CODE

•SAMPLE OUTPUT

•FUTURE ENHANCEMENTS

•CONCLUSION

•REFERENCE
Introduction of the Project

HMS is a type of proper management system that facilitates the


management of hotel management of operations and functions;
main operations such as front office, sales, planning, and
accounting. General Hotel Management software aims to automate
functions such as:-
1. Guest Booking
2. Guest Details
3. Point of sale
4. Telephony
5. Accounts receivable
6. Sales and Marketing
7. Banquets
8. Event Management
9. And many more features

OBJECTIVES OF THE PROJECT

The objective of this project is to let the students apply their


programming knowledge to a real-world situation/problem and
exposed the students to how programming skills help in developing
good software.

➢ Write programs utilizing modern software tools.


➢ Apply object-oriented programming principles effectively when
developing small to medium-sized projects.
➢ Write effective procedural code to solve small to medium-sized
problems.
➢ Students will demonstrate a breadth of knowledge in computer
science, as exemplified in the areas of systems, theory, and
software development.
REQUIREMENTS

Software Requirements:

✓ Python Version : Python 2.0 or above

✓ Operating System : Windows 7/8/10 or Unix Platform

Hardware Requirements:

✓ RAM : 2 GB
✓ HDD Space : 1 GB
✓ Processer : Intel Pentium or greater
✓ Screen Resolution : 1366 x 768(Optimal)
✓ Graphics Card : Minimum 64 MB

.
SOURCE
CODE
SOURCE CODE

class hotelbill:

def init (self, tot='', s=0, p=0, r=0, a=1500, name='', address='', cindate='',
coutdate='', rno=1000):

print("\n\n***** WELCOME TO HOTEL 5 STAR GRAND *****\n\n")

self.tot = tot
self.r = r
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.cindate = input("\nEnter your checkin date:")
self.coutdate = input("\nEnter your checkout
date:") self.address = input("\nEnter your
address:") print("Your room no.:", self.rno, "\n")

def roomrent(self):

print("We have the following rooms for

you:-") print("1. type --->ROYAL

--------------------------------- >RS.10000 PN\-")

print("2. type --->LUXURIOUS >RS. 6000 PN\-")

print("3. type --->SUPREME >RS. 4000 PN\-")


print("4. type --->DELUXE >RS. 3000 PN\-")
x = int(input("Enter Your Choice Please(enter 1/2/3/4)--->"))

n = int(input("ENTER THE NUMBER OF NIGHTS YOU WANT TO STAY:"))

if (x == 1):

print("you have opted room type --

>ROYAL") self.s = 10000 * n

elif (x == 2):

print("you have opted room type --

>LUXURIOUS") self.s = 6000 * n

elif (x == 3):

print("you have opted room type --

>SUPREME") self.s = 4000 * n

elif (x == 4):
print("you have opted room type --

>DELUXE") self.s = 3000 * n

else:

print("please choose a VALID

room") print("your room rent is =",

self.s, "\n")

def restaurentbill(self):

print("*****<<<<<RESTAURANT

MENU>>>>>*****")
print("1.water----->Rs20", "2.tea----->Rs25", "3.breakfast combo---
>Rs120", "4.lunch >Rs150",
"5.dinner -->Rs150", "6.Exit")

while (1):

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 + 25 * d

elif (c == 3):
d = int(input("Enter the
quantity:")) self.r = self.r + 120 *
d

elif (c == 4):
d = int(input("Enter the
quantity:")) self.r = self.r + 150 *
d

elif (c == 5):
d = int(input("Enter the quantity:"))

self.r = self.r + 150 *

d elif (c == 6):
break
; else:
print("Invalid option (choose correct

combo)") print("Total food Cost=Rs", self.r,

"\n")

def gamebill(self):
print("******<<<<<GAME MENU>>>>>*******")
print("1.Table tennis----->Rs100", "2.Bowling----->Rs150", "3.Snooker---
>Rs200", "4.Video games >Rs100",
"5.Pool-- >Rs50", "6.Exit")

while (1):

g = int(input("Enter your

choice:")) if (g == 1):
h = int(input("No. of
hours:")) self.p = self.p +
100 * h

elif (g == 2):
h = int(input("No. of
hours:")) self.p = self.p +
150 * h

elif (g == 3):
h = int(input("No. of
hours:")) self.p = self.p +
200 * h

elif (g == 4):
h = int(input("No. of
hours:")) self.p = self.p +
100 * 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 Game bill is:",
self.p)

self.tot = self.s + self.p + self.r

print("Your sub total bill is:",

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

def main():
a = hotelbill()

while (1):
print("1.Enter Customer Data")

print("2.Calculate roomrent")

print("3.Calculate restaurant

bill") print("4.Calculate

gamebill") print("5.Show total

cost") print("6.EXIT")

b = int(input("\nEnter your
choice:")) if (b == 1):
a.inputdata()

if (b == 2):
a.roomrent(
)

if (b == 3):
a.restaurentbill
()
if (b == 4):
a.gamebill(
)

if (b == 5):
a.display(
)

if (b ==
6):
quit()
main()
SAMPLE
OUTPUT
Output of the Project

Finally, we conclude our work and present the output of the Project.
Enter your choice:2
We have the following for you:-
1. type --->ROYAL---->RS.10000 PN\-
2. type --->LUXURIOUS--->RS. 6000 PN\-
3. type --->SUPREME--->RS. 4000 PN\-
4. type --->DELUXE--->RS. 5000 PN\-
Ent:er Your Cho1ce Please(enter 1/2/ 3/4) - - - ›1
ENTER THE NUMBER OF NIGHTS YOU WANT TO STAY:4
you have opted room type -->ROYAL
your room rent is = 40000

'›«›’«4riiiiU›)›)›"""'
'*t‹t'/ ‹I«GPIE fEfJ›)›)›’*’****

Enter your cho1ce : 5


* * * * **HOTEL BILL* * ** **
Cust:ome r det:a is :
Customer name:
Cu st:ome r addres s :
Chec k In dat:e:
Chec k out: date
Room no . 1000
Your Room rent 1s : 6
Your Food bill is: 0
Your Game bill is: 0
Your sub total bill is: 0
Additional Service Charges is 1500
Your grandtotal bill is: 1500
FUTURE
ENHANCEMEN
TS
➢ We can give more advance for hotel management including
more facilities

➢ We will host the platform on online servers to make it


accessible worldwide
➢ Integrate multiple load balancers to distribute loads of the system
➢ create the master and slave database to reduce the overload of
Database Queries.
➢ Implement a backup mechanism for taking backups of the codebase
and database on a regular basis on different servers.
CONCLUSION
In conclusion, the Hotel Management Information System (HMIS)
project successfully addresses the challenges faced by the
hospitality industry and streamlines its operations, enhancing
overall efficiency and customer satisfaction. The HMIS provides a
comprehensive platform for hotel staff to manage reservations,
check-ins, check- outs, room allocations, billing, and other
essential tasks with ease and accuracy.

Through the implementation of the HMIS, the hotel can


experience several significant benefits, including:

1. Improved Guest Experience


2. Efficient Resource Management
3. Streamlined Operation
4. Enhanced Security
5. Data-Driven Decision Makin
6. Increased Revenue Generation
7. Sustainable Practice
REFERENCES
References

1. python.org

2. Code Academy

3. tutorialsPoint.com

4. PythonChallenge.com

5. Google’s Python Class

6. LearnPython.org

7. layak.in

You might also like