Documente Academic
Documente Profesional
Documente Cultură
By
Name
SANTHOSH MOHAN
Enrollment No :
Course Code
506
Nidhiya James
DECLARATION
I SANTHOSH MOHAN, undesigned here by declare that
the project report entitled HOTEL MANAGEMENT SYSTEM is a record
of independent project work carries out by me under the supervision and
guidance of Mr.Santhosh Kumar B.R. I also declare that this has not been
previously submitted for the awards of any degree
SANTHOSH MOHAN
ACKNOWLEDGEMENT
First of all we give our sincere thanks to almighty God for keeping us fit for
successful completion of this project. In the same note, we are also thankful to our parents for
their help and moral support.
Then I am extremely thankful and profound our deepest gratitude to our respected
Principal Dr.P.Madhusoodanan Pillai, for his guidance, motivation, encouragement and
opportunity given to us throughout course.
I sincerely thank all of my friends and classmates for their valuable suggestions and
inspiration.
I would like to express my deep sense of gratitude to other faculty members of our
college, parents, friends and all other for their help in the fulfillment of this project.
CONTENTS
1. INTRODUCTION
1.1 ABOUT THE PROJECT
2. REQUIREMENT ANALYSIS
Page No.
6
6
7
10
10
3. SYSTEM DESIGN
12
12
13
14
17
4. SYSTEM IMPLEMENTATION
22
22
23
5. SYSTEM CODING
30
6. SYSTEM TESTING
48
7. SCREEN LAYOUTS
51
8. CONCLUSION
59
9. BIBILIOGRAPHY
60
ABSTRACT
CHAPTER 01
INTRODUCTION
MODULES:PRODUCT: - It contains the details of the Products that are available in the shop. That means
number and types of Products in the available in the shop.
CHAPTER 02
6
REQUIREMENT ANALYSIS
2.1 FEASIBILITY STUDY
Feasibility study is a test of system proposed regarding its workability, impact on the
organization, ability to meet the needs and effective use of resources. Thus, when a new
project is proposed, it normally goes through a feasibility study before it is approved for
development.
A feasibility study is made to see if the project on completion will serve the purpose of the
organization for the amount of work, effort and the time that is spend on it. Feasibility study lets the
developer foresee the future of the project and its usefulness.
All the projects are feasible given unlimited resources and infinite time. Unfortunately, the
development of the computer-based system is more likely to be played by a security of resources and
difficulty delivery dates. Feasibility and risk analysis are related in many ways. If project risk is
great, the feasibility of producing the quality software is reduced.
Steps in Feasibility Study
Feasibility Study involves eight steps:
Describe and evaluate performance and cost effectiveness of each candidate systems.
Economic Feasibility
Technical Feasibility
Operational Feasibility
What new skills will be required? Do the existing staff members have these skills? If not,
can they be trained due course of time?
Generally, project will not be rejected simply because of operational feasibility but such
considerations are likely to critically affect the nature and scope of the eventual recommendations.
This feasibility study is carried out by a small group of people who are familiar with information
system techniques, who understand the parts of the business that are relevant to the project and are
skilled in skilled analysis and design process.
2.2 EXISTING SYSTEM
In the present scenario as the computer world is advancingTransaction,Customer records
and Various Services can decrease staff productivity by making work error-prone how you
communicate with your staff, customers and Employee ,transactions should be highly efficient and
accurate. Many software solutions provide facilities to overcome these defects on traditional billing.
Time consuming.
Less flexible.
Difficulties in managing your manual and paper records on customers and suppliers
HOTEL MANAGEMENT SYSTEM is software that makes the credit and debit
billing transactions efficient. Another advantage of HOTEL MANAGEMENT SYSTEM is
9
Greater accuracy, speed and reliability of information handling and data processing
operations.
Ability to handle more customers faster with more automatic data processing.
Employee Management
In this module Administrator add the Employee details and can edit, update and delete
Employee details. This module also specifies the details of the products which the Employee has. The
addition of Employee is completely based on a unique id. Here the admin can search or delete the
Employee on the basis of supplier id. Also Employee can search the product with respect to product
id.
10
Report Generation
This module specifies the report of all the transactions of sales. The billings of transactions are in full
control of the administrator. Administrator can use this report for further reference. It includes the
product id, product name, cost of the product, no. of quantity and so on.
11
CHAPTER 03
SYSTEM DESIGN
3.1 INPUT DESIGN
The input design is the process of converting the user-oriented inputs in to the computerbased format. The goal of designing input data is to make automation as easy and free from
errors as possible. The input design requirements such as user friendliness, consistent format
and interactive dialogue for giving the right message and help for the user at right time are
also considered for the development of the project.
The following points should be considered while designing the input:
Methods for performing input validation and steps to follow when errors occur.
Inaccurate input data is the most common cause of error in processing data. Errors entered
by the data entry operators can be controlled by the input design. The arrangement of
messages as well as placement of data, headings and titles on display screens or source
document is also a part of input design.
The design of input also includes specifying the means by which end
user and system operators direct the system what action to take.
The input design is the link between the information system and the
user. It comprises the developing specification and procedures for data preparation and those
12
steps that are necessary to put transaction data into a usable form for processing data entry.
In this project all the necessary text boxes are validated. The input
forms are designed in Visual Basic 6.0 using GUI Controls like textboxes, listbox, checkbox,
frames, radio button and other controls. If any non-empty fields are not filled, it will display
error message and will wait until user types the necessary and correct input. The combo
boxes are used to reduce the user inputs. The user can select one of the items from combo
boxes. Initially to access the services of this software, the user has to log on with a login
name and password which are validated. Once logged on, he can access the various services,
navigate to different profiles. Once the data are entered through the input forms, they are
stored in the database. In this application the user can select the options using mouse. The
user is also allowed to choose priority using predefined set of values.
Decide whether to display, print the information and select the output medium.
The output design is specified on layout forms, sheets that describe the
location characteristics, and format of the column headings and pagination. In my project, the
output forms are designed in Visual Basic 6.0. Each form has a heading or caption which
specifies what services is been given to the users making the software user-friendly. All
requests given by the user is sent to the server which is validated and accordingly the
corresponding pages are given to the client users. All information are stored in the database
13
and when the user logs on and requests for a service, the corresponding page is fetched from
the server after validation and is rendered.
TABLE DESIGN
14
Login
Filed Name
Data Type
Filed Size
Description
UNAME
Varchar
15
PASSW
Varchar
15
Filed Name
Data Type
Filed Size
Description
NAME
Varchar
20
Name of Customer
CID
Varchar
20
Check In date
COD
Varchar
20
NATION
Varchar
20
Nation
AGE
Varchar
Age
OCCUP
Varchar
20
Occupation
SD
Varchar
Stay Days
NOA
Varchar
Number of Adults
NOC
Varchar
Number of Children
CC
Varchar
15
Customer Code
Filed Name
Data Type
Filed Size
Description
NAME
Varchar
20
Name of Customer
CID
Varchar
20
Check In date
COD
Varchar
20
NATION
Varchar
20
Nation
Customer Details:
15
AGE
Varchar
Age
OCCUP
Varchar
20
Occupation
SD
Varchar
Stay Days
NOA
Varchar
Number of Adults
NOC
Varchar
Number of Children
CC
Varchar
15
Customer Code
Data Type
Filed Size
Description
RN
Varchar
Room Number
WF
Varchar
Which Floor
NOBH
Varchar
Number Of Bedroom
TOF
Varchar
20
Type Of Furnishing
SF
Varchar
10
Square Feet
ER
Varchar
10
Expected Rent
EA
Varchar
10
Expected Advance
NOA
Varchar
Number Of Adult
NOC
Varchar
Number of Children
RC
Varchar
Room Code
Transaction Details:
16
Filed Name
Data Type
Filed Size
Description
COD
Varchar
15
COT
Varchar
15
Varchar
Rate
TC
Varchar
Total Charge
OC
Varchar
Other Charge
ST
Varchar
Sub Total
DISC
Varchar
Discount
GT
Varchar
Grand Total
DP
Varchar
Deposit Paid
RB
Varchar
Remaining Balance
Cleaning:
Filed Name
Data Type
Filed Size
Description
RN
Varchar
15
Room Number
NOC
Varchar
15
Name Of Customer
TOW
Varchar
15
Type of Work
Data Type
Filed Size
Description
RN
Varchar
15
Room Number
NOC
Varchar
15
Name Of Customer
TOW
Varchar
15
Type of Work
Repair Issues:
Filed Name
Vehicle Service:
Filed Name
Data Type
Filed Size
Description
NOC
Varchar
15
Name Of Customer
17
RN
Varchar
10
Room Number
NOD
Varchar
50
Name of Destination
TOV
Varchar
20
Type of Vehicle
EP
Varchar
Expected Passenger
NOVN
Varchar
ST
Varchar
15
Starting Time
ET
Varchar
15
Ending Time
Filed Name
Data Type
Filed Size
Description
TODF
Varchar
15
NAME
Varchar
20
Name Of Dish
RN
Varchar
10
Room Number
CC
Varchar
10
Customer Code
EE
Varchar
Expected Expense
TOOR
Varchar
15
Time of Order
Filed Name
Data Type
Filed Size
Description
DATE
Varchar
15
Date of purchase
RAT
Varchar
10
TC
Varchar
10
Total Charge
OC
Varchar
10
Other Charge
ST
Varchar
10
Sub Total
DISC
Varchar
10
Discount
GT
Varchar
10
Grand Total
Order For:
Transaction details:
18
Change Password:
Filed Name
Data Type
Filed Size
Description
UNAME
Varchar
15
Username
CUPW
Varchar
15
Current Password
NPW
Varchar
15
New Password
CNPW
Varchar
15
Confirm Password
Filed Name
Data Type
Filed Size
Description
NAME
Varchar
15
Name of Employee
ADDRESS
Varchar
100
Address Of Employee
DESG
Varchar
15
Designation Of Employee
MOB
Varchar
12
Mobile Number
SAL
Varchar
AGE
Varchar
FNAME
Varchar
15
Fathers Name
EQ
Varchar
50
Educational Qualification
NATION
Varchar
15
Nationality
DOB
Varchar
15
Date of Birth
GEN
Varchar
Gender
EMPC
Varchar
15
Employee Code
19
20
data flows rather than how they are processed, so it does not depend on hardware, software,
data structure or file organization.
There are four symbols that are used in the drawing of Data Flow Diagrams:
Entities
External entities represent the sources of data that enter the system or the recipients of data
that leave the system.
Process
transformation or change.
Databases
21
Data Flow
A data flow shows the flow of information from its source to its destination. A line represents
a data flow, with arrowheads showing the direction of flow.
ADMINISTRAT
OR
EMPLOYEE
HOTEL
MANAGEME
NT SYSTEM
ADMINISTRAT
OR
EMPLOYEE
LEVEL- 1 ( Admin)
Custo
mer
Info
ADMINISTRAT
OR Hotel Management System
LOGI
N
Add
Customer
Empl
oyeD
etails
Add
Employee
Trans
ctn
Transaction
22
LEVEL- 1 (Employee)
Servic
e
Info
EMPLOYE
E
LOGI
N
HOTEL
Custo
mr
Info
LEVEL- 2 (Admin)
Empl
ye
Detai
ls
Add
Service
Add
Employee
Add
Edit
Add
Customer
Dele
te
Sea
rch
Add
ADMINISTRAT
OR
Empl
oye
Detai
ls
Edit
Dele
te
Sea
rch
Trans
ctn
Bill
Add
Employee
23
Transaction
LEVEL- 2 (Employee)
Add
Servic
e Info
Edit
Del
ete
Add
Service
Sea
rch
ADMINISTRAT
OR
Edit
Empl
oye
Detail
s
Sea
rch
Add
Employee
24
CHAPTER 04
SYSTEM IMPLEMENTATION
Intel Pentium4
RAM
1GB
Hard Disk
40GB
Drives
CD ROM Drive
Display Size
15 Color Monitor
Screen Resolution
800*600 Pixels
Color Palette
Keyboard
Mouse
Monitor
25
: Windows XP
Front End
Back End
O v e r v i e w O f Vis u a l B a s i c 6 . 0
Visual Basic is one of the most successful tools designed by Microsoft
Corporation. The visual basic environment is great for creating, almost any type of
application. Robust stand- alone applications, games, utilities etc can be developed in less
time using Visual Basic and it provides a graphical environment where forms and controls can
be visually designed. Visual Basic is a sophisticated program, which has the following
features
Hardware Independence
HARDWARE INDEPENDENCE
26
EVENT DRIVEN
PROGRAMMING
27
Most form has a delete section, but a form can also include form header, pageheader, page
footer and form footer.
MODULES:A module is a collection of Visual Basic code for applications, declarations
and procedures that are stored together as a unit.
There are two types of modules.
1.
Class module
2.
Standard module
Command button
A command button on a form starts an action or set of functions.
2. Label
Labels on a form or report display descriptive text such as titles, captions or
brief instruction. Labels do not display values from fields or expressions and they do
not change as more from record to record.
3. Textbox
28
Textbox helps to display data from a table, query or Oracle statement. Textbox
can also be bound. Data in an unbound textbox isnt stored anywhere.
4. Listbox
In many cases it is quicker and easier to select a value from a list than to
remember a value to type. A list of choices also help to ensure that the values that is
entered in the field is correct. Listform performs this action.
5.
Combobox
A combo box is like a textbox and a list box combined together. To select a
value in a combobox , if the combobox in bound, the entered or selected value is
inserted into the field that the combobox is bound to.
6.
Checkbox
Checkbox acts as a stand-alone control to display a Yes/ No. Value from an
underlying table, query or Oracle statement of the box contains a checkmark, the
value is Yes. If it doesnt the value is No.
7.
Option button
An option button on a form or report is a stand-alone control displays Yes/ No.
Value from a textbox on a form or report display that they are from a table, query or
Oracle statement. If the option button is selected, the value is Yes, if not, the value is
No.
8.
Toggle button
Toggle button on a form is a stand-alone control used to display Yes/No value
from an underlying table, query or Oracle statements.
29
MS SQLSERVER 2005
SQL Server 2005 (formerly codenamed "Yukon") was released in
October 2005. It included native support for managing XML data, in addition to relational
data. For this purpose, it defined an xml data type that could be used either as a data type in
database
columns
or
as literals in
queries.
XML
columns
can
be
associated
with XSD schemas; XML data being stored is verified against the schema. XML is converted
to an internal binary data type before being stored in the database. Specialized indexing
methods were made available for XML data.
XML data is queried using XQuery; SQL Server 2005 added some extensions
to the T-SQL language to allow embedding XQuery queries in T-SQL. In addition, it also
defines a new extension to XQuery, called XML DML that allows query-based modifications
to XML data. SQL Server 2005 also allows a database server to be exposed over web
services using Tabular
Data
Stream (TDS)
packets
encapsulated
within SOAP
(protocol) requests. When the data is accessed over web services, results are returned as
XML.
Common Language Runtime (CLR) integration was introduced with this version, enabling
one to write SQL code as Managed Code by the CLR. For relational data, T-SQL has been
augmented with error handling features (try/catch) and support for recursive queries with
CTEs (Common Table Expressions). SQL Server 2005 has also been enhanced with new
indexing algorithms, syntax and better error recovery systems. Data pages are check
summed for better error resiliency, and optimistic concurrency support has been added for
better performance. Permissions and access control have been made more granular and the
query processor handles concurrent execution of queries in a more efficient way. Partitions on
30
tables and indexes are supported natively, so scaling out a database onto a cluster is easier.
SQL CLR was introduced with SQL Server 2005 to let it integrate with the .NET Framework.
SQL Server 2005 introduced "MARS" (Multiple Active Results Sets), a method of allowing
usage of database connections for multiple purposes.
SQL Server 2005 introduced DMVs (Dynamic Management Views), which are specialized
views and functions that return server state information that can be used to monitor the health
of a server instance, diagnose problems, and tune performance.
Tables
Tables are the primary building blocks of the SQL database. All data is stored
in tables. Every table in the database focuses on one object. Every row or records in the table
is a unique instance of the subject of the table.
Reports
Whether we like it or not we are still a paper based society, printing the results
of the data. We store reports because they are still necessary. With SQL we can quickly and
easily design reports based on our data.
Relationship
When working with SQL, we can create and use multiple tables, which help to
reduce the redundancy in the database. In this case we set the primary key.
Data type
The data type a field determines the kind of data the field can store.
CONNECTING TO DATABASE
31
One of the key features of Visual Basic is powerful database development. Database
programming is done by making use of event driven programming using controls and the
IDE provided with Visual Basic. The various accessing technologies supported by Visual
Basic are
32
To analyze our data or present it in a certain way in print, create a report. Data Report
allows us to use drag and drop to quickly create reports from any record set, including
hierarchical record sets.
33
CHAPTER 05
SYSTEM CODING
Login:
Private Sub Command2_Click()
End
End Sub
35
Call disconnect
End If
End Sub
36
End Sub
37
Call disconnect
End If
End Sub
38
End Sub
TRANSACTION DETAILS:
Private Sub Command1_Click()
If Text19.Text = "" Or Text20.Text = "" Or Text5.Text = "" Or Text6.Text = "" Or Text7.Text = "" Or
Text8.Text = "" Or Combo8.Text = "" Or Text9.Text = "" Or Text10.Text = "" Or Text11.Text = ""
Then
MsgBox "Please Enter All Details Before Submit"
Else
Call connect
con.execute "insert into OF(COD,COT,R,TC,OC,ST,DISC,GT,DP,RB)Values('" + Text19.Text +
"','" + Text20.Text + "','" + Text5.Text + "','" + Text6.Text + "','" + Text7.Text + "','" + Text8.Text + "','"
+ Combo8.Text + "','" + Text9.Text + "','" + Text10.Text + "','" + Text11.Text + "')"
MsgBox "Record Successfully Added"
Call disconnect
End If
End Sub
End Sub
39
40
REPAIR ISSUES:
Private Sub Command1_Click()
If Text1(0).Text = "" Or Text1(1).Text = "" Or Combo1.Text = "" Then
MsgBox "Please Enter All Details Before Submit"
Else
41
Call connect
con.execute "insert into CLEAN(RN,NOC,TOW)Values('" + Text1(0).Text + "','" + Text1(1).Text +
"','" + Combo1.Text + "')"
MsgBox "Record Successfully Added"
Call disconnect
End If
End Sub
VEHICLE SERVICE:
Private Sub Command1_Click()
42
End Sub
Text1(0).Text = ""
Text1(5).Text = ""
Text1(3).Text = ""
Text1(6).Text = ""
Text1(7).Text = ""
End Sub
End Sub
CHANGE PASSWORD:
Private Sub Command1_Click()
If Text2.Text = "" Or Text3(0).Text = "" Or Text1.Text = "" Or Text4.Text = "" Then
MsgBox "Please Enter All Details Before Submit"
Else
Call connect
con.execute "insert into PASSWORD CHANGE(UNAME,CUPW,NPW,CNPW)Values ('" +
Text2.Text + "','" + Text3(0).Text + "','" + Text1.Text + "','" + Text4.Text + "')"
MsgBox "Record Successfully Added"
45
Call disconnect
End If
End Sub
Private Sub Command2_Click()
Text2.Text = ""
Text3(0).Text = ""
Text1.Text = ""
Text4.Text = ""
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
ADD EMPLOYEE DETAILS
Private Sub Command1_Click()
If Option1.Enabled = True Then
gender = "MALE"
Else
gender = "FEMALE"
End If
46
Text1(5).Text = ""
Text1(3).Text = ""
Text1(8).Text = ""
Text1(9).Text = ""
Text1(4).Text = ""
Text1(2).Text = ""
Text1(6).Text = ""
Text1(7).Text = ""
Text2.Text = ""
End Sub
48
CHAPTER 06
SYSTEM TESTING
Testing Objectives
A good test is one that has a high probability of finding a yet undiscovered error.
Unit Testing
In this testing we test each module individually and integrate the overall
system. Unit testing focuses verification efforts on the smaller unit of software design in the
module. This is also known as module testing. The modules of the system are tested
separately. The testing is carried out during programming stage itself. In this testing step each
module is found to work satisfactory as regard to the expected output from the module. There
are some validation checks for verifying the data input given by the user. It is very easy to
find error and debug the system.
49
Integration Testing
Data can be lost across an interface; one module can have an adverse
effect on the other sub functions when combined by may not produce the desired major
functions. Integrated testing is the systematic testing for constructing the uncover errors
within the interface. This testing was done with sample data. The need for integrated test is to
find the overall system performance.
Incorrect or missing functions, interface errors, errors in data structures, external database
access, performance errors and initialization and termination errors.
Validation Testing
At the culmination of Black Box testing, software is completely
assembled as a package, interface errors have been uncovered and corrected and final series
of software tests, validation tests begins. Validation testing can be defined in many ways but a
simple definition is that validation succeeds when the software functions in a manner that can
be reasonably accepted by the customer.
After validation test has been conducted one of the two possible conditions exists.
1. The function or performance characteristics confirm to specification and are
accepted.
2.
50
Output Testing
After performing the validation testing, the next step is output testing of the
proposed system since no system could be useful if it doesnt produce the required data in the
specific format. The output displayed or generated by the system under consideration is tested
by, asking the user about the format displayed. The output format on the screen is found to be
correct as the format was designed in the system according to the user needs. Hence the
output testing doesnt result in any correction of the system.
The system under consideration is tested for user acceptance by constantly keeping in touch
with prospective system at the time of developing and making change wherever required.
This is done with regard to the following points:
structure of the procedural design to derive the test cases. The entire independent path in a
module is exercised at least once. All the logical decisions are exercised at least once.
Executing all the loops at boundaries and within their operational bounds exercise internal
data structure to ensure their validity.
51
CHAPTER 07
SCREEN LAYOUTS
Splash Screen:
Login
52
53
MDI(CUSTOMER):
54
Add Customer:
55
56
MDI(TRANSACTION):
57
Transaction Details:
MDI(SERVICES):
58
Cleaning:
Repair Issues:
59
Vehicle Services:
Order For:
60
MDI(SECURITY):
Change Password:
61
MDI(About Us):
62
CONCLUSION
63
This project made by the handwork of the group members and is a small effort in the
development of larger programs, and it involves limited aspects which are needed in day to
day hotel operation. The software development although is a very difficult task but it can be
carried out successfully with the effort of the group work. After the completion of this project
we learnt different things about software and its development. We also learnt to work in a
group and realize its importance. Thus this project can be a guideline for the beginners and
can be example for the development of a small program.
I have developed this software with my utmost capability. By making further modifications I
like to include more details to the system. By adding this, I am sure that my project will be
one of the best simplest sales management systems. I believe that with the graceful blessing
of the ALMIGHTY I can successfully add this feature.
Hotel management system (HMS) is a small program that is related in the field of hotels to
manage customers. This project is designed to fulfill the need of the future generations.This
project is small package which includes different categories as well as having all possible
features. We have expected that it will be helpful to the, customers as well as Administrative
member.We will improve this project in future with online room reservation system and also
improve in security by providing a magnetic coated card to permanent customer for
automatic check in and check out.We are waiting for your best suggestion and encouragement
which could make us improve the future programming much better then the one we have
carried out.
BIBILIOGRAPHY
64
65