Airline Reservation System
Airline Reservation System
Airline Reservation System
ABSTRACT:
The aim of this software is to develop a systematic analysis of the procedure involved in the reservation of
ticket for railway travel. This should be used in an effective way so that various advantages are obtained from
the software. Software means establishment of sound and in-depth development of a task using high-level
language that results in well-equipped, economical software, which is reliable. The introduction may be divided
into various steps based on the developer and also depending upon the operation to be performed using the
particular software. The “AIRLINE RESERVATION SYSTEM” undertakes as a project I based on relevant
technologies. The main aim of this project is to develop the software for the process of reserving airway ticket
should lead to increased efficiency and reduced drawbacks which were present in the previous procedure of
airline reservation. The software should be, error controlled both logically as well as in syntactic manner. The
features deal with the different operations involved in the process of AIRLINE RESERVATION. Business
people don’t have any planned air travel. They just receive the invitation for some international exhibition at the
last minute, which they should or can attend to improve their ability both in the skilled manpower and also in
the machinery importing. Tickets can now be booked online. Some agents or the organization with the idea of
eyeing increased profit through the extra taxes for the comfort they give to buy the ticket just by a single click
of the mouse.
REQUIREMENT ANALYSIS
Requirements are prone to issues of the ambiguity, incompleteness and inconsistency techniques such as
rigorous inspection have been shown to help deal with these issues.Ambiguity, incompleteness and
inconsistencies that can be resolved in the requirement phase typically cost orders of the magnitude less to
correct than when these same issues are found in later stages of product development.The purpose of
developing the specified software is to describe the analysis involved in the reservation of air ticket.
FUNCTIONAL ANALYSIS
Input: Collecting the information of the person who is going to travel.
Output: The issue of ticket on the particular date specified by the traveler.
PROCESS
Ask the traveler to check in time so that he/she doesn’t miss the plan because of delay.
EXISTING SYSTEM
In the existing system there is no provision for senior citizen concession and there is no facility for viewing
single passenger record.
PROPOSED SYSTEM
The main implementation requirements for this project are
The client tier must not be changed, which means that the format of all the communication messages
have to be preserved.
All the technical documentation formats are also fixed and have to be followed.
DESIGN CONCEPT
The algorithm is developed as flow chart and the data flow diagrams, to describe the step-wise procedure of the
application. The basic requirements, which are got from the customer, should all be covered in this algorithm
developed. Most components described in the system architecture section will require a more detailed
discussion. Other lower-level components may need to be described as well. The kind of component, such as a
subsystem like delete, insert, module like student detail, class like library, package, function, file etc.The
specific purpose and semantic meaning of the component describe this. This may need to refer back to the
requirement specification.
REPORT MODULE
The tickets issued should have the details such as plane number, ticket number, seat number, traveler’s name,
time of departure. The traveler should be informed about the check-in time.The names of the fields involved in
the airline reservation system are
FLIGHT DETAILS
CHECK AVAILABILITY
BOOK TICKET
EXIT
MODULE 5:EXIT
This module is used to exit from the reservation form.
ERD (Entity Relationship Diagram)
The object relationship pair can be graphically represented by a diagram called Entity Relationship
Diagram. It is mainly used in database applications but now it is more commonly used in data design. The
primary purpose of ERD is to represent the relationship between data objects.
The data flow diagram depicts the information flow and the transforms that are applied on the data as it
moves from input to output.
ENTITY RELATIONSHIP DIAGRAM
DATA FLOW DIAGRAM:
LEVEL 1
Passenger
Schedule info
Determin
e The Travel request Check
travel Schedul
form e
Flight
Details
Passenger
LEVEL 2
Flight availability
Request
Booking
Issue System
tickets
Request id request id
Confirm
Collat
tickets
e
Confirm
Seat information Confir
Booking
m
PROGRAM
#include<stdio.h>
#include<conio.h>
#include<dos.h>
void createrecord();
void openrecord();
void viewflight();
void checkflight();
void final();
FILE *fp;
int tno;
int fno;
char date[10],name[50],sex[5];
int age,amt,camt;
struct flight
{
int flno;
char fname[20],source[15],dest[15],stime[6],dtime[6];
int seats,cost;
}f[3];
void main()
{
int n;
clrscr();
fp=fopen("pass.txt","r");
while(fscanf(fp,"%d %d %s %s %s %d %d",&tno,&fno,date,name,sex,&age,&amt)!=EOF);
fclose(fp);
nf=0;
fp=fopen("air.txt","r");
while(fscanf(fp,"%d %s %s %s %s %s %d
%d",&f[nf].flno,f[nf].fname,f[nf].source,f[nf].dest,f[nf].stime,f[nf].dtime,&f[nf].cost,&f[nf].seats)!=EOF)
nf++;
fclose(fp);
if(tno!=NULL)
tic=tno+1;
else
tic=1000;
fclose(fp);
do
{
clrscr();
printf("\n\n\t\t VELS AIR SERVICES \n\n\n");
printf("\n\n\t MAIN MENU");
printf("\n\n\t\t 1. Book Ticket");
printf("\n\n\t\t 2. View single passenger record");
printf("\n\n\t\t 3. View Flight details");
printf("\n\n\t\t 4. Check availability");
printf("\n\n\t\t 5. Exit");
void createrecord()
{
char ch;
int flag=-1,i;
clrscr();
tno=tic;
fp=fopen("pass.txt","a");
printf("\n Ticket number: %d",tno);
printf("\n Enter Flight number: ");
scanf("%d",&fno);
for(i=0;i<nf;i++)
{
if(fno==f[i].flno)
flag=i;
}
}
}
if(flag==-1)
printf("\n No details found");
fclose(fp);
getch();
}
void viewflight()
{
int i;
clrscr();
printf("\n\n\t\t\t VELS AIRSERVICES\n");
printf("\nFl.No\tName\t\tSource\t\t\tDest\t Availseats Cost\n");
printf("------------------------------------------------------------------------------\n");
for(i=0;i<nf;i++)
{
printf("\n%d\t%11s %11s(%4s) \t%8s(%4s) %8d Rs.
%4d",f[i].flno,f[i].fname,f[i].source,f[i].stime,f[i].dest,f[i].dtime,f[i].seats,f[i].cost);
}
getch();
}
void checkflight()
{
int tf,flag=0,i;
clrscr();
printf("\n\n Enter the flight number: ");
scanf("%d",&tf);
for(i=0;i<nf;i++)
{
if(tf==f[i].flno)
{
printf("\n Flight Number: %d",f[i].flno);
printf("\n Flight Name : %s",f[i].fname);
printf("\n Source place : %s",f[i].source);
printf("\n\t @ %s",f[i].stime);
printf("\n Destination : %s",f[i].dest);
printf("\n\t @ %s",f[i].dtime);
printf("\n\n Seats currently available: %d",f[i].seats);
printf("\nCost per seat: Rs.%d.00",f[i].cost);
flag=1;
}
}
if(!flag)
printf("\n\n No Such flights available.\n\n\t Press any key to continue..");
getch();
}
void final()
{
int i;
FILE *t;
t=fopen("tem.txt","w");
for(i=0;i<nf;i++)
fprintf(t,"%d\t %s\t %s\t %s\t %s\t %s\t %d\t
%d\n",f[i].flno,f[i].fname,f[i].source,f[i].dest,f[i].stime,f[i].dtime,f[i].cost,f[i].seats);
fclose(t);
remove("fli.txt");
rename("tem.txt","fli.txt");
}
IMPLEMENTATION:
Implementation is the realization, application, or execution of a plan, idea, model, design,
specification, standard, algorithm, or policy.
The design must be translated in to a machine-readable form. The code generation step performs
this tasks .If design is performed in a detailed manner, code generation can be accomplished mechanistically.
TESTING ANALYSIS
BLACKBOX TESTING: The black box testing is used to demonstrate that the software functions are
operational. As the name suggests in black box testing it is tested whether the input is accepted properly and
output is correctly produced. The major focus o block box testing is on functions, operations, external
interfaces, external data and information.
WHITEBOX TESTING In white box testing the procedural details are closely examined. In this testing
the internals of software are tested to make sure that they operate according to specifications and designs. Thus
major focus of white box testing is on internal structures, logic paths, control flows, data flows, internal data
structures, conditions, loops, etc
SCREEN SHOTS
VIEW FLIGHT DETAIL
CHECK AVAILABILITY
BOOK TICKET
VIEW SINGLE PASSENGER RECORD
MAINTENANCE
In software engineering the software maintenance is the process of enhancing and optimizing deployed software
as well as remedying defects.
Software maintenance is one of the phases in the software development process and follows deployment of the
software into the field. The software maintenance phase involves changes to the software in order to correct
defects and deficiencies found during the field usage as well as the addition of new functionality to improve the
software usability and applicability.
CONCLUSION:
When looking for solid AIRLINE RESERVATION SYSTEM software, you want to find a
solution that gives you the easy way of booking ticket. Naturally, you first want to find the software that meets
your needs, both now and in the future. Engineering is based on designing different projects. Nowadays,” most
products and systems are becoming more complex in nature, and there is an increasing demand relative to new
technology applications at a time when our natural resources are dwindling” now that’s where engineering
jumps in. Business depending on natural resources is no longer in a safe position. Engineering and engineers are
not only useful for the technologies and machineries in the business world, but it is also constructive in different
components of business such as entertainment, telecommunication and etc