A
PROJECT REPORT
ON
“Hotel Management”
In partial fulfillment of
Deploma II year (Computer Science & Engineering)
Session 2023-2024
Submitted To: Submitted by:
Mr. Bhagaram patel Karan kumar
(Assistant Lecturer) Deploma 2nd year, 4th sem
CSE
Department of Computer Science & Engineering
GOVERNMENT POLYTECHNIC COLLEGE JALORE,
(RAJASTHAN)
Certificate
This is to certify that the CSE project entitled “Hotel Management” has been carried
out by the student/team of college GOVERNMENT POLYTECHNIC COLLEGE
JALORE,(RAJ) under my guidance and supervision in partial fulfillment of the
degree of Bachelor of Engineering in Information Technology/Computer Science &
Engineering of Rajasthan Technical University, Kota during the academic year 2022-
2023.
Student:
1. Karan kumar
Date:
Place: GPC, JALORE
----------------------------------- --------------------------------------
Mr. Bhagaram patel Mr.Ramkaran patel
Assistant Lecturer Head Of Department,
Department of CSE, GPC Department of CSE, GPC
2
Acknowledgment
I take this opportunity to express my profound gratitude and deep regards to my guide (Bhagaram
patel) for his exemplary guidance, monitoring and constant encouragement throughout the course of
this thesis. The blessing, help and guidance given by him time to time shall carry me a long way in
the journey of life on which I am about to embark.
I also take this opportunity to express a deep sense of gratitude to Bhagaram patel, Assistant Lec-
turer , GPC, for his/her cordial support, valuable information and guidance, which helped me in
completing this task through various stages.
I am obliged to staff members of (GPC, JALORE), for the valuable information provided by them
in their respective fields. I am grateful for their cooperation during the period of my assignment.
Lastly, I thank almighty, my parents, brother, sisters and friends for their constant encouragement
without which this assignment would not be possible.
Karan Kumar
Date:
3
Abstract
Fast. Accurate and relevant hotel services have been a great demand in a progressive place. This is
because many investors or travelers from faraway places seek to find comfort in terms of their
accommodation and stay in their certain destination. Because of this; the modern technology world
of hotel accommodation has gone into various level-up stages. There must be a system that will
work out to make transactions fast. Accurate and convenient to clients. This system will accept
large scale of data without any inconveniences. Hassle-free as it must, the customer and at the same
time the management can enjoy the chance of being free from complains when it comes to service
provision, in its most accurate way.
PURPOSE AND DESCRIPTION
Hotel Reservation system is designed to be user friendly that provides flexible accommodation of
wide range of requirements. Hotel Reservation system is created to speech up transaction, and is
designed for faster and easy booking online, lesser manpower, and less effort of the clients.
OBJECTIVES
The main objectives of the study focus on three different scenario; 1. To alleviate the need of
having a system that caters hotel reservation. 2. To provide fast and accurate service to clients. 3.
To speed up transactions among clients.
SIGNIFICANCE OF THE STUDY
The relevance of the study does not only benefit clients but tellers or the management as well.
The system can be an efficient...
4
Table of Contents
Certificate................................................................................................1
Acknowledgment....................................................................................2
Abstract...................................................................................................3
Table of Contents...................................................................................4
1. Introduction........................................................................................5
2. Requirement Specification................................................................7
3. Architectural Design..........................................................................8
4. Test Planning......................................................................................9
5. Work Distribution.............................................................................10
6. Results..............................................................................................11
7. Conclusion & Future Work..............................................................12
Glossary................................................................................................13
1. Introduction
The software product to be produced is a Hotel Management System which will automate the major
hotel operations. It explains how the different works of a hotel are being done like reservations,
cancellation and then new reservations, hotel food scheme and many more operations. This project
enable user to reserve and cancel booking in hotel, number of rooms available & displays the list of
hotel staffs to the manager. For reservation complete information of customer is required.
There are two types of room like Deluxe and super Deluxe so people can choose what they want.
There is also a disco and Bar available for enjoy. There are so many types of food like South Indian,
Rajasthani, Gujrati etc. are available.
Technology/Programming Languages/Databases Involved:-
Turbo C++/ C
5
3. Requirement Specification
GENERAL REQUIREMENTS:-
3.1 Functionalities:
There are two types of room like Deluxe, super Deluxe etc. so people can choose what they want.
There is also a disco and Bar available for enjoy. There are so many types of food like South Indian,
Rajasthani, Gujrati etc are available.
There is also a swimming pool for the customer .A garden is also available for walking.
3.2 Use Case Model Diagrams
User Details
Check room availability
Customer Make booking
Make payment
Cancel booking
Check in time
Administrator
Check out time
Reception
Admin login
Manage & update
database
6
3.3 General Constraints:-
No online service for this hotel.
Non graphics
3.4 Supplementary requirements:-
N/A
4.0 Architectural Design
4.1 High Level Functional Description:-
The code of project will be made by using the following features:
The customer can have details of Hotel, so that he /she can apply for reservation and
cancellation.
Reservation can be done only on behalf of number of room available.
The reservation of guest will be done using their personal details.
The main user of the program will be the receptionist; one can easily modify or update
in system by login the system.
Check-In / Check-Out details will be kept as record
7
Functional Block Diagram
Process Block Output Block
Input Block
Reservation
Room type
Sup.
Login Check In Deluxe
User name Deluxe
Display
customer
Cancellation
General details and
Password bill
Couple
Check out
Y
Verification Yes C. Deluxe
No
No yes
Exit
1.Input block:-
Log in:- This function ensures that only authorized users gain access to the booked databases.
2.Process block:- the process block have following operations –
Reservation :- allotement of room is done on the basis of customer,s infor-
mation through this function.
Cancellation :- this block is used for cancellation of reserved room .
check out :- customer’s arrivel and departure time and date will be recorded according to
there specified room and a bill is created.
Management :- it contain the hotel’s information.
8
3.Output block:- This block display output, customer details bill and whole databases of the
project
Flow Chart
Start
Reception
Menu
Room
Booked
Back to
MENU
Exit
9
4.2 High Level Functional Partitions
Module Name:
4.2.1 Login: - receptionist and manager can login into the system.
4.2.1.1 Functional Block Diagram
User name
Entered to
Verification the system
Password
4.2.1.2 Flow chart:
Start
Enter username &
password.
No
Verificatio
n
Yes
Stop
10
4.2.2 Room Allocation:
In this module room is allocated according to the choice of customer. .Customer detail is also
required..
4.2.2.1 Functional Block Diagram
Login Room
Availability
User name Room number
Customer details allotted
Password
Room info and
booking
4.2.2.2 Flow Chart
Start
Room No
Availabilit
y
Yes
Registration is
Customer not possible.
details
Select the Room
type
Allotment of room
number.
Exit
11
1.
1.1 4.2.3 Room Cancellation
This function is used for Cancellation of booking and this will be done using the respective room
number allotted. The room will then be available for new reservations.
4.2.3.1 Functional block diagram:
Login Verified Room
Number
User name Room
Deletion of cancelled
record
Password
Making room
available
4.2.3.2 Flow Chart
Start
Enter Room
number.
No
Verificatio
n of
Details
Yes
Deletion of the
records of Customer.
Making The Room
available.
Exit
12
4.2.4 Check out:
This will provide an complete information of when the customer departed from the Hotel. As per
arrival & departure time & date an bill will be created.
4.2.4.1 Functional block diagram:
Verified room
number
Check out date
Login
and days
calculation Bill displayed
User name
and room
cancelled
Bill creation
Password
Deletion of
record and
making room
available
13
4.2.4.2 Flow Chart
start
Enter the
room
number
Verification
of data
display No
YES
Input checkout
date & time
Calculation of
number of days
Display bill
Deletion of details
of customer
Making room empty
for new reservations
Display complete details
of hotel:
Name & address
Rooms with their type
Exit
14
4.3 Data Description
4.3.1 Data Flow Diagram
Level 0 :
Manager
Display Booking & other information
Details of Room
Applying for reservation
Hotel Check in/out information
Managemen
Booking confirmation Customer information
Applying for cancellation
t Room Details
Login
Reception
Customer
15
LEVEL 1 :-
Login with ID & password
1.
LOGIN
Confirmation of ID & Receptionist
Password.
Hotel management
2.
Hotels
Information
For general 5.
Info of hotel. Room
Reservation & Availability
Cancellation & allotment
Customer Updates. of room
number.
For reservation and
Other process 3.
Customer Room’s room’s
details Reservation cancellation
4.
Applying for reservation Reservation
&
Applying for cancellation Cancellation
.
16
4.3.2 Data Structures
Data structures used:-
class HOTEL
{
char array[100];
struct booking_data
{
long charge,roomno;
char name[25],address[75],telno[10],date[11],roomtype[15];
} B;
struct check_out_data
{
char name[25],address[75],telno[10],date[11],odate[11],otime[6];
int roomno;
} C;
struct cancellation_data
{
char name[25],address[75],telno[10];
} D;
public:
void booking();
void check_out();
void cancellation();
void management();
} H;
4.3.3 Constant Definition
No constant definition is used.
17
4.4 Low Level Module Description ( For C)
4.4.1 Module Name:
Log in: - This module is used for login to the system
Class Name: HOTEL
Class Dependencies
Class so formed is dependent on personal details of customer & room number allotted.
Functions in the Class
Log in: - this function is used for verification of the username and password. So that the manager
and receptionist can login only.
Declaration
void login ();
Parameters List
Parameter Type Parameter Name Parameter Description
Char User[20], pwd[20] input
Return values
void
Algorithm / Pseudo code
Algorithm:
Step 1: start.
Step 2: enter username
Step 3: verification of password & username.
Step 4: stop.
Flow Chart :
Start
Enter username &
password.
No
Verificatio
n
yes
Stop
18
4.4.2 Module Name:
Reservation: - This function is used for reservations of rooms in hotels using personal details of
customer. On every registration a unique room number is allotted to customer. This function not
only keeps details of customer but also keeps the track of check in time of customer, room type &
charges on customer.
Class Name: HOTEL
Class Dependencies
Class so formed is dependent upon customer’s information, room type and room allotment.
Functions in the Class
4.4.2.1 Check-in: - this function checks in the information of customer.
Declaration
Void check_in ();
Parameters List
Parameter Type Parameter Name Parameter Description
Char Name,gender,city, Input
state,rm_type.
Int Age, cnt_no,days, Input
Return values
Void
Algorithm / Pseudo code
Algorithm
Step 1: start.
Step 2: Check availability of Rooms.
Step 3: if room is available, enter the contact details, room type & check in time.
Step 4: if not available, then Exit.
Step5: stop.
19
Flow chart :-
Start
No Reservation
Room is not
availabili possible
ty
Yes
Enter contact
detail, room
type, & check
in details
Stop
20
4.4.2.2 Allot_rm :- this function checks in the information of customer.
Declaration
void allot_rm ();
Parameters List
Parameter Type Parameter Name Parameter Description
Char Name.rm_type. output
Int rm_no. output
Return values
Void
Algorithm / Pseudo code
Algorithm
Step 1: start.
Step 2: allotment of room.
Step 3: save the details of customer.
Step 4: print reservation is completed.
Step5: stop.
Flow chart:-
Start
Allotment
of_room
Save the details of
customer
Registration
done
successfully
Stop
21
4.4.3 Module Name:
Cancellation: - It cancels the rooms reserved by customers acc. to their records
Class Name: HOTEL
Class Dependencies
Class so formed is dependent upon customer’s information and room number.
Functions in the Class
Cancel :- this function cancels the reservation.
Declaration
void cancel ();
Parameters List
Parameter Type Parameter Name Parameter Description
Char Name,gender,city, Input
state,rm_type.
Int Age, cnt_no,days, Input
Return values
Void.
Algorithm / Pseudo code
Algorithm
Step 1: start.
Step 2: enter the room number.
Step 3: verify the displayed account.
Step 4: if verified the displayed account is true, then cancel the booking otherwise exit.
Step 5: delete the records of customer.
Step 6: stop.
22
Flow chart:
Start
Enter the Room
number.
Yes
No
Verification
of data Continue
display ?
Yes No
Making the allotted
room empty
Deletion of records
of customer
Booking
cancelled
successfully
Stop
23
4.4.4 Module Name:
Check out: - It accepts room number from the user, verify their details, then it inputs checkout
time & check out date, calculates the number of days customer has been in hotel and creates bill.
Class Name: HOTEL
Class Dependencies
Class so formed is dependent upon customer’s information and room number.
Functions in the Class
bill :- this function creates the bill.
Declaration
void bill ();
Parameters List
Parameter Type Parameter Name Parameter Description
Char Name,gender,city, Output
state,room_no.,date
Float Amt Output
Return values
Void.
Algorithm / Pseudo code
Algorithm
Step 1: Start.
Step 2: enter the room number.
Step 3: verification of displayed data.
Step 4: If verified, input checkout time & checkout date, otherwise exit.
Step 5: calculate number of days.
Step 6: creation & display of bill.
Step 7: delete the records of customer.
Step 8: Stop.
24
Flow chart:
Start
Enter the
Room number.
Yes
No
Verification Continue?
of display
data
Yes
No
Input check in/
checkout date
&time
Calculation of number
of days.
Display bill
Delete the records of
customer.
Exit
25
5. Work Distribution
The work distribution during the implementation of the project scenario has to be mentioned in this
section. If more than one student are involved in the project, than each of the student has to submit
the individual implementation plan. Each plan should be in the following below format.
Name of function/ Responsible
Start Date End Date
module Person
Mention the
Mention the Mention the name of the
Write down the name of
date when the completion date student/team
the function/module
1 implementation for the member who is
which is going to be
. of function/ implementation going to
implemented in the given
module is going of function/ implement the
timeline.
to be started. module. function/
module.
1 Log IN 3/04/2014 10/04/2014 Jayesh
2 Room Allocation 10/04/2014 17/04/2014 Jayesh
3 Room Cancelation 17/04/2014 24/04/2014 Kuldeep
4 Check out 24/04/2014 1/05/2014 Kuldeep
26
6. Results
Working Snapshots
1. <Introduction>
27
2. <Main Menu>
.
28
3. <Room Types>
29
Test Status Repot
Module Status Error Status
S.No. Remarks
Name (Pass/Fail) (Fixed/Open)
Write Write the Mention the Mention the Mention the process in
down module status of test status of the brief how it has been
the name here. case after the bug, whether closed. Or if remained
S.No. testing it is fixed or open then why?
open.
1. Log In Pass Fixed
2. Room Pass Fixed
Allocation
30
7. Conclusion & Future Work
This projection has been quite enjoyable as I have been given the opportunity to manage a project
from start to finish, it has given me some experience now in managing a projection if I ever have to
do something similar at a workplace in the future.
It has been a lot of work, but I am very happy with how our team has worked together and the final
products we have produced I believe are of a high standard.
31
Glossary
Abbreviation Description
SDD Software design document
FBD Functional Block Diagram
S/W Software
DFD Data flow diagram
No. Number
N/A Not Applicable
32
33