Sei sulla pagina 1di 12

PREFACE

This report is self-sufficient for the reader to understand the Hotel


Management System in which the administrator gives some inputs as
the requirements and the system provides the output according to the
requirement. It maintains the records and can also check the overall
status of the Hotel.

Throughout the project the focus has been on presenting information


and comments in an easy and intelligible manner. The project is very
useful for those who want to know about Hotel Management System.

This project is made using C++. Using various functions we can access
database and update the information of Hotel.
CONTENTS

1. Introduction

2. Software requirements specification

3. Description

4. Data flow diagram

5. Test cases

6. Source code

7 Bibliography
SOFTWARE REQUIREMENTS SPECIFICATION

Introduction

Purpose

The purpose of this document is to describe the requirements for


implementing and using the Hotel Management system.

Scope

The document is meant to be used by the developers to guide them


through the development and for the users to verify their
requirements.

Overview

The developers are responsible for the development of the database


system for the maintenance, updating and to provide required
information of the user so that he can use the product effectively.

General Description

Product Prospective

The product is independent of the other products and is only


dependent on C++ to provide all the functionality.

Product Functions

The system makes available all the details regarding the different
types of rooms and their availability status, charges, customer records,
etc…..

External Interface Requirements


• Interface is neatly and consistently designed.
• Meaningful push buttons and menus are to be provided for easy
usage.
• Easy navigation facility between pages is necessary.
• Appropriate messages are to be displayed in case of errors or
exceptions.

System Requirements

Hardware Requirements

The editor is optimized to run on any hardware configuration. All it


needs is

• A system with color monitor.


• PENTIUM IV Processor.
• Minimum Ram of 128.0 MB

Software Requirements

The editor can be installed and run in any system, which provides

• PLATFORM Windows 2000.


• Turbo C++
Acceptance Criteria

The developer will need to demonstrate the effective working of the


system with sample data. Updates to the records should be supported
in a consistent way. Check validity of inputs by the user and give
appropriate messages when necessary. The following features must be
satisfied.

• A room already reserved cannot be allotted to another.


• For check in, a person needs to give some advance.
• Critical data like password, customer record, check in & check out
information etc should not be left blank.

The system should support easy and consistent way for populating and
removing data from the database and for showing the output
accordingly.

PROJECT DESCRIPTION

The primary goal of the project “Hotel management System” is to


enable the booking, cancellation of rooms, generating bill reports &
providing information. The administrator is responsible for room
management, for managing customer records. The output/result will be
given as specified.

There are different phases of the project:

• Preliminary assessment
• Feasibility study
• Analysis
• Design
• Implementation & testing
• Maintenance
• Review and evaluation

DATA FLOW DIAGRAM

DFD is a graphical representation that depicts the information that are


applied as data moves from input to output. It can be used to represent
a software at any level of abstraction. It provides mechanism for
functional modeling as well as information flow modeling.
Check in

USER

Check out

Hotel

Customer
Management
record
System
Room Record

Edit information

Report
Generation
BIBLIOGRAPHY

• www.google.com
• introduction to C++,Sumita Arora
TEST CASES

TEST FIELD INPUT EXPECTED


CASE NAME OUTPUT
1. Password hms Accepted

2. Password pps ERROR: It should


be hms only.

Module 1 : CHECK IN

TEST FIELD INPUT EXPECTED


CASE NAME OUTPUT
1. Room No. 6 Accepted (room
is vacant & in
database)
2. Room No. 1 ERROR : Room
not found or not
vacant)
3. No of Guests 5 ERROR : should
be <= 4

4. No of Guests 4 Accepted

5. Phone no. 98987 ERROR : should


be of 7 digits
6. Phone No. 9898989 Accepted

7. Phone No 99988877 ERROR : should


be of 7 digits

MODULE 2 : CHECK OUT

1. Room No. 1 ERROR : room no.


not found or is
vacant)
3. Room No. 6 Accepted

MODULE 3: EDIT
For Exit
1. Exit 0 Accepted

. Room No. 1 ERROR : room no.


not found or is
vacant)
Room No. 6 Accepted

1. Add Room Record sa ERROR : code


should be ss, sr, dr,
(code)
ds
2. Add Room Record Ss/ds Accepted

(code)
3. Room no. 6 ERROR : room
already exists
3. Status v/o Accepted (v= vacant
& o= occupied)
4. Status p ERROR: should be
v/o

Potrebbero piacerti anche