Spm Project
-
Upload
pratyaksh-jeet -
Category
Documents
-
view
156 -
download
4
Transcript of Spm Project
“HOTEL MANAGEMENT”
PROJECT REPORT
Submitted in the partial fulfillment of the requirement for the award of the degree
SUBMITTED BY
VINEET CHAUHANSARVOTTAM SINGHSAURABH GANGWARPRATYAKSH JEET
UNDER THE GUIDANCE OF
Internal Guide : Mr.Lokesh
1
CERTIFICATE
This is to certify that the project titled HOTEL MANAGEMENT is a bonafied work carried out by VINEET CHAUHAN, SARVOTTAM SINGH, PRATYAKSH JEET & SAURABH GANGWAR in the partial fulfillment of the requirement for the award of the degree from U.P. Technical University, Lucknow .
Internal Guide ExaminerMr.Lokesh
HOD (IT)
2
ACKNOWLEDGEMENT
This is to acknowledge that the started performance “HOTEL MANAGEMENT” is designed to be presented as a project work with Visual Basics at front end & Access as back end.
First of all we would like to extend our indebtedness to” “who guided us a lot in framing the project.
We are grateful to our instructors and course-mates that provided many helpful suggestions and also corrected us during the primary analysis phase of the project. We also thank our institute for the valuable guidance without which it could not have been possible.
VINEET CHAUHAN SARVOTTAM SINGH SAURABH GANGWAR
PRATYAKSH JEET (B.TECH(IT)-3RD YEAR)
3
Table of Contents
1. Cover Page
2. Certificate
3. Acknowledgement
4. Table of Contents
5. Synopsis
6. Feasibility Study
7. System Analysis
8. Requirement Analysis
9. Design Table Design DFD ER Diagram
10. Coding
10. Testing & Debugging
12. Conclusion
13. Bibliography
4
SYNOPSIS
INTRODUCTION
Hotel industry is one of the leading industries in India and as well as worldwide
today. Thus we have tried to focus our attention on this project by computerizing
it keeping in mind its importance. We have tried to develop this software, which
would be helpful in the hotel industry to make job easier, and time saved.
There was a time when all the work in the hotels were performed manually like
customer’s records employee details, room status & billing etc. but in today’s
world life is to fast therefore our motive is to minimize human labor and make all
the job more convenient.
This software also provides the security of data. Only the Admin. Can seek the
required information as this software has the concept of password, which is only
known to Admin.
This project is a live project which is based on a particular hotel i.e. Usha Shriram
hotel, situated in Delhi
5
MODULES
S.No. NAME DESCRIPTION1 Frm customer
informationIt gives the details of customer
2 Frm Employee It gives the details of employee
3 Room Enquiry It provides the choice of rooms (single or double) to customer
4 Frm services It deals with facilities & food section.
5 Frm bill It generates the bill.
6 Frm check in Add the new customer record & save it in customer file.
7 Frm check out It updates the customer file after customer leaving the hotel.
S.No
NAME DESCRIPTION
1. Module1.bas Contain a global variable for delectating a connection with a database & fields containing the user name & category.
6
7
TOOLS AND TECHNOLOGY USED
The tools and technologies used for this module is Visual basic – 6 in the front-end
and MS-Access in the back-end.
Why Visual-Basic:-
Every programmer and developer today is in search of an ideal language and
platform, that is best and fast to create all kind of software applications. The
development of Visual-basic has created a pleasant revolution by proving itself to be
nearly perfect by satisfying their needs.
Visual-Basic is highly interactive programming language, which is ideal for
developing applications for MS-Windows. It’s features increase productivity by
providing tools that are user friendly and help to create sophisticated applications.
Unlike other windows programming environments like Visual C++ , Visual Basic
programs are very simple to write. The very purpose of the parent language BASIC
(Beginners All Purpose Symbolic Instruction Code), which is to teach computer
programming to a beginner, has been retained in Visual Basic also. Visual Basic
relies very heavily on the windows user interface. Therefore the only pre-requisite to
work in Visual Basic environment is to have a firm understanding of how to use
mouse, windows, pull down menus and dialogue boxes.
Visual Basic is an event driven programming language. By event driven
programming it means that what should execute when specific events occur. The
biggest part of writing the programme in Visual Basic involves writing program codes
for the multitude of possible events that can occur to the forms and controls when
the program is running.
8
Visual Basic as a programming language has proved to be easier compared
to other programming languages. It has many in-built tools, which make it one of the
most powerful windows programming environments.
In conventional programming languages like ‘C’ and ‘Pascal’ you have to
write codes to display visual objects on your user interface and specifically instruct
the user interface about the action it has to carry out when an event occurs. In Visual
Basic you have to draw the visual objects and then enter code in a module, which
has automatic built-in formatting and syntax checking capabilities. The user interface
in Visual Basic executes the action it has to carry out when an event occurs.
Examples of some of the events:-
Events that happen with forms:-
Load: It is executed with the start up of the form.
Unload: This is used to free the memory taken by the form.
Events that happen with the controls:-
Click: This event is generated when a command button is chosen.
Double Click: This is generated when an object is double clicked.
Change: This event responds to changes to a control.
9
Error Handling in Visual Basic:-
The most important part in the project is error handling. In all the other languages
except Visual Basic error handling is the most complex part but in Visual Basic it’s a
child’s play. In Visual Basic the errors and mistakes that are committed when
entering the code at design time lead to the display of error messages during
compilation and run-time. Mistakes that do not allow the functioning of the program
to it are desired tasks are known as bugs. We can avoid some of the bugs during
application design by pre-planning. Minor bugs usually do not affect the program
from serving its purpose. They may slow down the computer, change color etc.
Major bugs are severe and will affect the program from being used correctly. They
may erase files, generate a general protection failure etc. All these bugs no matter
minor or major may be handled in Visual Basic by certain error statements. These
error statements are:-
1. On Error Go To Line: This enables the handling routine that starts at any line
label or line number.
2. On error Resume Next: This specifies that when a run-time error occurs,
control branch to next statement immediately.
3. On Error GoTo 0: Disable any enabled error handler in the current
procedure.
Data Access In Visual Basic :-
Visual Basic allows accessing and manipulating data databases. It allows managing
databases, objects, and structures. It includes a number of features that makes
database access relatively simple like:
Close attachment with the MS-Access database program.
Data control to access and display database information with other controls.
Capability to work with ODBC and SQL Drivers in order to access and manage data
in relational databases.
10
Visual Basic includes the Microsoft jet database Engine that powers MS-Access. It
allows to display, edit and update information from many types of databases.
In Visual Basic standard edition we can use the data control to access information in
existing databases. In Visual Basic professional edition we can also create or modify
databases using the data access objects programming interfaces.
Visual Basic provides the feature DDE, (Dynamic data exchange), which is a
establishes protocol that enables your application to directly & continuously
exchange data through active links between application that run under MS-Windows.
DDE depends on links between a Visual Basic program & other programs. The data
exchange is called Conversation. One can exchange data by establishing DDE links.
These links can be created during design time as well as run-time.
Visual Basic also enables to create an application, which displays data from much
different application & also allows editing the data from with in the application in
which it was created.
Thus with all the above-mentioned features, Visual Basic has created a pleasant
revolution by proving itself to be nearly perfect by satisfying their needs. So, it was
used as a front-end tool in our module.
Why Access:
A database is a collection of information that’s related to a particular subject or
purpose, such as tracking customer orders or maintaining a music collection. If your
database is not stored on computer, or only part of it are, you may be tracking
information from variety of sources that you have to coordinate & organize yourself.
Using Microsoft-access, you can manage all your information from a single database
file. Within the file, divide your file into separate storage containers called table: view,
11
add, update table data by using online forms; find & retrieve just the data you want
by using queries; & analyze the data base’s from the internet or an intranet by
creating data access pages.
To store the data, create one table for each type for each type of information that you track. To bring the data form multiple tables together in a query, form, data or data access page, define relationships between the tables. To find & retrieve just the data meets condition that you specify, including data from multiple tables, create a query. A query can also update or delete multiple records at the same time, &perform predefined or custom calculation on your data. To easily view, enter, & change data directly in the table, create a form.
When you open a form, Microsoft-access retrieves the data from one or more tables, display it on the screen with the layout you choose in the form wizard, or a layout that you create from scratch.
To analyze your data or present it a certain way in print, create a report For example,
you might print one report that groups data & calculates totals, &another report with
different date formatted for printing mailing mailing labels.
To make data available on the Internet or an intranet for interactive reporting, data
entry, or data analysis, use a data access page. Microsoft-access retrieves the data
from one or more tables & displays it on the screen with the layout you choose in the
page wizard, or a layout that you create from scratch. User can interact with the date
by using features on the data access page.
12
FEASIBILITY STUDY
The first step involved in computerizing a system is to conduct feasibility study to deter-mine whether it be possible to install a system for processing the data, keeping of records etc. & whether the cost of such computerization would justify the benefits accrued in terms of increased efficiency & reduction of work load of all concerned operating staff.Accordingly, visiting the hotel &getting the necessary information system was considered to be feasible.
The volume of data involved was high & needed large number of staff to
manage the record.
There was need for improved management information to extend facilities.
There was infrastructure available to install the computer system besides
this counter staff was quite suitable to operate a computerized system.
The operating staff was quite responsive & encouraging in the proposed
computerization plans.
There was a satisfactory manual system of record keeping & procedures.
The problem was excessive workload, which could not be coped up with
the available staff.
13
SYSTEM ANALYSIS
Analysis is the detailed study of various operation performed by the system with the
intent of improving it through better process and methods. System analysis means a
detailed description before computerizing system under consideration, it has to be
analyzed, we need to study how it function currently? What are problems and what
are requirement that proposed should meet.
The main components of making software are: -
1. System and Software analysis
2. Design and implementation of software.
3. Ensuring, verifying and marinating software integrity.
Information Gathering
The team gathers all the information by visiting at the site to have information of
existing system. All relevant personal were consulted and no information was
over-looked. To gather information one has to perform different methods: -
1. Identify information sources
2. Revolving a method of obtaining information from identified source.
3. Using information from module of organization
Information Sources
The main sources of information were: -
1. Users of the system
2. Presentations and documents using organization
3. Computer presentation of existing system.
14
EXISTING SYSTEM
In the existing system, automated mechanism is absent to maintain small hotels.
The previous mechanism used by hotel is either manual or maintain cash
registers. The bill is being given to customer from their bill book. So they find it
difficult to manage hotel. The main problems in the existing system are as under:
-
The existing system does not provide security from other members. Any
member of hotel can easily access the data by seeing or getting the
information from the register & that person can misuse the information
gained from records.
There was no technology to maintain customer record; staff records
department record or other record in the existing system, which could have
been useful to higher authorities.
In the existing system the user will have to calculate the amount manually
for services provided to customer. And by doing so there may be chance
of committing mistake.
Customers always desire to know the relevant details like –The room
availability at various floors & the status of rooms i.e. single or double etc
The reservation of rooms for a particular day or date is not effectively
maintain by the user in the existing system.
The existing system does not indicate the vacancy of room’s category
wise.
15
PROPOSED SYSTEM
A close scrutiny of the existing system clearly shows that it does not meet the
requirement of the organization adequately. To make it more effective & user
friendly the computerization of information system will be an essential addition
to it. It will process the data’s more accurately & quickly. To achieve this it is
necessary to design & develop a new system, which have the following
benefits over existing system:-
o Flexibility in generation of information: The generation of reports
in the proposed system will take minimum time and will be more
accurate.
o Less time to derive conclusions: User of the proposed system can
compile information at higher speed, make comparisons for distinct
periods and draw the conclusions speedily.
o Ease in maintenance of information: The maintenance of
information in the new system will be much easier as new information
is added with every new customer getting in and checking out.
o User friendliness: This system is very easy to learn and understand
and even a novice can use the system effectively.
o User satisfaction: The system stands up to the expectations of user
by giving him the easy access and retrieval of information.
o Accuracy: As the information is prepared electronically hence it
tends to be highly accurate than in the existing system.
o Less time consumption: The time taken by the staff to carry out
various jobs is much less in the proposed system, thus making it
more economic and fast.
16
REQUIREMENT ANALYSIS
The origin of most software system is in the need of a client, who
either wants to automate an existing manual system or desires a new software
System. Thus there are three major parties interested in a new system: the client
use and the developers. The basic purpose of software requirement specification
is to bridge communication gap between the software development process and
client problems.
I have done this analysis in order to make a prototype of what the new
system should look like. Since my main aim is to learn that how projects are
made and maintained, so this project of mine has gone through all stages of
software development process.
System Requirement
HARDWARE INTEL PENTIUM 500 MHZ
64 MB RAM
1.2G.B HARD DISK
OPERATING SYSTEM WINDOWS 98
SOFTWARE VB6.0, MS ACCESS
17
Performance requirement
The following characteristics are taken care of while developing the
system
User friendly: The system should be easy to learn and
understand .A naïve should be able to use the system effectively,
without any difficulty.
User satisfaction: The system is such that it stands up to the user s
expectation.
Response time: The response time for an operation should be
much less as it can be. This has to be taken care of while
programming.
Safety and Robustness: The project should be able to avoid or
tackle disastrous action .The system should safeguard against
undesired events without human intervention.
Acceptance criteria
The following acceptance criteria were established for evaluation of the new
system:
1. The system developed should be accurate and hence reliable that is
the error rate should be minimized and the output should be accurate
and consistence.
2. The-developed software should provide all functions. Further, the
execution time should be very low and response time should be good.
18
3 .It should satisfy the criteria specified in the functional and performance
requirement.
4-. The system should have a scope of future modification and
enhancement that is; it should be able to cope with the business
changes.
5-. The system must satisfy the standards of good software that are:
User friendly, modularity, maintainability, timeliness.
Exception handling
To ensure that the system does not halt in case of undesired situation
or event, the exceptional conditional should be taken care by providing
the corresponding exception responses while developing the system .All
the error handling and validation are to be provided with the system.
Some of them are: displaying proper data types of value should be
checked while entering them in databases or display error message
otherwise, exception handling which are raised if the connections made
are not proper from application to the databases etc.
Problem handling
This project aims at providing user-friendly software, which will automate
the working of a bank. The proposed aim is to provide the following:
1. Providing the user with an integrated package so that working can be
coordinated.
19
2. To remove data redundancy and gain consistency.
3.To provide a vision RDBMS on each of the user’s desktop and a
system which could be integrated with the corporate databases of the
main network.
4.Providing methods of auditing the system
5.To prepare all the reports required and allowing the user to solve some
of the queries he might have.
6.To provide user-friendly environment.
7.To develop a system such that it stands to the user expectation.
20
DATABASE DESIGN
Database is a collection of records .In this project I have used MICROSOFT ACCESS 97 .In Microsoft Access I have used a database and nine tables.
Following are the design of the table, which I used in project
NAME OF THE DATA BASE: CHAN
NUMBER OF THE TABLE: NINE
NAME OF THE TABLE USED: 1. BLLINGDETAIL
2. CHKINROOMS
3. CHKOUTROOMS
4. CUSTOMERDETAILS
5. CUSTOMERREPORT
6. EMPLOYEEDETAIL
7. FACILITIES
8. FOOD
9. ROOM
21
TABLE DESIGN
TABLE: 1 (BILLINGDETAILS)
Booking No Item Cost
4 Facilities 4250
4 Food 790
5 Facilities 1450
5 Food 525
4 Food 600
6 Facilities 6250
6 Food 945
7 Facilities 6250
7 Food 795
5 Food 180
6 Food 600
8 Facilities 300
TABLE: 2 (CHKIN DETAILS)
Booking No
Customer Code Room No Advance
4 4 1 1000
8 5 21 23
5 8 2 2000
6 9 3 500
7 10 6 1000
22
TABLE: 3 (CHKOUTDETAILS)
Booking No Room No Days ChkOut
4 1 4 10/25/2002
5 2 5 10/22/2002
5 2 5 10/22/2002
6 3 2 10/15/2002
7 6 5 11/6/2002
4 1 -6 10/15/2002
6 3 392 11/9/2003
6 3 0 10/13/2002
6 3 394 11/11/2003
23
TABLE:4 (CUSTOMERDETAIL)
customerCode
customername
address1 address2 address3 phone1 phone2 mobile Fax email city State country Pin roomtypeCheckI
n
4 Ranjul Bhatia Bhavan
4666666 9811111111
m
Dadri U.P. India Single Room
10/21/2002
5 Priya Bhatia Bhavan
4665555 9810000007
Dadri UP India Single Room
10/21/2002
6 Arvind A-192,Beta 1st
4665095 9811536945
Greater Noida
UP India Double Room
10/21/2002
7 Rahul RajNagar 4665577 Ghaziabad
UP India Double Room
10/21/2002
8 Deepak Rajnagar 57655875
687689 988766544 Ghaziabad
U.P India Single Room
10/17/2002
9 Amatus Kandala 3483948 981111100000
Meerut U.P India 201020
Single Room
10/13/2002
10 Mr & Mrs Neena
Haziganz 727182 981172172 Patna Bihar India Double Room
11/1/2002
24
TABLE:5 (CUSTOMER REPORTS)
sno customername roomtype roomno checkindate checkoutdate amount BookingNo
4 Ranjul Single Room 1 10/21/2002 10/25/2002 9040 4
5 Amatus Single Room 3 10/13/2002 10/15/2002 11195 6
6 Deepak Single Room 2 10/17/2002 10/22/2002 6975 5
7 Mr & Mrs Neena Double Room 6 11/1/2002 11/6/2002 27045 7
TABLE:6 (EMPLOYEEDETAILS)
EmployeeCode
EmployeeName
Address1Address
2Address3 Pin City State Country Phone1 Phone2 Fax Mobile Email Designation
3 Shweta Nehru Nagar Ghaziabad UP India 4722120 9811111190 Middle Mgmt
4 Priyanka Bandra West Mumbai Maharashtra India 9820585858 [email protected]
Maneagr
5 Arvind Singh
E-157,Anupam Apartment Saket New Delhi India 6805322 9811536945 Director
6 Ranjul 23,Vista Centre ,Salisbury Road
London London UK 4544444 9811111111 Chair Person
25
TABLE:7 (FACILITIES)
description Cost
POOL 50
Swimming Pool 500
Car Rentals 1000
Laundry Services 200
Beach Club 400
Bike Rental 500
Transfers to and from the Airport 500
Billiards 100
Disco 1000
BAR 2000
Laundry 3500
swimming 546
sigle 32
2 2
TABLE:8 (FOOD)
foodtype fooditem Cost
BreakFast Tea 10
Snacks Soft Drinks 20
Snacks Pizza 300
Lunch Dal Makhani 100
Lunch Sahi Paneer 100
Lunch Mix Veg. 100
Lunch Rice 50
Lunch Butter Nan 15
Dinner matart-paneer 100
Dinner chana-masala 80
Dinner Tandoori 15
Dinner Butter Nan 15
Dinner Chilly Chicken 120
Dinner Fried Rice 60
Dinner Plain Rice 50
Lunch Manchurian 80
Lunch Chilly Chicken 120
Lunch 7867 56
Breakfast 78 8
TABLE:9 (ROOM)
roomno roomtype cost Status
1 Single Room 1000 Vacant
2 Single Room 1000 Vacant
3 Single Room 2000 Vacant
5 Double Room 4000 Vacant
6 Double Room 4000 Vacant
7 Double Room 4000 Vacant
10 Double Room 4000 Vacant
12 Single Room 2000 Vacant
23 Single Room 2000 Vacant
21 Single Room 2000 Already Booked
15 Single Room 2000 Vacant
99 Double Room 4000 Vacant
98 Double Room 4000 Vacant
27
DFD
SYMBOLS USED IN DATA FLOW DIAGRAMS
The DFD was fast developed by larry constantine as a way if expressing system
requirements.
1. A Square defines a source or destination of system date.
2. An arrow identifies data flow data in motion. It is a pipeline through which
information flows.
3. An open rectangle is a data store data at rest.
4. An oval bubble represents a process that transforms incoming data flow to
outgoing data flow.
CONTEXT DIAGRAM
28
HotelManagement System
Visitor
Check in
Employee
Visitor Information
Generation of Slip
Employee Information
Monthly Status
LEVEL 1 DFD
29
Visitor
1.0
Reception
2.0
Room Status
3.0
Facilities
4.0
Food Facilities
5.0Check Out
6.0Generation of Slip
Check in
Alter Allocation
Bill
II ND LEVEL DFD
2.1
User’s decision
update Update
30
Visitor2.0
Room Status
Check in File
Customer Detail File
Update
Update
2.1
Single Room
2.2Double Room Room File
Room File
Visitor5.0
Check out
Check Out File
Room File
Update
Update
Customer Detail File
Billing Detail File
E-R DIAGRAM
31
Custmer details
Chkout process
Chkin procesS
Room assigned
Facilities availble
Food available
Facilities
food
room
Chk out
Chk in
Chko
ut data
chkdata
room
no
B noname r.type Gener
ating
bill
bills
adva
nce
b.no
c.code
Room.no
b.no
r.no
r.typer.no
costdescption
f.type
f.cost
f.item
cost
Items,facilties
Bill.no
cost
day
chkout
status
32