Krish 12
Krish 12
Project Report
on
Submitted by
Krish Kumar
Board Roll No :
Guided by
Pradeep Ch Mohanty
PGT, Computer Science
CERTIFICATE
ACKNOWLEDGEMENT
of level form our side. Our heart goes out with deep gratitude to
them, for the perennial patronage in our studies and especially this
gives us the power to instruct computers according to our will. With highly
the help of programming languages. The only limit being our own
imagination.
We again convey our thanks to Mr, Pradeep Chandra Mohanty for their
Objectives
Scope
H/W & S/W Requirements
System Development life cycle(SDLC)
Phases of SDL
Project category.
Analysis (DFDs, ER Diagrams, Class Diagrams etc.)
Coding
Screens(forms)
Implementation & testing
A complete structure which includes :
Number of modules and their description to provide an estimation of the
Data Structures as per the project requirements for all the modules.
Report generation.
Conclusions
Bibliography
HOTEL MANAGEMENT SYSTEM
INTRODUCTION
This project is aimed at developing a system that is an easy to
System as simple
is time consuming.
non-programming
users
i. Online Users.
Administrator is must be
The main aim of the entire activity is to automate the process of day
to day activities of
room according to
been taken to make the system efficient and user friendly. “HOTEL
Management
by the system:
Check-out of customer
Check-out customer
Room Details
OBJECTIVE
transformed from a
management function.
There are many factors that have influenced this transformation like
technological
as most important
resources.
the primary
database is
statement calculation
and generation.
This project intends to introduce more user friendliness in the
various activities
The searching of record has been made quite simple as all the
details of the
that customer.
accomplished by using
automatically
updated in the
whoever wants
necessary
of day to day
6. Packages available.
8. Online Cancellation.
11. Feedbacks
System Connectivity
Time Efficient
Cost Efficient
This project is useful for the authorities which keep track of all the
users registered in a
particular state .The authority can add hotel packages, room details,
The following steps that give the detailed information of the need of
supposed to be manually
handled for all activities. The manual handling of the record is time
consuming and
friendly even that any of the members can see the report and status
of the company.
should be efficient
person who has the password to access this project and illegal
access is not supposed to deal with. All the control is under the
administrator and the other members have the rights to just see the
This project can be used in the hotel after adding some more useful
modules in the
100% successful
failure, the
another organization
complete it manually.
Scope of Improvement
Now a days hotel are providing many other facilities, this project can
also be improved
100% successful
another organization
complete it manually.
.
Hardware Specification :
RAM : 32GB
Software Specification: -
that divides complex projects into smaller, more easily managed segments
ensure the system is being built phase to ensure the system is being built to
Initiation Phase
the need including questioning the need for technology, i.e., will a change in
The Concept Proposal includes information about the business process and
Plan.
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.
functional requirements .
a 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
Planning Phase
coordinate activities and manage project risks effectively. The depth and
Project plans refine the information gathered during the initiation phase by
requirements as possible.
established.
This phase formally defines the detailed functional user requirements using
requirements are defined in this phase to a level of detail sufficient for systems
design to proceed.
to determine acceptance of the system are captured in the Test and Evaluation
(i.e., verify what information drives the business process, what information is
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 to determine
Design Phase
network requirements identified during the initiation and planning phases into
unified design specifications that developers use to script programs during the
designers first identify and link minor program components and interfaces, then
expand design layouts as they identify and link larger systems and
connections.
Contemporary design techniques often use prototyping tools that build mock-
iterative process until they agree on an acceptable design. Audit, security, and
process.
phase could be very expensive to solve in the later stage of the software
The result is a draft System Design Document which captures the preliminary
Once these documents have been approved by the Agency CIO and Business
Concurrent with the development of the system design, the Agency Project
Development Phase
large
transaction-oriented programs associated with financial institutions have
techniques.
Effective completion of the previous stages is a key factor in the success of the
usability.
PROJECT CATEGORY
This Project is coupled with material on how to use the various tool, subsets
which can connect to Relational Database engines. This gives the programmer
These applications give users the power and ease of a GUI with the multi user
1. Understand the problem before you begin to create the analysis model.
interaction
will occur.
behavioral models.
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
move through the system. 2. To depict the functions that transformation the
data flow.
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.
Python
Description
to help programmers write clear, logical code for small and large-scale
projects.
Python Features
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
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
same interface on all platforms.
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
Scalable − Python provides a better structure and support for large programs
single, related action. Functions provide better modularity for your application
and a high degree of code reusing. Simple rules to define a function in Python.
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.
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 change it in one place only. Thus it saves our time also.
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
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.
details.
Payment()- Function for payment of hotel room and restaurant bill generation
# PAYMENT FUNCTION
def Payment():
ph=str(input("import random"))
import datetime
i=0
# Home Function
def Home():
ch=int(input("->"))
if ch == 1:
print(" ")
Booking()
elif ch == 2:
print(" ")
Rooms_Info()
elif ch == 3:
print(" ")
restaurant()
elif ch == 4:
print(" ")
Payment()
elif ch == 5:
print(" ")
Record()
else:
exit()
def date(c):
elif c[0]<29:
pass
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
# if month is odd & less than equal
# to 7th month
elif c[1] <= 7 and c[1]%2 != 0 and c[0] <= 31:
pass
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
else:
print("Invalid date\n")
name.pop(i)
phno.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
# Booking function
def Booking():
while 1:
n = str(input("Name: "))
p1 = str(input("Phone No.: "))
a = str(input("Address: "))
else:
print("\tName, Phone no. & Address cannot be empty..!!")
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)
ch=int(input("->"))
rc.append(0)
p.append(0)
if p1 not in phno:
phno.append(p1)
elif p1 in phno:
for n in range(0,i):
if p1== phno[n]:
if p[n]==1:
phno.append(p1)
elif p1 in phno:
for n in range(0,i):
if p1== phno[n]:
if p[n]==0:
print("\tPhone no. already exists and payment yet not
done..!!")
name.pop(i)
add.pop(i)
checkin.pop(i)
checkout.pop(i)
Booking()
print("")
print("\t\t\t***ROOM BOOKED SUCCESSFULLY***\n")
print("Room No. - ",rn)
print("Customer Id - ",cid)
roomno.append(rn)
custid.append(cid)
i=i+1
n=int(input("0-BACK\n ->"))
if n==0:
Home()
else:
exit()
# ROOMS INFO
def Rooms_Info():
print(" ------ HOTEL ROOMS INFO ------")
print("")
print("STANDARD NON-AC")
print("---------------------------------------------------------------")
print("Room amenities include: 1 Double Bed, Television,
Telephone,")
print("Double-Door Cupboard, 1 Coffee table with 2 sofa, Balcony
and")
print("an attached washroom with hot/cold water.\n")
print("STANDARD NON-AC")
print("---------------------------------------------------------------")
print("Room amenities include: 1 Double Bed, Television,
Telephone,")
print("Double-Door Cupboard, 1 Coffee table with 2 sofa, Balcony
and")
print("an attached washroom with hot/cold water + Window/Split
AC.\n")
print("3-Bed NON-AC")
print("---------------------------------------------------------------")
print("Room amenities include: 1 Double Bed + 1 Single Bed,
Television,")
print("Telephone, a Triple-Door Cupboard, 1 Coffee table with 2
sofa, 1")
print("Side table, Balcony with an Accent table with 2 Chair and
an")
print("attached washroom with hot/cold water.\n")
print("3-Bed AC")
print("---------------------------------------------------------------")
print("Room amenities include: 1 Double Bed + 1 Single Bed,
Television,")
print("Telephone, a Triple-Door Cupboard, 1 Coffee table with 2
sofa, ")
print("1 Side table, Balcony with an Accent table with 2 Chair and
an")
print("attached washroom with hot/cold water + Window/Split AC.\
n\n")
print()
n=int(input("0-BACK\n ->"))
if n==0:
Home()
else:
exit()
# RESTAURANT FUNCTION
def restaurant():
ph=int(input("Customer Id: "))
global i
f=0
r=0
for n in range(0,i):
if custid[n]==ph and p[n]==0:
f=1
print("-------------------------------------------------------------------------")
print(" Hotel SKYLINE ")
print("-------------------------------------------------------------------------")
print(" Menu Card")
print("-------------------------------------------------------------------------")
print("\n BEVARAGES 26 Dal Fry................
140.00")
print("---------------------------------- 27 Dal Makhani............
150.00")
print(" 1 Regular Tea............. 20.00 28 Dal Tadka..............
150.00")
print(" 2 Masala Tea.............. 25.00")
print(" 3 Coffee.................. 25.00 ROTI")
print(" 4 Cold Drink.............. 25.00
----------------------------------")
print(" 5 Bread Butter............ 30.00 29 Plain Roti..............
15.00")
print(" 6 Bread Jam............... 30.00 30 Butter Roti.............
15.00")
print(" 7 Veg. Sandwich........... 50.00 31 Tandoori
Roti........... 20.00")
print(" 8 Veg. Toast Sandwich..... 50.00 32 Butter
Naan............. 20.00")
print(" 9 Cheese Toast Sandwich... 70.00")
print(" 10 Grilled Sandwich........ 70.00 RICE")
print(" ----------------------------------")
print(" SOUPS 33 Plain Rice..............
90.00")
print("---------------------------------- 34 Jeera Rice..............
90.00")
print(" 11 Tomato Soup............ 110.00 35 Veg
Pulao.............. 110.00")
print(" 12 Hot & Sour............. 110.00 36 Peas
Pulao............. 110.00")
print(" 13 Veg. Noodle Soup....... 110.00")
print(" 14 Sweet Corn............. 110.00 SOUTH INDIAN")
print(" 15 Veg. Munchow........... 110.00
----------------------------------")
print(" 37 Plain Dosa.............
100.00")
print(" MAIN COURSE 38 Onion Dosa.............
110.00")
print("---------------------------------- 39 Masala Dosa............
130.00")
print(" 16 Shahi Paneer........... 110.00 40 Paneer
Dosa............ 130.00")
print(" 17 Kadai Paneer........... 110.00 41 Rice Idli..............
130.00")
print(" 18 Handi Paneer........... 120.00 42 Sambhar
Vada........... 140.00")
print(" 19 Palak Paneer........... 120.00")
print(" 20 Chilli Paneer.......... 140.00 ICE CREAM")
print(" 21 Matar Mushroom......... 140.00
----------------------------------")
print(" 22 Mix Veg................ 140.00 43 Vanilla.................
60.00")
print(" 23 Jeera Aloo............. 140.00 44
Strawberry.............. 60.00")
print(" 24 Malai Kofta............ 140.00 45
Pineapple............... 60.00")
print(" 25 Aloo Matar............. 140.00 46 Butter
Scotch........... 60.00")
print("Press 0 -to end ")
ch=1
while(ch!=0):
for n in range(0,i):
if ph==phno[n] :
# checks if payment is
# not already done
if p[n]==0:
f=1
print(" Payment")
print(" --------------------------------")
Home()
Conclusion:
The conclusion of this project is A Hotel management system is a computerized
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
solution for hotel to manage most there work using computerized process. This
diagrams.
system.
Understanding the database handling and query processing.
Bibliography
Faculty guidance: Mr, Pradeep Chandra Mohanty
Book Guidance:
Website Guidance:
www.google.co.in