You are on page 1of 29

KENDRIYA VIDYALAYA

KANKARBAGH PATNA-20

INFORMATICS PRACTICES
INVESTIGATORY PROJECT
SESSION(2021-22)

NAME:AKRITI KUMARI
CLASS:XII SCIENCE
AISSCE ROLL NO.:
GUIDE:Dr. Indrajit Kumar
PGT(computer science)
CERTIFICATE

AKRITI KUMARI
This is to certify that Madhu
Hazra of class XII-Science roll no. has
completed the project titled “Hotel
Management” under the guidance of subject
teacher Dr. Indrajit Kumar, PGT (Computer
Science) during the academic year 2021-22 in
partial fulfillment of the INFORMATICS
PRACTICESpractical examination conducted by
CBSE.
SIGNATURE SIGNATURE
(External Examiner) (internal Examiner)

SIGNATURE
(PRINCIPAL)
ACKNOWLEDGEMENT
In the accomplishment of this project
successfully, many people have bestowed upon
me their blessings and heart pledged support,
this time I am utilizing to thank all the people
who have been concerned with this project.
I would like to thank Dr. Indrajit Kumar, PGT
(computer science) whose valuable guidance
has been the ones that helped me patch this
project and make it full proof success. His
suggestion and his instructions has served as
the major
contributor towards the completion of the
project.
Then I would like to thank my parents, friends,
and classmates who have helped me with their
valuable suggestions and guidance and have
been helpful in various phases of the project.
- Akriti kumari
INDEX
S.N TOPIC PAGE
O NO.
1. CERTIFICATE 2
2. ACKNOWLEDGEMENT 3
3. SYSTEM REQUIREMENTS 5
4. FEASIBILITY STUDY 6
5. TESTING 7
6. ERROR AND ITS TYPES 8
7. MAINTENANCE 9
8. DESCRIPTION 10
9. WORKING OF THE CODE 11
10. FLOW CHART 16
11. CODE 17
12. OUTPUT 30
13. BIBLIOGRAPHY 31

SYSTEM REQUIREMENTS
• HARDWARE:
➡KEYBOARD
➡MONITOR
➡RAM 4GB OR ABOVE
• SOFTWARE:
➡ OPERATING SYSTEM-OS7, OS8,
OS10
➡ PYTHON VERSION 3.0 AND ABOVE
➡ PYTHON IDLE
FEASIBILITY STUDY
Feasibility study is a system proposal
according to its work, ability , impact on the
operating ability to
meet the needs of the users and efficient use of
resources . An important outcome of
preliminary investigations is the
determination of that system requested
feasible.
ECONOMICAL FEASIBILITY :
Economics analysis is the most
frequently used method for evaluating
the effectiveness of the
candidates, the benefits and savings that are
expected
from the system and compare them with cost.
This software is not very costly, it is just
worth Rs.6000/-This software should be used
by every hotel to
make their work more efficient , better and
easy.
TESTING
• Alpha T
common type of testing used in
industry. The objective of this testing is to
identify all possible issues or defects before
releasing it into the market or to the user. It
is conducted at the developer’s site.
• Beta Testing: It is a formal
type of software testing which is
carried out by the customers. It is
performed in a real environment
before releasing the products into
the
market for the actual end-users. It is
carried out to ensure that there are no
major failures in the software or
product and it satisfies the business
requirement. Beta Testing is successful
when the customer accepts the
Software.
• White Box Testing:
White box testing is based on the
knowledge about the internal logic of an
application’s code. It is also known as
Glass box Testing. Internal Software and
code working should be known for
performing this type of testing. These
tests are based on the coverage of the
code statements, branches, paths,
conditions etc.
• Black Box Testing:
It is a software testing, method in
which the internal structure or design
of the item to be tested is not known
to the tester. This method of testing
can be applied virtually to every level of the
software testing.

ERROR AND ITS TYPES


An error, sometimes called "A BUG" is
anything in the code that prevents a program
from compiling and running correctly. There are
broadly three types of errors as follows:

Errors that occur during compilation of a


program are called compile time errors. It has two
types as follows:

It refers to formal rules governing the


construction of valid statements in a language.
b.
Semantics error:
It refers to the set of rules which give the
meaning of a statement.
2. Run time Errors:
Errors that occur during the execution of a program
are run
time errors. These are harder to detect errors.
Some run-time errors stop the execution of a
program which is then called program "Crashed".
Sometimes, even if you don't encounter any
error during compiling-time and runtime, your
program does not provide the correct result. This is
because of the programmer's mistaken analysis of
the problem he or she is trying to solve.
Such errors are called logical errors.
MAINTENANCE
Programming maintenance refers to the
modifications in the program. After it has been
completed, in order to meet changing requirements
or to take care of the errors that show up. There are
four types of maintenance:
• Corrective Maintenance: Maintenance task
performed to
identify,isolate, and rectify a fault so that the failed
equipment, machine, or system can be restored to
an operational condition within the tolerances or
limits established for in-service operations.
• Adaptive Maintenance: Modification of a
software product, performed after delivery, to keep
a software product usable in a changed or changing
environment. Adaptive maintenance usually is
required over the life of a system to modify the
software so it continues to run as the external
environment changes.
• Preventive Maintenance: Preventive
maintenance is a proactive maintenance that
includes adjustments, cleaning, lubrication, repairs
and parts replacement. It aims to reduce errors.
• Perfective Maintenance: Changing the
existing system
functionality by refining, deleting or adding new
features.As well as the evolution of requirements
and features that exist in your system.
DESCRIPTION
We have done the planning on the assigned project
HOTEL MANAGEMENT SYSTEM. The coding is executed
in a manner to give you a detailed idea on the working
of a ‘hotel’. The following parts are involved in the
coding which results in a proper check-in and check-
out process at a hotel. It will help you to know about
the facilities and give you a wider view on Hotel
Management.

The project starts with -


• Greetings
• Description of the Resort
• Room tour
• Room facilities
• Guest services
• Resort Amenities
• Resort Assistance
• Food/Meals
• Tourist Department
• Location
• Exit

Modules:
WORKING OF THE CODE
Using various modules and importing them to
process our code. The following modules that are
imported in our code are:-
i)sys-It lets us access system-specific
parameters and functions. ii)time-The Python
time module provides many ways of
representing time in code, such as objects,
numbers, and strings. It also provides
functionality other than representing time,
like waiting during code execution and
measuring the efficiency of your code.
Greetings:
Greetings to the customer and welcoming
them to our hotel. Using typewriter effect:
To create a stylized effect in the program.
Description:
Describing the hotel location to the
customer and the fabulous offer it is offering
to its customers.
Menu:
It shows all the features that are
available in the hotels that can be provided
to the customer. The menu contains the
following that is mentioned below:
• Room Tour: With a tour of the hotel with
amazing Funasset
service, luxurious accommodations and some
great drinking and dining, it's a perfect place
for a luxurious
adventure.
• Room Facilities:
The hotel has many facilities to offer to our
customers. They are: Spa, Semi-open & outdoor
restaurant, Poolside bar, Car parking, Swimming
pool/Jacuzzi, Public computer, Disable rooms &
Interconnecting rooms,24 Hour security, and many
more guest services available.
• Resort Amenities:
THE FREE FACILITIES OF THE FUNASSET
RESORT ARE:
• 24 Hour security
• Car parking
• 100 Seating capacity restaurant
• 150 Capacity outdoor terrace
• 45 Seating conference room
• 35 Seating private air-conditioning
dining room
• Water purification system
• Public computer
• Semi-open & outdoor restaurant
SOME OF THE CHARGED FACILITIES OF
THE FUNASSET RESORT:
• Spa
• Swimming pool/Jacuzzi
• Poolside bar
• Outside catering service
• Gift shop

• Sunset boat trip


• Disable rooms &
Interconnecting rooms
iv)Resort's Assistance:
We have four different kinds of rooms for our
customers. They
are:
• Double Room
• Deluxe Room
• Studio Room
• Penthouse
Suite Room
v)Fooding or
Meals:
We have a variety of food collections for
every morning, afternoon and night. Also
option for veg and non-veg in breakfast, lunch,
and dinner for different customers with
different choices. #BREAKFAST-
In veg we have the following:
• BREAD.
• JAM.
• BANANA.
• JUICE.
In non-veg we have the following:
• BREAD.
• EGG.
• BANANA.
• JUICE.

#LUNCH:
In veg we have the following:
• RICE.
• VEG DAL.
• MIX VEG.
• SHAHI PANEER.
• SWEETS.
• CURDS.
In non-veg we have the following:
• RICE.
• VEG DAL.
• CHICKEN GRAVY.
• SHAHI PANEER.
• SWEETS.

C
URDS
.
#DIN
NER:
In veg we have the following:
• RICE.
• VEG DAL.
• MIX VEG.
• ROTI.
• PANEER.
• SWEETS
In non-veg we have the following:

• RICE.
• VEG DAL.
• CHICKEN GRAVY.
• PANEER.
• ROTI.
• SWEE
TS.
vi)Collabor
ated
Tourism:
For our customers, we have tourist
departments for various
places. They are:-
• Paris
• Rome
• London
• Amsterdam
You can visit and enjoy these places at very
affordable rates with suitable luxury provided
to our customers.
• Location or Address:
To know our location easily we have provided
it in the code for easier access. Also it is a
suitable place for both children and women
with 24 hrs security service provided.
• Exit:
To leave the program the customer can exit it
by typing 8.

FLOWCHART

CODE

#IMPORTING MODULES
imp
ort
sys
imp
ort
tim
e

#Greetings
print('\t\t Welcome to FUNASSETS')
print('Here you get everything as good as heavens!\
nWe provide you with the finest luxuries ever ')
name=(input("What's your name
sir/mam: ")).capitalize() msg='Well,
so lets get started '+name
# Using
typewrite
r effect
for i in
msg :
print(i,end='',
flush=True)
time.sleep(0.1
)
print('')

# Resort Tour
print('Get to know our Resort better with a Resort Tour\n
Our resort situated on the gorgeous Marine Drive, The
Funasset offers you fabulous views of the ocean')

#Menu
print("""You can check out for the following:
• Room Tour
• Room Facilities
• Resort Amenities
• Resort's Assistance
• Fooding or Meals

• Collaborated Tourism
• Location or Address
• Exit """)
menu_int=int(input('ENTER SERIAL NO. : '))

while menu_int!=8:
if
menu_int==1
: #Room Tour print("""
The Funasset is inside Europe's tallest building.
With amazing Funasset service, seriously luxurious
accommodations and some great drinking and dining, it's a
perfect place for a luxurious adventure.
Spend a few nights in an Iconic City View Room and
it had just that, iconic city views of India's biggest
landmarks.
It's also in a great location, just across the river
from the Tower of Silence and Tower Bridge and with a
Tube stop right underneath, it's easy to get to anywhere
in the city within a few minutes.
For a stay in April, the rooms, called Iconic City
View Room because of the amazing view and because it's
on a high floor.""")
menu_int=int(input('Looking what else we got?\
nENTER SERIAL NO. FROM THE MENU: '))
elif menu_int==2: #Room Facilities
print(""" Hotel Facilities & Guest Service
***Hotel Facilities***

• Spa
• Semi open &
outdoor
restaurant
03.Poolside bar
04.Car
parking
05.Swimmi
ng
pool/Jacuz
zi
06.Public
computer
07.Disable rooms & Interconnecting rooms
08.24 Hour
security
09.Outside
catering
service
10.100 Seating capacity restaurant
11.150 Capacity outdoor terrace
12.45 Seating conference room
13.35 Seating private air-
conditioning dining room 14.Water
purification system
15.S
unse
t
boat
trip
16.G
ift
shop

***Guest

Service**

* 01.24-

Hour

room

service
• Free wireless internet access
• Complimentary
use of hotel bicycle
04.Laundry service
05.Tour & excursions
06.24 Hour
concierge
07.Meeting
facilities
08.E-Bike &
horse cart
rental
09.Airport
transfers
10.Babysitti
ng on
request
11.24-Hour
doctor on
call""")
menu_int=int(input('Looking what else we got?\
nENTER SERIAL NO. FROM THE MENU: '))
elif menu_int==3: #Resort Amenities

print("""THE FREE FACILITIES OF THE FUNASSET


RESORT ARE:
• 24 Hour security
• Car parking
• 100 Seating capacity restaurant
• 150 Capacity outdoor terrace
• 45 Seating conference room
• 35 Seating private air-conditioning dining room
• Water purification system
• Public computer
• Semi open & outdoor restaurant""")
print('''SOME OF THE CHARGED FACILITIES OF THE
FUNASSET RESORT: 1. Spa >500/-
• Swimming pool/Jacuzzi >200/-
• Poolside bar- >400/-
• Outside catering service >100/-
• Gift shop- >1000/-
• Sunset boat trip >500/-
• Disable rooms & Interconnecting rooms >100/-
• Save and Exit''')
m=int(input("Do you want to purchase from
charged facilites:enter your choice[if yes type 1 and
if no type 0 ]:" ))
if(m==1):
print("h
ere we
go")
cart=0
while(Tr
ue!=8):
d=int(input("ent
er your choice:"))
if(d==1):
print("you
have ordered
spa")
price=500
cart=cart+price

print("Your current total


is:",cart,"\n") elif(d==2):
print("you have ordered Swimming
pool/Jacuzzi") price=200
cart=cart+price
print("Your current total
is::",cart,"\n") elif(d==3):
print("you have
ordered Poolside
bar") price=400
cart=cart+price
print("Your current total
is:",cart,"\n") elif(d==4):
print("you have ordered Outside
catering service") price=100
cart=cart+price
print("Your current total
is:",cart,"\n") elif(d==5):
print("you have
ordered Gift shop
") price=1000
cart=cart+price
print("Your current total
is:",cart,"\n") elif(d==6):
print("you have ordered
Sunset boat trip")
price=500
cart=cart+price
print("Your current total
is:",cart,"\n") elif(d==7):
print("you have ordered Disable rooms &
Interconnecting rooms") price=100
cart=cart+price
print("Your current total is:",cart,"\n")

you :)")

elif(d==8):
print("You will get all the ordered facilities and free
facilities!thank
print("Your total amount is: ",cart,"\
n") break
else:
print("please enter your choice from the menu")

menu_int=int(input('Looking what else we got?\


nENTER SERIAL NO. FROM THE MENU: '))
elif menu_int==4: #Resort's
Assistance print("""We
have the following rooms
for you:-
•Double Room - A room with the facility of a
double bed.
There are two king size beds.
It is equipped with adequate furniture
such as dressing

table

and a writing table, a TV, and a small


fridge. PRICE=RS 5000/-
• Deluxe Room - It is well furnished.
Some amenities are attached bathroom, a
dressing table, a bedside table, a small writing
table, a TV, and a small

fridge.

small families.

The floor is covered with carpet and most suitable

for PRICE=RS 8000/-

• Studio Room - They are twin adjacent rooms.


A living room with sofa, coffee table and
chairs, and a
bedroom.

corner,

It is also equipped with fan/air conditioner, a small kitchen

and a dining area.


The furniture is often compact. PRICE=RS
12000/-

suite.

• Penthouse Suite Room - Luxurious than the regular suite.
It is provided with the access to terrace space
above the

It is aloof from the crowd and provides a bird’s eye


view of

the city.
suite.
• Exit""")

It has all the amenities and structure similar to a


regular PRICE=RS 15000/-

x=int(input("Enter Your
Choice Please->")) if x>4
or x<1:
print(
'Than
k
you!')
sys.ex
it()
n=int(input("For How Many Nights Did
You Stay:")) cart=0
if(x==1):
print ("you have opted for DOUBLE
ROOM") cart=1000*n
elif (x==2):
print ("you have opted for
DELUXE ROOM") cart=2000*n
elif (x==3):
print ("you have opted for
STUDIO ROOM")
cart=3000*n
elif (x==4):
print ("you have opted for PENTHOUSE SUITE
ROOM") cart=4000*n
elif (x==5):
print("you exit from the reception")
print ("your room rent is =",cart,"\n",'Thank you!')
menu_int=int(input('Looking what else we got?\
nENTER SERIAL NO.
FROM THE MENU: '))

elif menu_int==5:

#Fooding

or Meals print("""

1.

BREAKFAST.
• LUNCH.
• DINNER.""")
menu_choice=int(input("ENTER THE
SERIAL NUMBER:")) cart=0
#BILL CART
if menu_choice==1:
#BREAK
FAST
#BREAK
FAST
CHOICES
menu_brek=""" VEG:
• BREAD.
• JAM.
• BANANA.

J
U
I
C
E
.
N
O
N
-
V
E
G
:
• BREAD.
• EGG.
• BANANA.

J
U
I
C
E
.
"
"
"

CHOICES

BREAKFAST

print(menu_brek) #PRINT BREAKFAST


print("""PRESS 1 FOR VEG.
PRESS 2 FOR NON-VEG. PRESS
3 FOR NONE.""")
brek_choice=int(input("ENTER YOUR CHOICE:"))
if brek_choice==1: #VEG BREAKFAST
print("YOUR BILL IS 200rs")
cart+=200
elif brek_choice==2: #NON-VEG

print("YOUR BILL IS 250rs")


cart+=250
elif brek_choice==3: #NONE BREAKFAST
print("YOUR HAVE PURCHASED NONE")
cart+=0

#print(cart)

#LUNCH CHOICES
elif
menu_
choice
==2:
menu
_lunc
h="""
VEG:
• RICE.
• VEG DAL.
• MIX VEG.
• SHAHI PANEER.
• SWEETS.

C
U
R
D
S
.
N
O
N
-
V
E
G
:
• RICE.
• VEG DAL.

• CHICKEN GRAVY.
• SHAHI PANEER.
• SWEETS.

C
U
R
D
S
.
"
"
"
print(menu_lunch) #PRINT
LUNCH OPTIONS print(""" PRESS 1 FOR VEG.
PRESS 2
FOR NON-
VEG.
PRESS 3
FOR
NONE.""")
lunch_choice=int(input("ENTER YOUR CHOICE:"))
if lunch_choice == 1:
#VEG LUNCH print("YOUR BILL IS
OF 450 rs")
cart+=450
elif lunch_choice==2:
#NON-VEG LUNCH print("YOUR BILL IS OF
550 rs")
cart+=550
else:
print("YOU HAVE PURCHASED NOTHING")

#NONE
LUNCH

cart+=0
print(cart
)

#DINNER CHOICES
elif
menu_c
hoice=
=3:
menu_d
inner="
"" VEG:
• RICE.
• VEG DAL.
• MIX VEG.
• ROTI.

• PANEER.

S
W
E
E
T
S
.
N
O
N
-
V
E
G
:
• RICE.
• VEG DAL.
• CHICKEN GRAVY.
• PANEER.
• ROTI.

S
W
E
E
T
S
.
"
"
"
print(menu_dinner) #PRINT
DINNER OPTIONS print(""" PRESS 1
FOR VEG.
PRESS 2
FOR NON-
VEG.
PRESS 3
FOR
NONE.""")

dinner_choice=int(input("ENTER YOUR CHOICE:"))


if dinner_choice == 1:
#VEG DINNER print("YOUR BILL IS
OF 450 rs")
cart+=450
elif dinner_choice==2:
#NON-VEG DINNER print("YOUR BILL IS OF
550 rs")
c
a
r
t
+
=
5
5
0
e
l
s
e
:
print("YOU HAVE PURCHASED NOTHING")

#NONE
DINNER
cart+=0
print(cart)
menu_int=int(input('Looking what else we
got?\nENTER SERIAL NO. FROM THE MENU: '))
elif menu_int==6: #Collaborated Tourism
print(''' WELCOME
TO FUNASSET
TOURIST
DEPARTMENT
From England and France to Italy and Germany,
European countries are full of vibrant cities known for
their museums,restaurants,nightlife and
architecture.So,it comes as no suprise that deciding which
spots are the best places to visit in Europe can be
difficult.
That's why Funassets considered the highlights of
each destination-as well as user votes and expert
opinions-to round up the best vacation destinations in
Europe.Check the list given below:
•PARIS: Paris is filled with highly regarded
museums,monuments and churches. You could easily
spend your entire vacation admiring iconic sights like the
Eiffel Tower,wandering through exhibits at the Louvre
and strolling through the beautiful green space admiring
flowers at Luxembourg Gardens.Still,you should save
some time for people watching and munching on fresh
croissants at sidewalk cafes during the day. Once the sun
sets,sit down for a decadent French meal with amazing
wine
• ROME: Rome is a can't-miss spot on your trip to
Europe. The aroma of fresh Italian cooking wafts through
the alleys, and historical sites stand proudly at every
turn. No visit to Italy's capital would be complete without
checking out the Colosseum,St.Peter's Basilica, the Sistine
Chapel and the awe inspiring Trevi Foundation. If you have
additional time, venture beyond the main sights to the
Roman Forum, Trastevere and the Spanish Steps.
• LONDON: Exploring the world-class British
Museum,seeing a musical in the West End,touring the
Tower of London at a local pub are all part of the London
bucket list experience. However, London's high hotel
prices can make budget travelers cringe. To save money,
book your accommodations far in advance or consider
Funasset tourism services for an memorable experience.
• AMSTERDAM: There's more to Amsterdam than its
notorious "coffee shops" and Red Light District. Spend the
day biking through the city's stylish streets before
exploring noteworthy museums, such as the Anne Frank
House. Plan a picnic in Vondelpark for lunch, or opt for a
boat tour along the city's many canals when it's time to
rest your feet.Friendly locals and affordable Funasset
resort keep bringing travelers back,especially, during the
warmer months.

''')
print("TRAVELLING COST")
print("A.Transportation cost......Rs.61,600| B.Flights
...........................................................................
Rs.42,000")
print("C.Food....................Rs.10'350 | D.Visa
Charges.....Rs.6000 ")
menu_int=int(input('Looking what else we got?\
nENTER SERIAL NO.
FROM THE MENU: '))
elif menu_int==7:
#Location or
Address
print("LOCATION OF
FUNASSETS")
print('''ADDRESS : Via Serlas 27 St. Moritz 7500

WHY YOU SHOULD STAY HERE?


Well,
-Located in a well maintained & secured place.
-Police and government officials are always on duty.
-Mesmerizing
view of the
ocean. ''')
menu_int=int(input('ENTER SERIAL NO. : '))

else: #Exit
print('Thank
you! Visit
again...')
sys.exit()
OUTPUT

BIBLIOGRAPHY

• Class XII ip project with


python
- by Sumita Arora
• www.python.org
• www.w3schools.com/python

You might also like