Beruflich Dokumente
Kultur Dokumente
ANALYSIS
SUBMITTED BY
XO-313 IBRAHIM BADUSHA
2019
Department of Computer Science
ACHARYA NARENDRA DEV COLLEGE
ACKNOWLEDGEMENT
1
ACHARYA NARENDRA DEV COLLEGE
(University of Delhi)
CERTIFICATE
It is certified that all these Final year, Computer Science students of
Acharya Narendra Dev College have completed their project “HOTEL MAN-
AGEMENT SYSTEM” successfully on time. I found them sincere hardwork-
ing. Their performance during this project development period is excellent
I wish all of them successful carriers.
Supervisor Principal
DR. PREETI MARWAHA DR. RAVI TUTEJA
Contents
1 PROBLEM STATEMENT 5
2 PROCESS MODEL 6
2.1 WaterFall Model . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 SCHEDULING 14
5 DESIGN 15
5.1 Architectural Design . . . . . . . . . . . . . . . . . . . . . . . 15
5.1.1 Level 0 DFD . . . . . . . . . . . . . . . . . . . . . . . 15
5.1.2 Level 1 DFD . . . . . . . . . . . . . . . . . . . . . . . 16
5.1.3 Level 2 DFD . . . . . . . . . . . . . . . . . . . . . . . 17
5.2 Component Level Design . . . . . . . . . . . . . . . . . . . . . 18
3
5.3 Pseudocode for Email queries . . . . . . . . . . . . . . . . . . 18
5.3.1 Input: . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.3.2 Pseudo Code for mailing queries: . . . . . . . . . . . . 18
5.3.3 Output . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.4 Data Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6 CODING 20
6.1 Code Snippet 1 (write name instead of Snippet 1) . . . . . . . 20
6.2 Code Snippet 2 (write name instead of Snippet 1) . . . . . . . 21
7 TESTING 22
7.1 Testing Approaches . . . . . . . . . . . . . . . . . . . . . . . . 22
7.2 TESTING STRATEGIES . . . . . . . . . . . . . . . . . . . . 24
7.2.1 UNIT TESTING . . . . . . . . . . . . . . . . . . . . . 24
7.2.2 Independent Paths . . . . . . . . . . . . . . . . . . . . 24
7.2.3 Computing Cyclomatic Complexity . . . . . . . . . . . 24
7.3 Test Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 1
PROBLEM STATEMENT
5
Chapter 2
PROCESS MODEL
6
Chapter 3
SOFTWARE REQUIREMENT
SPECIFICATION
3.1 PURPOSE
The Software Requirements Specification (SRS) will provide a detailed de-
scription of the requirements for the Hotel Management System (HMS). This
SRS will allow for a complete understanding of what is to be expected of the
HMS to be constructed. The clear understanding of the HMS and its’ func-
tionality will allow for the correct software to be developed for the end user
and will be used for the development of the future stages of the project. This
SRS will provide the foundation for the project. From this SRS, the HMS
can be designed, constructed, and finally tested.
This SRS will be used by our team constructing the HMS and the hotel
end users. Team will use the SRS to fully understand the expectations of
this HMS to construct the appropriate software. The hotel end users will be
able to use this SRS as a “test” to see if the team will be constructing the
system to their expectations. If it is not to their expectations the end users
can specify how it is not to their liking and the team will change the SRS to
fit the end users’ needs.
7
3.2 SCOPE
The software product to be produced is a Hotel Management System which
will automate the major hotel operations. The first subsystem is a Reserva-
tion and Booking System to keep track of reservations and room availability.
The Second subsystem is a General Management Services and Automated
Tasks System which generates reports to audit all hotel operations and allows
modification of subsystem information. The system will be able to handle
many services to take care of all customers in a quick manner. The system
should be user appropriate, easy to use, provide easy recovery of errors and
have an overall end user high subjective satisfaction.
8
2. The other major requirement is interface. Interface enables the user
to make interactions and usage about the system. The system must
present an easy Graphical user interface because most of the users
usually are unaware with the use of such systems and complicating
them will restrict their usage in proper way this on one hand creates
problem for the hotel management and on the other hand is a problem
for the developer. The major strongholds kept in this regard are:
3.4 BENEFITS
The system will have many benefits over the paper data used previously in
the world or some ordinary systems available around. A few of its important
benefits are listed below:
2. Security is ensured with the use of passwords on the admin side. Keep-
ing every employ restricted to his own domain so that interruption is
never heard around.
9
3.5 User Interface
The overall system includes the Software and the relevant hardware to deal
in the software. The System mainly requires the databases which are on the
software side and the hardware is general one.
10
validation will include checks for missing information in the required fields
and other text fields like address, birthdate etc. will be checked for validity.
The server side validation will involve checking if the username entered is
already used by a member in the database. The appropriate error messages
are displayed if the input is not acceptable Outputs: New member is directed
to the main page on successful registration.
2. Once the billing for the ROOM is done an archive file for each is main-
tained for each and the reservation list is emptied for the name.
11
3. The Billings list for past and due billings can be checked from the
ACCOUNTS department. The hotel manages the billing information
inside the class with its separate database.
12
3.7 Non Functional Requirement
1. The website should be speedy and it must fulfill its required operations
very fast.
3. Most importantly the website must give the outputs correct. I.e. the
functions must work properly and all the related outputs should be
correct and in-time.
5. Error and pop-up commands should inform the user about the statistics
of some function being performed.
13
Chapter 4
SCHEDULING
14
Chapter 5
DESIGN
15
5.1.2 Level 1 DFD
16
5.1.3 Level 2 DFD
if required
17
5.2 Component Level Design
Component level design establishes the algorithmic detail required to manip-
ulate data structures, effect communication between software components via
their interfaces, and implement the processing algorithms allocated to each
component. Component level design, also called procedural design, occurs
after data, architectural, and interface designs have been established. The
intent is to translate the design model in to operational software. But the
level of abstraction of the existing design model is relatively high, and the
abstraction level of the operational program is low.
There will be multiple structure charts, based on code flow you need to
implement. Select the FR you are implementing and write it’s structure
chart(s)
5.3.3 Output
: email sent status- Success or Failure
18
5.4 Data Design
Data design translates the data objects defined in the analysis model in to
data structures that reside within the software. The attributes that de-
scribe the object, the relationship between data objects and their use within
the program all influence the choice of data structures. At a higher level
of abstraction, data design may lead to the definition of architecture for a
database.
a
a= b
a
a= (5.1)
b
19
Chapter 6
CODING
content: insert code snippets screenshots of major input and output flows
20
6.2 Code Snippet 2 (write name instead of
Snippet 1)
content
21
Chapter 7
TESTING
22
• Black Box Testing Black – box testing focuses on the functional re-
quirements of the software i.e. it enables the software engineer to derive
sets of input conditions that will fully exercise all functional require-
ments for a program. It is also called behavioral testing. Black–box
testing attempts to find errors in the following categories:- Incorrect or
missing functions Interface errors Initialization and termination errors.
23
7.2 TESTING STRATEGIES
Designing effective test cases is important but so is the strategy we use to
execute them. There are a number of testing strategies, which have the fol-
lowing generic characteristics: - Testing begins at the component level and
works “outward” toward the integration of the entire computer–based sys-
tem. Different testing techniques are approximate at different points in time.
Testing is conducted by the developer of the software and (for large projects)
an independent test group. Testing and debugging are different activities,
but debugging must be accommodated in any testing strategy. The software
engineering process may be viewed as a spiral. Initially, system engineer-
ing defines the role of software and leads to software requirement analysis
where the information domain, function, behavior, performance, constraints
and validation criteria for software are established. Moving inward along the
spiral, we come to the design and finally to coding. There are a number of
testing strategies, which are given below: -
24
7.2.3 VALIDATION TESTING
Next step is the validation testing where requirements established as part
of software requirements analysis are validated against the software that has
been constructed. At the culmination of integration testing, software is com-
pletely assembled as a package, interfacing errors has been uncovered and
corrected, and a final series of software tests i.e. validation testing begins.
25