KRISH Project
KRISH Project
KRISH Project
Project Report
on
Submitted by
Krish Kumar
Board Roll No :
Guided by
Pradeep Ch Mohanty
PGT, Computer Science
Page No.
1 / 61
CERTIFICATE
EXAMINATION 2025 AND HAS BEEN CARRIED OUTUNDER MY DIRECT SUPERVISION AND
GUIDANCE. THIS REPORT OR A SIMILAR REPORT ON THE TOPIC HAS NOT BEEN
SUBMITTED FOR ANY OTHER EXAMINATION AND DOES NOT FORM A PART OF ANY
CANDIDATE.… … … … … … … … … … … … … … … … … … … … … ..
SIGNATURE OF TEACHER … … … … … …
Page No.
2 / 61
ACKNOWLEDGEMENT
level form our side. Our heart goes out with deep gratitude to them,
for the perennial patronage in our studies and especially this project
Page No.
3 / 61
PREFACE
Page No.
4 / 61
Contents
1. Introduction
2. Objectives
3. Scope
10. Screens(forms)
11. Implementation & testingl
12. A complete structure which includes : Number of modules and their
17. Conclusions
18. Bibliography
Page No.
5 / 61
HOTELMANAGEMENTSYSTEM
Page No.
6 / 61
INTRODUCTION
tomanagesmall,
todesignthesoftwaremediumandbigscalehotels..I havetried
my best to make the complicated in such a way that user may not have any difficulty
inusingthis
package & further expansion is possible without much effort. Even though I cannot
claim
that this work to be entirely exhaustive, the main purpose of my exercise is perform
each
consuming.
Page No.
7 / 61
I amconfidentthatthissoftwarepackagecanbereadilyusedby non-programming
personal avoiding human handled chance of error. This project is used by two types
of
users
must be
an authorized user. He can further change the password. There is the facility for
password
recovery,logoutetc.
Page No.
8 / 61
The main aimof theentire activity is to automate the process of day to day activities
of
to
customer’ s demand, checkout of a computer and releasing the room and finally
compute
thebill etc.
main activities that are performed in a HOTEL Management System, but utmost
carehas
beentakentomakethesystemefficientanduserfriendly. “ HOTELManagement
System” has been designed to computerized the following functions that are
performed
bythesystem:
RoomDetail Functions
Page No.
9 / 61
Openinga NewRoom
Modification toroomassigned
Admissionof Newcustomer
Check-out of customer
Roomassigningrelatedtocustomer's need.
StatementofCustomerDetails
Check-in customer
Check-out customer
RoomDetails
Individual customerReport
Page No.
10 / 61
OBJECTIVE
relatively obscure record keeping staff to central and top level management
function.
important
resources.
Acomputerbasedmanagementsystemisdesignedtohandleall theprimary
informationrequiredtocalculatemonthlystatements.Separatedatabaseis
andgeneration.
Page No.
11 / 61
Thesearchingof record hasbeenmadequitesimpleasall thedetailsof the
Similarly,recordmaintenanceandupdationcanalsobeaccomplishedby using
masterfilethuskeepingtherecordabsolutely up-to-date.
The entire information has maintained in the database or Files and whoever
wants
toretrievecan’ tretrieve,onlyauthorizationusercanretrievethenecessary
1.Roomactivities,
2.Admission of a NewCustomer,
5.Finallycomputethebill etc.
Page No.
12 / 61
6.Packagesavailable.
7.Advanceonlinebookings.
8.OnlineCancellation.
9.ListofRegular customers.
11. Feedbacks
Thisprojecthavesomemorefeatures:
SystemConnectivity
Nodata duplication
NoPaperWorkRequired
TimeEfficient
Cost Efficient
Automaticdatavalidation
User friendlyenvironment
Datasecurityandreliability
Easyperformancecheck
Page No.
13 / 61
SCOPE
I have designed the given proposed system in the JSP to automate the process of
Hotels.
This project is useful for the authorities which keep track of all the users registered
ina
particular state .The authority can add hotel packages, room details, availability of
rooms, onlinebookingetc.
The following steps that give the detailed information of the need of proposed
systemare:
anduser
14 / 61
Efficiency: The basic need of this website is efficiency. The website should be
efficient
so that whenever a new user submits his/her details the website is updated
automatically.
This record will be useful for other users instantly.Control: The complete control of
this project and illegal access is not supposed to deal with. All the control is under
theadministrator and theother members have therightsto just seethe records not
tochangeanytransaction or entry.
Security: Security is the main criteria for the proposed system. Since illegal access
ScopeofFutureApplication
projectforwhichhotel areprovidingservices.
successful
Page No.
15 / 61
organization should be in a position to process the transaction with another
organization
Scopeof Improvement
Now a days hotel are providing many other facilities, this project can also be
improved
with theimprovementintheHotels.
successful
organization
Page No.
16 / 61
HardwareSpecification :
RAM : 32 GB
SoftwareSpecification:-
FrontEnd : Python3.6orabove
OperatingSystem : Windows10orabove
Page No.
17 / 61
SYSTEM DEVELOPMENT LIFE CYCLE
that divides complex projects into smaller, more easily managed segments or
and planning phases. End users of the system under development should be
involved in reviewing the output of each phase to ensure the system is being
built phase to ensure thesystem is being built to deliver the needed functionality.
Page No.
18 / 61
Page No.
19 / 61
Phases Of System Development Life Cycle
opportunity. The purpose of the Initiation Phase is to: 1>Identify and validate an
Page No.
20 / 61
3>Recommend the exploration of alternative concepts and methods to satisfy
the need including questioning the need for technology, i.e., will a change in the
The Concept Proposal includes information about the business process and the
Page No.
21 / 61
improve, or correct a system is identified and formally requested through the
describe a proposal’ s purpose, identify expected benefits, and explain how the
The business case should also identify alternative solutions and detail as many
3>Identify basic functional and data requirements to satisfy the business need.
Page No.
22 / 61
Establish system boundaries, identify goals, objectives, critical success factors,
functional requirements .
concept of operations.
This phase explores potential ,technical solutions within the context of the
business need.
It may include several trade-off decisions such as the decision to use COTS
Page No.
23 / 61
The System Boundary Document serves as an important reference document to
support the Information Technology Project Request (ITPR) process. The ITPR
Page No.
24 / 61
Planning Phase
Project plans refine the information gathered during the initiation phase by
25 / 61
established. . A Project Management Plan is created with components related to
Page No.
26 / 61
Requirements Analysis Phase
This phase formally defines the detailed functional user requirements using high-
requirements are defined in this phase to a level of detail sufficient for systems
design to proceed.
opportunity identified in the Initiation Phase. The requirements that will be used
to determine acceptance of the system are captured in the Test and Evaluation
Master Plan. The purposes of this phase are to: 1>Further define and refine the
(i.e., verify what information drives the business process, what information is
Page No.
27 / 61
generated, who generates it, where does the information go, and who processes
it), 3>Develop detailed data and process models (system inputs, outputs, and
the process. 4>Develop the test and evaluation requirements that will be used
Page No.
28 / 61
Design Phase
The design phase involves converting the informational, functional, and network
requirements identified during the initiation and planning phases into unified
top-down approach, designers first identify and link major program components
and interfaces, then expand design layouts as they identify and link smaller
identify and link minor program components and interfaces, then expand design
Contemporary design techniques often use prototyping tools that build mock-up
Page No.
29 / 61
iterative process until they agree on an acceptable design. Audit, security, and
process.
During this phase, the system is designed to satisfy the functional requirements
identified in the previous phase. Since problems in the design phase could be
very expensive to solve in the later stage of the software development, a variety
The result is a draft System Design Document which captures the preliminary
design for the system. Everything requiring user input or approval is documented
and reviewed by the user. Once these documents have been approved by the
Agency CIO and Business Sponsor, the final System Design Document is created
Page No.
30 / 61
This document receives a rigorous review by Agency technical and functional
Concurrent with the development of the system design, the Agency Project
Page No.
31 / 61
Development Phase
techniques.
Page No.
32 / 61
1>Translating the detailed requirements anddesign into system components.
Page No.
33 / 61
PRINCIPLES OF SYSTEM ANALYSIS
1. Understand the problem before you begin to create the analysis model.
interaction will occur. 3. Record the origin of and the reason for every
The attribute of each data objects noted in the entity- relationship diagram can
be described using a data object description. Data flow diagram serves two
through the system. 2. To depict the functions that transformation the data flow.
Page No.
34 / 61
information that must be understood by the software. By composite information,
data object encapsulates data only there is no reference within a data object to
operations that act on the data. Attributes: Attributes define the properties of a
data object and take on one of three different characteristics. They can be used
different ways. We can define a set of object relationship pairs that define the
relevant relationships.
Page No.
35 / 61
Page No.
36 / 61
Page No.
37 / 61
SOFTWARE DETAILS
Python
Description
to help programmers write clear, logical code for small and large-scale projects.
Python Features
38 / 61
defined syntax. This allows the student to pick up the language quickly.
Easy-to-read − Python code is more clearly defined and visible to the eyes.
A broad standard library − Python's bulk of the library is very portable and cross-
Interactive Mode − Python has support for an interactive mode which allows
Portable − Python can run on a wide variety of hardware platforms and has the
Extendable − You can add low-level modules to the Python interpreter. These
efficient.
GUI Programming − Python supports GUI applications that can be created and
ported to many system calls, libraries and windows systems, such as Windows
Page No.
39 / 61
MFC, Macintosh, and the X Window system of Unix.
Scalable − Python provides a better structure and support for large programs
related action. Functions provide better modularity for your application and a
Function blocks begin with the keyword def followed by the function name and
parentheses ( ( ) ).
The code block within every function starts with a colon (:) and is indented.
return None
Page No.
40 / 61
Features of using Functions:
compact as the code of functions is not the part of it, thus is easier to read and
understand.
again when we need to use it more than once, we can write the code in the form
of a function and call it more than once. If we later need to change the code , we
Reusable function can be put in a library in modules. : We can store the reusable
functions in the form of modules. These modules can be imported and used
Page No.
41 / 61
Microsoft Word
Microsoft Word was initially launched in 1983, and has since been revised
numerous times. It is available for both Windows and Apple operating systems
Page No.
42 / 61
Functions Created
Home()- Function to display the project’ s main screen i.e. the home page of
the project or you can say the main menu for selecting the desired operation to
perform.
Roomservie()- Function for room service which provides user/customer with the
Payment()- Function for payment of hotel room and restaurant bill generation at
Page No.
43 / 61
CODING
#PAYMENTFUNCTION
def Payment():
ph=str(input("import random"))
importdatetime
#Global ListDeclaration
name= []
phno=[]
add=[]
checkin=[]
checkout=[]
Page No.
44 / 61
room=[]
price=[]
rc=[]
p= []
roomno=[]
custid= []
day= []
#Global VariableDeclaration
i=0
#HomeFunction
def Home():
print("\n\n\n\t\t\t\t\t\tWELCOMETO HOTELALCORE\n")
print("\t\t\t\t\t____________________________________________________")
print("\n\t\t\t1Booking\n")
print("\t\t\t 2RoomsInfo\n")
print("\t\t\t 3RoomService(MenuCard)\n")
print("\t\t\t 4Payment\n")
print("\t\t\t 5Record\n")
print("\t\t\t 0Exit\n")
ch=int(input("->"))
ifch ==1:
print("")
Booking()
elif ch ==2:
print("")
Rooms_Info()
Page No.
45 / 61
elif ch ==3:
print("")
restaurant()
elif ch ==4:
print("")
Payment()
elif ch ==5:
print("")
Record()
else:
exit()
def date(c):
elifc[0]<29:
pass
else:
print("Invaliddate\n")
name.pop(i)
Page No.
46 / 61
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
print("Invaliddate\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Page No.
47 / 61
Booking()
else:
print("Invaliddate\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
print("Invaliddate\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
#Bookingfunction
def Booking():
#usedglobal keywordto
#useglobal variable'i'
global i
print("BOOKINGROOMS")
print("")
while1:
n= str(input("Name: "))
p1= str(input("PhoneNo.: "))
a= str(input("Address: "))
Page No.
48 / 61
#checksif anyfieldis not empty
if n!=""andp1!=""and a!="":
name.append(n)
add.append(a)
break
else:
print("\tName,Phoneno. &Address cannot beempty..!!")
coo=str(input("Check-OutDateDD/MM/YYYY: "))
checkout.append(coo)
coo=coo.split('/')
co=coo
co[0]=int(co[0])
co[1]=int(co[1])
co[2]=int(co[2])
#checksif check-outdatefallsafter
#check-indate
if co[1]<ci[1] andco[2]<ci[2]:
print("\n\tErr..!!\n\tCheck-Outdatemustfall afterCheck-In\n")
name.pop(i)
add.pop(i)
Page No.
49 / 61
checkin.pop(i)
checkout.pop(i)
Booking()
elif co[1]==ci[1]and co[2]>=ci[2] andco[0]<=ci[0]:
print("\n\tErr..!!\n\tCheck-Outdatemustfall afterCheck-In\n")
name.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
pass
date(co)
d1= datetime.datetime(ci[2],ci[1],ci[0])
d2= datetime.datetime(co[2],co[1],co[0])
d=(d2-d1).days
day.append(d)
print("----SELECTROOMTYPE----")
print("1.StandardNon-AC")
print("2.StandardAC")
print("3.3-BedNon-AC")
print("4.3-BedAC")
print(("\t\tPress 0forRoomPrices"))
ch=int(input("->"))
#if-conditionstodisplayallotedroom
#typeandit'sprice
if ch==0:
print("1.StandardNon-AC- Rs.3500")
print("2.StandardAC -Rs. 4000")
Page No.
50 / 61
print("3.3-BedNon-AC- Rs. 4500")
print("4.3-BedAC- Rs.5000")
ch=int(input("->"))
if ch==1:
room.append('StandardNon-AC')
print("RoomType-StandardNon-AC")
price.append(3500)
print("Price-3500")
elif ch==2:
room.append('StandardAC')
print("RoomType-StandardAC")
price.append(4000)
print("Price-4000")
elif ch==3:
room.append('3-BedNon-AC')
print("RoomType-3-BedNon-AC")
price.append(4500)
print("Price-4500")
elif ch==4:
room.append('3-BedAC')
print("RoomType-3-BedAC")
price.append(5000)
print("Price-5000")
else:
print("Wrongchoice..!!")
51 / 61
#idalreadynotalloted
whilernin roomnoorcidin custid:
rn= random.randrange(60)+300
cid=random.randrange(60)+10
rc.append(0)
p.append(0)
if p1notinphno:
phno.append(p1)
elif p1in phno:
forn in range(0,i):
if p1==phno[n]:
if p[n]==1:
phno.append(p1)
elif p1in phno:
forn in range(0,i):
if p1==phno[n]:
if p[n]==0:
print("\tPhoneno. alreadyexistsandpaymentyetnotdone..!!")
name.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
print("")
print("\t\t\t***ROOMBOOKED SUCCESSFULLY***\n")
print("RoomNo.- ",rn)
print("CustomerId-",cid)
roomno.append(rn)
custid.append(cid)
i=i+1
n=int(input("0-BACK\n ->"))
if n==0:
Page No.
52 / 61
Home()
else:
exit()
#ROOMSINFO
def Rooms_Info():
print(" ------HOTELROOMSINFO ------")
print("")
print("STANDARD NON-AC")
print("---------------------------------------------------------------")
print("Roomamenities include: \n\t\t1DoubleBed, Television,Telephone,")
print("\t\tDouble-Door Cupboard,\n\t\t1Coffeetablewith2sofa, Balcony and")
print("\t\tan attachedwashroomwith hot/coldwater.\n")
print("STANDARD NON-AC")
print("---------------------------------------------------------------")
print("Roomamenities include: \n\t\t1DoubleBed, Television,Telephone,")
print("\t\tDouble-Door Cupboard,\n\t\t1Coffeetablewith2sofa, Balcony and")
print("\t\tan attachedwashroomwith hot/coldwater+Window/SplitAC.\n")
print("3-BedNON-AC")
print("---------------------------------------------------------------")
print("Roomamenities include: 1DoubleBed+1SingleBed, Television,")
print("Telephone,a Triple-Door Cupboard,1Coffeetablewith2sofa,1")
print("Sidetable, Balcony withanAccenttablewith2Chair andan")
print("attachedwashroomwith hot/coldwater.\n")
print("3-BedAC")
print("---------------------------------------------------------------")
print("Roomamenities include: 1DoubleBed+1SingleBed, Television,")
print("Telephone,a Triple-Door Cupboard,1Coffeetablewith2sofa,")
print("1Sidetable, Balcony with anAccenttablewith2Chair andan")
print("attachedwashroomwith hot/coldwater+ Window/SplitAC.\n\n")
print()
n=int(input("0-BACK\n ->"))
ifn==0:
Home()
Page No.
53 / 61
else:
exit()
#RESTAURANTFUNCTION
def restaurant():
ph=int(input("CustomerId: "))
global i
f=0
r=0
forn inrange(0,i):
if custid[n]==phandp[n]==0:
f=1
print("-------------------------------------------------------------------------")
print(" Hotel ALCORE")
print("-------------------------------------------------------------------------")
print(" Menu Card")
print("-------------------------------------------------------------------------")
print("\nBEVARAGES 26Dal Fry................140.00")
print("---------------------------------- 27Dal Makhani............150.00")
print("1 RegularTea.............20.00 28Dal Tadka.............. 150.00")
print("2 Masala Tea.............. 25.00")
print("3 Coffee..................25.00 ROTI")
print("4 ColdDrink..............25.00 ----------------------------------")
print("5 BreadButter............ 30.00 29PlainRoti.............. 15.00")
print("6 BreadJam............... 30.00 30ButterRoti.............15.00")
print("7 Veg.Sandwich........... 50.00 31Tandoori Roti...........20.00")
print("8 Veg.Toast Sandwich..... 50.00 32ButterNaan............. 20.00")
print("9 CheeseToastSandwich... 70.00")
print("10GrilledSandwich........70.00 RICE")
print(" ----------------------------------")
print("SOUPS 33PlainRice..............90.00")
print("---------------------------------- 34Jeera Rice.............. 90.00")
print("11TomatoSoup............110.00 35VegPulao..............110.00")
print("12Hot& Sour............. 110.00 36PeasPulao............. 110.00")
Page No.
54 / 61
print("13Veg. NoodleSoup.......110.00")
print("14SweetCorn............. 110.00 SOUTHINDIAN")
print("15Veg. Munchow........... 110.00 ----------------------------------")
print(" 37PlainDosa.............100.00")
print("MAINCOURSE 38Onion Dosa.............110.00")
print("---------------------------------- 39Masala Dosa............ 130.00")
print("16Shahi Paneer...........110.00 40PaneerDosa............ 130.00")
print("17Kadai Paneer........... 110.00 41RiceIdli.............. 130.00")
print("18Handi Paneer...........120.00 42Sambhar Vada...........140.00")
print("19PalakPaneer...........120.00")
print("20Chilli Paneer.......... 140.00 ICECREAM")
print("21MatarMushroom......... 140.00 ----------------------------------")
print("22MixVeg................ 140.00 43Vanilla.................60.00")
print("23JeeraAloo.............140.00 44Strawberry..............60.00")
print("24Malai Kofta............ 140.00 45Pineapple............... 60.00")
print("25AlooMatar.............140.00 46ButterScotch........... 60.00")
print("Press 0-toend")
ch=1
while(ch!=0):
ch=int(input("->"))
55 / 61
rs=50
r=r+rs
elifch<=10andch>=9:
rs=70
r=r+rs
elif(ch<=17andch>=11) orch==35orch==36or ch==38:
rs=110
r=r+rs
elifch<=19andch>=18:
rs=120
r=r+rs
elif(ch<=26andch>=20) orch==42:
rs=140
r=r+rs
elifch<=28andch>=27:
rs=150
r=r+rs
elifch<=30andch>=29:
rs=15
r=r+rs
elifch==33orch==34:
rs=90
r=r+rs
elifch==37:
rs=100
r=r+rs
elifch<=41andch>=39:
rs=130
r=r+rs
elifch<=46andch>=43:
rs=60
r=r+rs
elifch==0:
pass
Page No.
56 / 61
else:
print("WrongChoice..!!")
print("Total Bill: ",r)
#updatesrestaurant chargesandthen
#appendsin'rc' list
r=r+rc.pop(n)
rc.append(r)
else:
pass
iff == 0:
print("InvalidCustomer Id")
n=int(input("PhoneNumber: "))
#global i
f=0
forn inrange(0,i):
if ph==phno[n] :
#checksif paymentis
#notalreadydone
if p[n]==0:
f=1
print(" Payment")
print(" --------------------------------")
#hotel program
print("\n\n\n\t\t\t\tWELCOMETOHOTEL MANAGEMENTSYSTEM\n")
print("\t\t\t\t---------------------------------------------------------")
print("\n\t\t\t\tPreparedbyKrish Kumar, StdXII A,Roll 18\n\n")
print("\t\t\t\t--------------------------------")
uname=input("\n\t\t\t\tEnterUserName:")
Pawd=input("\t\t\t\tEnterPassword: ")
Page No.
57 / 61
print("\t\t--------------------------------")
if uname=="krish"andPawd=="KRK@123":
Home()
else:
print("InvalidUser nameandpassword")
#PAYMENTFUNCTION
Page No.
58 / 61
Page No.
59 / 61
Conclusion:
besides software of this organization. The proposed system will keep a track of
status. This project has GUI based software that will help in storing, updating
Workers, payment details etc. Main objective of this project is to provide solution
for hotel to manage most there work using computerized process. This software
Page No.
60 / 61
Bibliography
▪ Faculty guidance: Mr, Pradeep Chandra Mohanty
▪ Book Guidance:
▪ Website Guidance:
▪ www.google.co.in
Page No.
61 / 61