Professional Documents
Culture Documents
PROJECT ON
AIRLINE RESERVATION
SYSTEM
1
Airline Reservation System
Project on
AIRLINE RESERVATION SYSTEM
ACKNOWLEDGEMENT
2
Airline Reservation System
I would like to take this opportunity to express my gratitude towards all the people who have in
various ways, helped in the successful completion of my project.
I must convey my gratitude to Mr. Sandeep Srivastava for giving me the constant source of
inspiration and help in preparing the project, personally correcting my work and providing
encouragement throughout the project.
3
Airline Reservation System
.
INDEX
Page NO.
1.) INTRODUCTION 5
a) PURPOSE 5
b) SCOPE 5
c) DEFINITION 5
d) REFERENCE 7
e) OVERVIEW 7
b) FUNCTIONAL REQUIREMENTS 11
c) PERFORMANCE REQUIREMENTS 15
d) DESIGN CONSTRAINTS 15
e) ATTRIBUTES 16
c) E-R DIAGRAM 39
d) DATA FLOW DIAGRAM 43
4
Airline Reservation System
1. INTRODUCTION :
1.1) PURPOSE
The main purpose of this software is to reduce the manual errors involved in the airline
reservation process and make it convenient for the customers to book the flights as when they
require such that they can utilize this software to make reservations, modify reservations or
cancel a particular reservation.
1.2) SCOPE
PROBLEM DEFINITION
The definition of our problem lies in manual system and a fully automated system.
Manual system :
The system is very time consuming and lazy. This system is more prone to errors and
sometimes the approach to various problems is unstructured.
5
Airline Reservation System
Technical system :
With the advent of latest technology if we do not update our system then our
business result in losses gradually with time. The technical systems contains the tools of
latest trend i.e. computers printers, fax, Internet etc. The systems with this technology are
very fast, accurate, user-friendly and reliable.
TECHNICAL SYSTEM
6
Airline Reservation System
2) Accuracy
3) Reliability
4) Informative
5) Reservations and cancellations from anywhere to any place
AIRLINES SYSTEM
RESERVATION CANCELLATION
UPDATION
1.4) REFERENCES
The books and materials referred during the pre-development stages of the project
include
1. Software Engineering-A Practitioner’s Approach
By Roger S. Pressman
2. Software Engineering-By James Peters
1.5) OVERVIEW
The rest of the document deals about all the main features of this software each will
its purpose and its main functions. It also gives details about the interface with other products
and related functionality of each product.
7
Airline Reservation System
2. OVERALL DESCRIPTION
2.1) PRODUCT PERSPECTIVE :-
I. System Interfaces
The client systems should be able to share the data available in the data base through
the network connection.
V. Communication Interfaces
There is an LAN used for communication among the different client systems to be
used.
VII. Operation
The users can first make a reservation in a particular flight for a particular date and
time. The system provides the customer with a pin code which gives him access to either
make any changes in his reservation or cancel a reservation. These must also be back up
of data to enable any easy recovery from any features.
The “ARS” software is an independent and self-contained product and no modification are
required to adapt to a particular installation.
8
Airline Reservation System
2.4) CONSTRAINTS :-
Regulatory policies: It is a mandatory that no text book must be left empty or contains
insufficient data.
Hardware limitations: There must be a 64 MB on board memory
Control functions: The software must be very user-friendly and display appropriate error
messages.
Interfaces to other applications: Not applicable.
Parallel operations: It must support many users simultaneously.
Reliability requirements: Data redundancy and use of special/blank characters must be
avoided.
Safety/security considerations: The application must be exited always normally.
Higher order language requirements: C++
It is assumed that the details of the cost of ticket are already known to the customer.
Future changes like providing different types of flights with different classes like business class,
economic class will allow the customers to benefit from one facility.
9
Airline Reservation System
3. SPECIFIC REQUIREMENTS
I. User Interfaces
The interface must be easy to understand. The user interface includes
SCREEN FORMATS/ORGANIZATION: The introductory screen will be the first to be
displayed which will allow the users to choose either of the two options, viewing flight
detail or booking a ticket.
WINDOW FORMAT/ORGANIZATION: When the user chooses some other option,
then the information pertaining to that choice will be displayed in a new window which
ensures multiple windows to be visible on the screen and the users can switch between
them.
DATA FORMAT: The data entered by the users will be alpha numeric.
ERROR MESSAGES: When there are some exceptions raising error like entering invalid
details, then error messages will be displayed prompting the users to re-enter the details.
10
Airline Reservation System
Every client system connected through LAN establishes a communication only with the server
and not with any client system. An LAN of 10 Mbps is used.
I. FEATURE 1
The ability of the software is to provide the details of the flights available and allow the
customers to choose a particular destination and make a reservation
A. PURPOSE
The purpose of this is to enable the users to view the different flights available so as to
make it convenient for him to make a reservation.
B. STIMULUS/RESPONSE
Once the user chooses the particular option, the web pages corresponding to that are to
be displayed on the screen i.e., it will display the different flights available to their
respective destinations and allow the customer to book a ticket.
(i). INTRODUCTION
The user must be provided with the required information within 10 seconds.
(ii). INPUTS
11
Airline Reservation System
The user must enter the destination with date and timings and must make
reservation by giving his personal details like name, address, age, gender,
nationality.
(iii). PROCESSING
II. FEATURE 2
The software allows the user to modify an already existing reservation made by
the customer if in case there are any changes that are to be modified in the reservations of
the ticket.
A. PURPOSE
The purpose is to allow the customer to make any changes in his personal details
or flight booking details.
B. STIMULUS/RESPONSE
Once the user requests for changing his reservation, it must be displayed on the
screen prompting the customer to enter his pin code.
(i). INTRODUCTION
The system will allow the customer to modify his reservation provided
correct pin code has been entered by him.
(ii). INPUT
The user should enter his pin code which gives him access to modify his
reservation.
(iii). PROCESSING
12
Airline Reservation System
The pin code is processed and checked for his validity. If it is correct
then the user can modify his reservation else an error message will be displayed
asking the user to enter the correct pin code number.
(iv). OUTPUT
Given the correct pin code, the user can now modify his reservation. A
new pin code will be generated for the customers.
III. FEATURE 3
A. PURPOSE
The purpose is to allow the customer to cancel his reservation if not required.
B. STIMULUS/RESPONSE
Once the user requests for canceling his reservation, it must be
displayed on the screen prompting the customer to enter his pin code.
(i). INTRODUCTION: The system will allow the customer to cancel his
reservation provided correct pin code has been entered by the customer.
(ii). INPUT: The user should enter his pin code which gives him access to
cancel his reservation.
(iii). PROCESSING: The pin code is processed and checked for its validity. If
it is correct, then the user can cancel his reservation else an error message will be
displayed asking the user to enter the correct pin code number.
(iv). OUTPUT: Given the correct pin code, the user can now cancel his
reservation.
IV. FEATURE 4
13
Airline Reservation System
The software must also give a report on the number of reservations made for
a particular flight.
A. PURPOSE
The purpose is to enable the administrator to view the number of people in a
particular flight.
B. STIMULUS/RESPONSE
Once the user requests for this option, all the details of the customers who
have made reservation will be displayed.
(i). INTRODUCTION :
The system will allow the administrator to view all the details of
the customer who have made reservations.
(ii). INPUT :
The administrator must enter the password so that access is given
only to him to view the details of all the customers.
(iii). PROCESSING:
The password is processed and checked for its validity. If it is not
correct, then the administrator is asked to enter the correct password.
(iv). OUTPUT:
Given the correct password, the administrator can view all the
details of customers with date and time of their bookings made.
Algorithm :
in this phase further i had designed algorithms for various technical sub problem a few
than are enclosed here with.
Reservation :
Step 1: a person comes to reserve a ticket.
Step 2: then he gives his full details
Step 3: in customer form those details were written.
14
Airline Reservation System
Step 4: then computer cheque the date what date the person reserved
Step 5: then system justify the specific flight id
Step 6: if customer want domestic or international flight then system check availability of
flight.
Cancellation :
when passenger come to reserved a ticket then system find out the flight details.
At any instant, a maximum of four nodes or users will be given access simultaneously.
Since the program handles multiple users, if more than one person attempts to same date
to the files stored in the data base, the program will lock the data file using a 2-phase
commit protocol to prevent simultaneous access.
15
Airline Reservation System
3.5) ATTRIBUTES
I. Reliability
The factors needed to establish the software expected reliability are
The user inputs should be valid and within the given range.
Normal termination of the program.
II. Availability
The factors guarantee the software’s availability includes proper termination and
correct input details. Also the resources used for the project development are Microsoft Certified
which speaks of its high quality standards.
III. Security
It must be ensured that access will be provided to the authorized persons through user ID
and password.
Network security will be provided by the use of firewalls.
Checks can be performed at regular intervals to ensure data integrity.
IV. Maintainability
The software will be developed by implementing the concept of modularity
which in turn reduces the complexity involved in maintaining it. The administrator should have a
sound technical knowledge about maintaining the software and further enhancements will be
undertaken by the developer.
V. Portability
The application is portable which ensures its adaptability for use on different
computer terminals with different operating systems and standards.
16
Airline Reservation System
The major objectives of systems analysis are to find answers for each business
process: What is being done, How is it being done, Who is doing it, When is he
doing it, Why is it being done and How can it be improved? It is more of a thinking
process and involves the creative skills of the System Analyst. It attempts to give
birth to a new efficient system that satisfies the current Needs of the user and has
scope for future growth within the organizational constraints. The
result of this process is a logical system design. Systems analysis is an iterative
process that continues until a preferred and acceptable solution emerges.
I. THE FEASIBILITY
The Feasibility study is an analysis of possible alternative solutions
to a problem and a recommendation on the best alternative. It can decide whether a process be
carried out by a new system more efficiently than the existing one.
The feasibility study should examine three main areas; - market issues, - technical and
organizational requirements, - financial overview. The results of this study are used to make a
decision whether to proceed with the project, or table it. If it indeed leads to a project being
approved, it will - before the real work of the proposed project starts - be used to ascertain the
likelihood of the project's success.
17
Airline Reservation System
18
Airline Reservation System
By the analyst:-
The proposed solution is completely practical.
The technology used is very much possessed in the current scenario.
The schedule is reasonable and the people concerned are capable from technical
point of view.
The technology can be easily applied to today’s scenario.
19
Airline Reservation System
can be judged to be economically feasible and the same goes for ours to as this system proves to
be utterly feasible in economic logic. To check the economic feasibility, cost benefit analysis is
done in which expected costs and benefits are evaluated. By economic analysis we evaluated the
effectiveness of the system proposed to us.
Cost/Benefit Analysis:-
Difficulties:-
Discovering and assessing benefits and costs; they were both be intangible,
hidden and hard to estimate, it's also hard to rank multi-criteria alternatives Examples of
particular benefits: cost reductions, error reductions, increased flexibility of operation,
improved operation, better (e.g., more accurate) and more timely information.
Conclusion:-
An entrepreneur accurately calculated the cost versus benefits before taking an
action. Time Based: Contrast to the manual system management generates any report just
by single click. Cost Based: No special investment is needed to manage the tool. No
specific training is required for employees to use the tool. Investment requires only once
at the time of installation. The software used in this project is freeware so the cost of
developing the tool is minimal.
20
Airline Reservation System
UML includes a set of graphical notation techniques to create visual models of software-
intensive systems.
Overview
The Unified Modeling Language (UML) is used to specify, visualize, modify, construct
and document the artifacts of an object-oriented software intensive system under development.
actors
business processes
(logical) components
activities
programming language statements
database schemas, and
reusable software components.
2. UML combines best techniques from data modeling (entity relationship diagrams),
business modeling (work flows), object modeling, and component modeling. It can be
used with all processes, throughout the software development life cycle, and across
different implementation technologies.[3] UML has synthesized the notations of the Booch
method, the Object-modeling technique (OMT) and Object-oriented software engineering
(OOSE) by fusing them into a single, common and widely usable modeling language.
UML aims to be a standard modeling language which can model concurrent and
distributed systems. UML is a de facto industry standard, and is evolving under the
auspices of the Object Management Group (OMG). OMG initially called for information
on object-oriented methodologies that might create a rigorous software modeling
language. Many industry leaders have responded in earnest to help create the UML
standard.
21
Airline Reservation System
Package Diagrams
Activity Diagrams
State-Transition Diagrams
Event Trace (Interaction) Diagrams
Sequence Diagrams
Collaboration Diagrams
Deployment Diagrams
Activity Diagram :
Activity diagrams represent the business and operational workflows of a system. An Activity
diagram is a dynamic diagram that shows the activity and the event that causes the object to be in
the particular state.
The easiest way to visualize an Activity diagram is to think of a flowchart of a code. The
flowchart is used to depict the business logic flow and the events that cause decisions and actions
in the code to take place. So, what is the importance of an Activity diagram, as opposed to a
State diagram? A State diagram shows the different states an object is in during the lifecycle of
its existence in the system, and the transitions in the states of the objects. These transitions depict
the activities causing these transitions, shown by arrows. An Activity diagram talks more about
these transitions and activities causing the changes in the object states.
Activity:
Represented by a rectangle with rounded (almost oval) edges.
Decisions:
22
Airline Reservation System
Swim Lanes :
Activity diagrams provide another ability, to clarify which actor performs which
activity.. If we wish to distinguish in an Activity diagram the activities carried out by individual
actors, vertical columns are first made, separated by thick vertical lines, termed "swim lanes,"
and name each of these columns with the name of the actor involved. Each of the activities
placed below the actor performing these activities and then shows how these activities are
connected.
23
Airline Reservation System
Concurrent Activities:
Some activities occur simultaneously or in parallel. Such activities are called
concurrent activities. For example, listening to the lecturer and looking at the blackboard is a
parallel activity. This is represented by a horizontal split (thick dark line) and the two concurrent
activities next to each other, and the horizontal line again to show the end of the parallel activity.
Final Activity:
The end of the Activity diagram is shown by a bull's eye symbol, also called as a
final activity.
24
Airline Reservation System
Receive Request
Get Capacity
(cap)
Get # Tickets
(tkt)
[#tkt>=cap] [#tkt<cap]
[ticket later]
25
Airline Reservation System
Sequence Diagram :
A Sequence diagram depicts the sequence of actions that occur in a system. The
invocation of methods in each object, and the order in which the invocation occurs is captured in
a Sequence diagram. This makes the Sequence diagram a very useful tool to easily represent the
dynamic behavior of a system.
A Sequence diagram is two-dimensional in nature. On the horizontal axis, it shows the life of the
object that it represents, while on the vertical axis, it shows the sequence of the creation or
invocation of these objects.
Because it uses class name and object name references, the Sequence diagram is very useful in
elaborating and detailing the dynamic design and the sequence and origin of invocation of
objects. Hence, the Sequence diagram is one of the most widely used dynamic diagrams in UML.
Message:
The interaction between different objects in a sequence diagram is represented as
messages. A message is denoted by a directed arrow. Depending on the type of message, the
notation differs. In a Sequence diagram, you can represent simple messages, special messages to
create or destroy objects, and message responses.
26
Airline Reservation System
Sequence diagram:
Customer System
1. Search Flight ( )
3. Book Flight ( )
Verify Details &write in file
4. Confirm Booking ( )
5. Ticket enquiry ()
7. Ticket cancellation ( )
Delete ticket details from file
8. Exit ( )
27
Airline Reservation System
Explanation:
Use Case diagrams identify the functionality provided by the system (use cases), the
users who interact with the system (actors), and the association between the users and the
functionality. Use Cases are used in the Analysis phase of software development to articulate the
high-level requirements of the system. They essentially are created to visualize the relationships
between actors and use cases. The primary goals of Use Case diagrams include:
The basic components of Use Case diagrams are the Actor, the Use Case, and the Association.
Actor
28
Airline Reservation System
UseCase
Association
Associations are used to link Actors with Use Cases, and indicate that an
Actor participates in the Use Case in some form. Associations are depicted by a line
connecting the Actor and the Use Case. An association can be labelled <<uses>> or
<<extends>>. Uses means that a particular use case explicitly incorporates the
behaviour of another use case at a specified level in that use case. Extends is used to
separate optional behaviour from mandatory behaviour.
29
Airline Reservation System
<<uses>>
Make Reservation
<<extends>>
Purchase Ticket
Customer
30
Airline Reservation System
line
Attrib-utes
Entity
An entity is an object or concept about which you want to store information.
Entity
Weak Entity
31
TEL_NO
Airline Reservation System
Entity
Key attribute
A key attribute is the unique, distinguishing characteristic of the entity. For example, an
employee's social security number might be the employee's key attribute.
Attribute
Multivalued attribute
A multivalued attribute can have more than one value. For example, an employee entity
can have multiple skill values.
Attribute
Derived attribute
Attribute
Relationships
Relationships illustrate how two entities share information in the database structure.First,
connect the two entities, then drop the relationship notation on the line.
Relationship
cardinality
Cardinality specifies how many instances of an entity relate to one instance of another
entity.
E-R DIAGRAM
32
Airline Reservation System
Airline
Reservation
System
Departure
Day
Departure
Time Security Guards
Arrival Time
Name
Arrival Day
Flight Passenger
Staff Address
Flight No.
Booking E-mail Id
Source has
Staff
National International
33
Airline Reservation System
Data Flow Diagrams are composed of the four basic symbols shown below.
34
Airline Reservation System
Reservation
Airline
Reservation
User System Display
Cancellation
Accept
Details
User Reservation
Reserve in the
file FILE
35
Airline Reservation System
Cancel in the
FILE
file
FILE
Display in
tabular form
36
Airline Reservation System
Advantages and disadvantages: The black box tester has no "bonds" with the code, and
a tester's perception is very simple: a code must have bugs. Using the principle, "Ask and
you shall receive," black box testers find bugs where programmers do not. But, on the
other hand, black box testing has been said to be "like a walk in a dark labyrinth without
a flashlight," because the tester doesn't know how the software being tested was actually
constructed. As a result, there are situations when (1) a tester writes many test cases to
check something that could have been tested by only one test case, and/or (2) some parts
of the back-end are not tested at all.
Therefore, black box testing has the advantage of "an unaffiliated opinion," on the one hand, and
the disadvantage of "blind exploring," on the other.
Using white-box testing software developer can derive test case that
37
Airline Reservation System
• Guarantee that all independent paths within a module have been exercised at least once.
• Exercise all logical decisions on their true and false side.
• Exercise all loops at their boundaries and within their operational bound.
• Exercise internal data structure to ensure their validity.
At every stage of project development I have tested the logics of the program by
supplying the invalid inputs and generating the respective error messages. All the loops and
conditional statements are tested to the boundary conditions and validated properly.
A moderator is often tasked to undertake this quality assurance test. Throughout the process, he
does not need to communicate anything to the end-user. Rather, he will only be documenting or
recording the reaction of the user towards the application. At the session's end, he interviews the
end-users and endorses their feedback to the software developer. This way, interface testing
improves the software's overall acceptance and the consumer's user experience. Factors like
functionality, performance speed, the time needed to use the program, the ease with which the
user remembers using the program, user satisfaction, and the rate of user errors are the usual
criteria that developers have for a well-designed user interface.
6. conclusion
38
Airline Reservation System
7. PROGRAM OUTPUT
39
Airline Reservation System
OUTPUT
--------------------------------------------------------------------------------
1:FLIGHTS
2:RESERVATION
3:DISPLAY
4:CANCELLATION
5:EXIT
40
Airline Reservation System
41
Airline Reservation System
42
Airline Reservation System
43
Airline Reservation System
44
Airline Reservation System
45
Airline Reservation System
46
Airline Reservation System
47
Airline Reservation System
48
Airline Reservation System
49
Airline Reservation System
50
Airline Reservation System
TEST CASES
51