airline system proj
TRANSCRIPT
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 1/70
Page 1
PROJECT ON
AIRLINE RESERVATION
SYSTEM
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 2/70
Page 2
A STUDY ON AIRLINES RESERVATION SYSTEMS
A project report submitted in partially fulfillment of the requirements for
the award of Degree of Bachelor of Science in Information Technology
Submitted by:
ILHAM HASAN BAYAZID
Reg. No. 540796168
Under the guidance and supervision of
Mr. A. Abdul Hameed, MBA., M.Phil.,
Assistant Professor
Submitted to
FACULTY OF INFORMATION TECHNOLOGY
SIKKIM MANIPAL UNIVERSITY
OF HEALTH, MEDICAL AND TECHNOLOGICAL SCIENCE
August – 2010
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 3/70
Page 3
Mr. A.Abdul Hameed, MBA., M.Phil.,
Assistant Professor
BONAFIDE CERTIFICATE
Certified that this project titled “Airlines Reservation System”
is the bonafide
work of ILHAM HASAN BAYAZID under my supervision. Certified further, that
to the best of my knowledge the work reported herein does not form part of
any other project report or dissertation on the basis of which a degree or
award was conferred on an earlier occasion on this or any other candidate.
Place: Jeddah
Date: Signature of the Guide
Forwarded by
Internal Examiner External Examiner
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 4/70
Page 4
DECLARATION
I hereby declare that the dissertation report entitled “AIRLINES
RESERVATION SYSTEM”. Submitted in partial fulfillment for the award of
Bachelor of Science in Information Technology to the SMU University, is a
record of independent research work carried out by me under the
guidance of (Mr. A. Abdul Hameed), I also declare that this dissertation
report is the result of my own effort and has not been submitted earlier
for the award of any other degree / diploma / associate ship and prize by
any other university.
ILHAM HASAN BAYAZID
Place: Jeddah
Date:
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 5/70
Page 5
ACKNOWLEDGEMENT
First and foremost I would like to thank God Almighty for His blessings
that have been showed upon me for the success of the project.
I express my sincere thanks with gratitude to my faculty Mr. A. Abdul
Hameed, for his able guidance, advice, valuable suggestion and support,
which he imparted to me in the completion of the project.
I am also thankful to, Centre Head of Sikkim Manipal University Learning
Centre – Jeddah Mr. Mohsen S. Bazaham. I would also like to thank the
respondents who rendered their help in responding to my interview
schedule.
Last but not the least I would like to thank my parents and friends for
their valuable support and help.
ILHAM HASAN BAYAZID
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 6/70
Page 6
SYNOPSIS
ANALYSIS:
System analysis is the term used to describe the process of collecting analyzing
facts in respect of existing operation of the situation, prevailing so that an effective
computerized system may be designed and implemented if proved feasible .
DESIGN:
System analysis also embraces system design, which is an activity concerned with
the design of a computerized application based on the facts disclosed during the
analysis stage. Both activities are carried out by the same person who is known as
System Analyst.
System design: up to the time of the systems proposal, analysts have concerned
themselves with the local design of the system.
TESTING:
There are two basic approaches to testing functional and structural. Functional
testing is also called Black Box Testing. In Black Box Testing the structure of the
program is not considered structural testing it is called white Bon testing.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 7/70
Page 7
CONTENT
INTRODUCTION
PROBLEM DEFINITION
TOOLS
FORNT END: VISUAL BASIC 6.0
BACK END: SQL
SYSTEM ANALYSIS AND SYSTEM DESIGN
BLOCK DIAGRAM
SYSTEM DESIGN
E-R DIAGRAM
DATA FLOW DIAGRAM
INPUT SCREEN
REPORTS
TABLES
CODING
TESTING
WHITE BOX TESTING
BLACK BOX TESTING
TESTING, VALIDATION AND DEBBUGING
IMPLEMENTATION
CONCLUSION
BIBLIOGRAPHY
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 8/70
Page 8
INTRODUCTION
The Airline Reservation System (ARS) was one of the earliest changes to improve
efficiency. ARS eventually evolved into Computer Reservation System (CRS). A CRS
is used for the reservations of a particular airline and interfaces with a Global
Distributed System (GDS) which supports travel agencies and other distribution
channels in making reservations for most major airlines in a single system.
Airline Reservations Systems contain airline schedules, fare tariffs, passenger
reservations and ticket records. An airline's direct distribution works within their
own reservation system, as well as pushing out information to the GDS. A second
type of direct distribution channels are consumers who use the internet or mobile
applications to make their own reservations. Travel agencies and other indirect
distribution channels access the same GDS as those accessed by the airlines'
reservation systems, and all messaging is transmitted by a standardized messaging
system that functions primarily on TTY messaging called SITA. Since airline
reservation systems are business critical applications, and their functionally quite
complex, the operation of an in-house airline reservation system is relatively
expensive.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 9/70
Page 9
PROBLEM DEFINITIONS
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.
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.
Technichal System
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 10/70
Page10
Need of Airlines system:
A few factors that direct us to develop a new system are given below -:
1) Faster System
2) Accuracy
3) Reliability
4) Informative
5) Reservations and cancellations from anywhere to any place
RESERVATION
AIRLINES
CANCELLATION
UPDATION
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 11/70
Page11
TOOLS
FRONT END: VISUAL BASIC 6.0
Visual Basic is an ideal window programming language for developing sophisticated
applications that has been developed at Microsoft Corporation. It makes use of
Graphical User Interface (GUI) for creating Robust and powerful applications and it
includes all the necessary extensions required to produce Windows program.
It is an object oriented event driven programming language.
It means all activities are dependent upon the objectives like Command button,Text box, Label and also dependent upon the events like Click, Change, Key pres,
Key down etc.
There are two types of events:
User events
The action or event which is taken or performed by the user
System events
The action or event which is taken or performed by the system
Visual basic applications are very popular as front end to many client server
database systems like SQL server, Oracle etc. the basic idea behind using visual
basic as front end it is easy to understand, easy to learn. The application we built in
visual basic is not limited to tools provided in the development environment
There are few external tools that can enrich the application. Microsoft visual basic
for windows comes in working model, a learning edition, a professional edition and
an enterprise edition.
The basic version learning edition is built primarily to creation to standalone
application and basic programming.
The professional edition provides developer with fullest of tools for developing
solution including ActiveX controls, the internet information, server application,
designer, integrated visual database tools and data environment.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 12/70
Page12
BACK END: SQL
SQL is both an easy to understand language and a comprehensive tool for
managing data. Here are some of the major features of SQL and the market forcesthat have made it successful.
Vendor independence
Portability across computer systems
SQL standards
IBM endorsement and commitment (DB2)
Microsoft commitment (SQL server, ODBC, and ADO)
Relational foundation
High – level English – like structures Interactive, and adhoc queries
Programmatic database access
Multiple views of data
Complete database language
Dynamic data definition
Client/Server architecture
Enterprise application support
Extensibility and object technology
Internet database access
Java integration (JDBC)
Industry infrastructure
These are the reasons why SQL has emerged as the standard tool for managing
data on personal computers, minicomputers, and main frames.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 13/70
Page13
SYSTEMANALYSIS
ANDDESIGN
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 14/70
Page14
SYSTEM ANALYSIS:
“System analysis is the term used to describe the process of collecting analyzing facts in
respect of existing operation of the situation, prevailing so that an effective computerized
system may be designed and implemented if proved feasible” .
“ System analysis can be viewed as the most recent and perhaps the most comprehensive
technique for solving computer problems” .
“ System analysis may be considered as an inter phase between the actual problem and the
computer: a kind of midwife to all computer applications. Before a computer can perform,
it is necessary to investigate and analyses the system. The individuals who perform the
systems investigation, as distinct from those involved in the detailed, computer
programming are called System Analyst.”
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 15/70
Page15
This was the most important phase of my project life cycle. It had connected my
maximum time. The block diagram given bellow depicts various facts which were
understood by one during the analysis phase.
BLOCKDIAGRAM
MAINTANANCE RECEIVE CUSTOMER REQUEST
Flight Booking,
Cancellation PASSENGER LIST
CONFIRMED LIST
DATA ACCESS
DATA STIRAGE
Ticket reservation Passenger list,
Cancellation, Fleet info
Request for enquiry concession
Flight information,
Fare detail
AIRLINE
RESERVATION
SYSTEM
DATABASE
BOOKING
DEPARTMENT
REPORTPASSENGER
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 16/70
Page16
In that phase initially I had observed the system by visiting the local airport
(domestic terminal) and a few airline reservation agencies.
The above block diagram is an implementation of this observation.
In the next phase I had various queries in my mind, which I tried to ask from
appropriate authorities. A sample of my quires is enclosed as Annex 1.
Q.1 Tick mark the features that have to be included in the new system?
Enquiry
Reservation
Cancellation
Report
Edit
Other specify
Q2. Tick mark that the system should be?
Multi-user
Single user
Q3. Tick marks the total time required for the implementation of the project?
3 months
6 months
9 months
Others specify
Q4. Tick mark the reports to be incorporated?
List of all passenger
List of all flights
List of passenger(date wise)
List of passenger(flight wise)
Any other
After getting solutions for my queries I started studying database structure used in
the existing system. In this connection I came to know about various master files
known as:
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 17/70
Page17
In passenger list:
Passenger name
Address
Telephone number
Date of birth
Profession
Father name
Fleet info:
No aircraft
Club pre-capacity
Economic capacity
Engine type
Cruise speed
Air length
Flight info:
Flight name
Flight code
Class code
Seat no
Economic seat number
Concession:
Concession name Concession code
Class
Discount
v_o_t
Baggage allowance
Fare
Mode of payment:
Passenger code
Date of payment Current date
Cash
Debit
Cheque
Credit
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 18/70
Page18
Fare:
Route
Destination place
Source place
Departure time
Arrival time
Flight code
Class
Fare
Reservation:
Ticket report
PNR
Flight code
Destination place Source place
Departure time
Arrival time
Class
Number of passenger
Age
Sex
Fare
Seat
Enquiry:
Ticket number
Seat number
PNR
Cancellation:
PNR
Ticket number
Days left
Basic amount Cancel amount
Various categories of flight code are displayed here CD455, IC548, IC7896, IC567,
CD445. Flight schedule - GAU to DEL 12.33 pm to 2.33 pm.
In this process I had further visited the airport again in order to INTERVIEW people
to know more about the system. The main purpose was to analyses the method of
calculating daily the income in reservation cost, generation methods, and few
other concerns like: Duty schedule.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 19/70
Page19
SYSTEM DESIGN:
“System analysis also embraces system design, which is an activity concerned with the design of a
computerized application based on the facts disclosed during the analysis stage. Both activities are
carried out by the same person who is known as System Analyst.
System design: up to the time of the systems proposal, analysts have concerned themselves with the
local design of the system.”
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 20/70
Page20
In this phase initially I had designed E-R diagrams of the processes, in order to
identify various entities and relationship set, entity set, attributers, link attributes.
After this step we tried to design the database for the new system and normalized
it. The tables motivated in data dictionaries enclosed as Annex II is an outcome of
this step.
The symbols of entities are shown below:
Line
Entity setRelationship set
Oval
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 21/70
Page21
E-R DIAGRAM FOR BOOKING DEPARTMENT
PASSENGER
PNR
NAME
D_O_B
TEL_NO FLIGHT NUM DATE OF DEP
ROUTE
ADDRESS
STATUS
WAITINGCONFIRMVALID?
BOOKING 2
(ON THE SPOT)
NAME
BOOKING 1
(ON THE SPOT)
MODE OF PAYMENT
CASH
PNR
FARE
CASH PAID
STATUS
CHEQUE
PAID
STATUS
FARE
PNR
BOOKING
DATE
PNR
STAND BY
DATE
DEBIT
STATUS
PNR
FARE
DNO
CREDIT
STATUS
FARECNO
PNR
NAMEPNR
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 22/70
Page22
LEVEL – 0 DATA FLOW DIAGRAM
REQUEST FOR INFORMATION
FLIGHT/FARE/DISCOUNT
BOOKING ENQUIRY
NEW PNR INFORMATION
RESERVATION REQUEST
TICKET CONFIRMATION & STATUS
CANCELLATION REQUEST
ACKNOWLEGMENT
1.0
GENERAL
ENQUIRY
2.0
PASSENGER
ENQUIRY
3.0
BOOKING
COUNTER
4.0
CANCELLATION
PASSENGER
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 23/70
Page23
LEVEL -1 DATA FLOW DIAGRAM OF GENERAL ENQUIRY
SYSTEM
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 24/70
Page24
LEVEL – 1 DATA FLOW DIAGRAM OF PASSENGER
ENQUIRY SECTION
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 25/70
Page25
LEVEL – 2 DATA FLOW DIAGRAM OF BOOKING
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 26/70
Page26
LEVEL – 2 DATA FLOW DIAGRAM OF CANCELLATION
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 27/70
Page27
FORMS
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 28/70
Page28
INPUT SCREENS
As a last step in design phase I had designed various Input and Output inter phase
screens. The sample format of this screens is enclosed in Annex III.
This is a picture of the Main Menu
In this picture there are three parts called; Master file, Ticket, Report.
When we click on Master File, it shows six forms called: Custodial, Concession,
Flight info, Fleet info, Fare and Payment.
When we click on one of these then the other form open.Now we open each file one by one.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 29/70
Page29
This is a form of Customer Detail
In this form we enter customer detail. When we enter a new name and click the add button
and then update, the files get automatically updated. This comes under Master File.
If we click on the button called ‘First’ it takes us back to the first record and similarly thebutton called ‘Last’ takes us to the last record.
If we click on the ‘Previous’ button it takes us to the previous record and if we click on the
‘Next’ button it takes us to the next record
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 30/70
Page30
This is a form of Concession
In this form there are several concession types which are give beow: -
1. Student 2. Senior citizen3. Cancer patient4. Blind passenger
5. Armed force6. Youth fare 7. Locomotor
When we click on any one of them, the relevant conditions are open
In this form when we click on the locomotor category it shows its conditions: -
code …………………...7
class …………………...ecnomic
discount ………….........50%
v_o_t ………………...…1 year
baggage allowance …..20kg fare basis ………………service concerned
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 31/70
Page31
This is a form of Flight Information
In this form we watch the flight information. It has several fields some of them are: -
Flight name
Flight code
Class code Class name
Total seat number
In this form we enter the flight detail. If we want to enter a new flight, we click the ‘add’
button and then update it. This comes under master file.
Here the button ‘First’ works to show the first record, the ‘Next’ button works to show the
next record and the ‘Previous’ button works to show the previous record.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 32/70
Page32
This is a form of Fleet Information
Fleet Information is a special type of form. In this form there are some fields included.
In fleet information there are basic types of flights:
737 – 400
737 – 500 Club pre capacity ………………………….00 737 – 700 Economic capacity ……………………….62
737 – 800 Engine type ………………………………….PW127F
737.900 Cruise speed …………………………………511km/hr
Air length …………………………………………………………….27.17N
Wing spam …………………………………………………………..27.0N
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 33/70
Page33
This is a form of Route Basis Fare
In this fare form there are various fields which are mentioned below:
Route
S_place
D_place Via
D_time
A_time
Stoppage
Flight_code
Class_code
Fare
When we enter a new fare and click the ‘Add’ button and then update, it gets
automatically updated. This comes under the Master File. In this form the ‘First’
button works to show the first record, the ‘Next’ button works to show the nextrecord and the ‘Previous’ button shows the previous record.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 34/70
Page34
This is a form of Reservation
This is a reservation form or ticket. The PNR numbers are generated automatically.
When we click at passenger ‘Age’ then fare is coming by the route based. When we
click the ‘Total’ button then the total fare is shown. When we click on the ‘Print’
command button then the ticket is printed. And when we click on the ‘Exit’ buttonthe form is closed.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 35/70
Page35
This is an Enquiry form
If anyone wants to confirm his seat reservation, then an enquiry form is opened. In the form
we need to fill the value of ticket and click on the ‘Confirm’ button. If it is confirmed then it
shows the value of all the concerning data. And if not confirmed then it shows ‘Not
confirmed’.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 36/70
Page36
This is a Cancellation form
When a person comes to cancel his ticket then, in the form we fill the passenger
code and click the ‘Show’ button. The system will show the value of data and the
amount to refund. Then by clicking on the ‘Cancel’ command the record is
automatically deleted.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 37/70
Page37
REPORT
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 38/70
Page38
CONCESSION REPORT
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 39/70
Page39
CUSTOMER DETAIL REPORT
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 40/70
Page40
FLEET INFORMATIO REPORT
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 41/70
Page41
REPORT OF ALL FLIGHTS
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 42/70
Page42
TABLES
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 43/70
Page43
CUST_DETAIL
FIELD TYPE TYPE DESCRIPTIONT_DATE TEXT TRAVEL DATE
Cust_NAME TEXT CUSTOMER’S NAME
FATHER_NAME TEXT CUSTOMER’S FATHERS
NAME
GENDER Text CUSTOMERS GENDER
D_O_B DATE / TIME DATE OF BIRTH OF
CUSTOMER
ADDRESS TEXT CUSTOMER’S ADDRESS
TEL_NO NUMBER TELEPHONE NUMBER OF
CUSTOMERPROFESSION TEXT PROFESSION OF CUSTOMER
SECURITY TEXT SECURITY OF CUSTOMER
CONCESSION TEXT CONCESSION OF SECURITY
FLIGHT INFORMATION
F_NAME TEXT FLIGHT NAME
F_CODE NUMBER FLIGHT CODE
C_CODE TEXT CLASS CODE
T_EXE SEAT NO NUMBER TOTAL EXECUTIVE SEAT
NUMBERT_ECO SEAT NO NUMBER TOTAL ECONOMIC SEAT
NUMBER
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 44/70
Page44
FLEET INFORMATION
FIELD NAME DATA TYPE DESCRIPTIONNO_AIRCRAFT TEXT NUMBER OF AIRCRAFT
CLUB_PRE_CAPACITY TEXT CLUB PRE CAPACITY
ECO CAPACITY TEXT ECONOMIC CAPACITY
ENGINE TYPE TEXT ENGINE TYPE
CRUISE SPEED TEXT CRUISE SPEED
AIR_LENGTH TEXT LENGTH OF AIR
WING SPAM TEXT WING SPAM
CONCESSION
CONCE_NAME TEXT CONCESSION NAME
CONCE_CODE NUMBER CODE OF CONCESSION
CLASS TEXT CLASS OF CONCESSOIN
DISCOUNT TEXT DISCOUNT CONCESSION
BASIS
V_O_T TEXT VALIDIY OF TICKET
BAG ALLOW TEXT BAGGAGE ALLOWANCE
FARE BASIC TEXT FARE BASIC FIXED
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 45/70
Page45
FARE
FIELD NAME DATA TYPE DESCRIPTIONROUTE_CODE TEXT CODE NUMBER OF ROUTE
S_PLACE TEXT SOURCE PLACE
VIA TEXT VIA
D_PLACE TEXT DESTINATION PLACE
D_TIME DATE / TIME DEPARTURE TIME
A_TIME DATE / TIME ARRIVAL TIME
F_CODE TEXT FLIGHT CODE
C_CODE TEXT CLASS CODE
FARE TEXT FARE OF CLASS
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 46/70
Page46
TICKET REPORT
TICKET NO NUMBER TICKET NUMBERPNR TEXT PASSENGER NUMBER
F_ID TEXT FLIGHT ID
S_PLACE TEXT SOURCE PLACE
D_PLACE TEXT DESTINATION PLACE
T_DATE TEXT TRAVEL DATE
D_TIME DATE / TIME DEPARTURE TIME
A_TIME DATE / TIME ARIVAL TIME
FARE 1 NUMBER FARE OF FIRST PASSENGER
FARE 2 NUMBER FARE OF SECOND
PASSENGERFARE 3 NUMBER FARE OF THIRD PASSENGER
FARE 4 NUMBER FARE OF FOURTH
PASSENGER
FARE 5 NUMBER FARE OF FIFTH PASSENGER
FARE 6 NUMBER FARE OF SIXTH PASSENGER
SEAT_NO 1 NUMBER SEAT NUMBER OF 1ST
PASSENGER
SEAT_NO 2 NUMBER SEAT NUMBER OF 2ND
PASSENGER
SEAT_NO 3 NUMBER SEAT NUMBER OF 3RD PASSENGER
SEAT_NO 4 NUMBER SEAT NUMBER OF 4TH
PASSENGER
SEAT_NO 5 NUMBER SEAT NUMBER OF 5TH
PASSENGER
SEAT_NO 6 NUMBER SEAT NUMBER OF 6TH
PASSENGER
AGE 1 NUMBER AGE OF 1ST
PASSENGER
AGE 2 NUMBER AGE OF 2ND
PASSENGER
AGE 3 NUMBER AGE OF 3RD PASSENGER
AGE 4 NUMBER AGE OF 4TH
PASSENGER
AGE 5 NUMBER AGE OF 5TH
PASSENGER
AGE 6 NUMBER AGE OF 6TH
PASSENGER
CLASS TEXT CLASS
PASSENGER NUMBER NUMBER OF PASSENGERS
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 47/70
Page47
ENQUIRY
T NO TEXT TICKET NUMBERF_NAME TEXT FLIGHT NAME
F CODE NUMBER FLIGHT CODE
C SEATNO NUMBER CLASS SEAT NUMBER
C FARE NUMBER CLASS FARE
CUST CODE NUMBER CUSTOMER CODE
T DATE TEXT TRAVEL DATE
T TIME DATE / TIME TRAVEL TIME
CANCELLATION
CUST CODE TEXT CUSTOMER CODE
CLASS TEXT CLASS
S NO NUMBER SEAT NUMBER
DAYS LEFT DATE / TIME DAYS LEFT
HOURS LEFT DATE / TIME HOURS LEFT
BASIC AMOUNT TEXT BASIC AMOUNT
CANCEL AMOUNT NUMBER CANCEL AMOUNT
RULES
DATE FROM DEP TEXT DATE FROM DEPARTURE
PERCENTAGE TEXT PERCENTAGE OF CANCEL
REFUND NUMBER REFUND AMOUNT
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 48/70
Page48
TERMS
AGE TEXT AGE OF PASSENGER
SEX TEXT SEX OF PASSENGER
FARE NUMBER FARE OF PASSENGER
RESERVED SEAT
F_CODE TEXT FLIGHT CODE
T_RES_ECO_SEAT NUMBER TOTAL RESERVED
ECONOMIC SEAT
T_RES_EXE_SEAT TEXT TOTAL RESERVED
EXECUTIVE SEAT
T_DATE TEXT TRAVEL DATEWAITING_NO NUMBER WAITING LIST
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 49/70
Page49
CODINGS
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 50/70
Page50
CODING FOR RESERVATION
Option Explicit
Dim adors As Recordset
Dim adors1 As Recordset
Dim ADORS2 As Recordset
Private Sub Combo1_Click()
If Val(Combo1.Text) = 1 Then
Text3(1).Visible = False
Text3(2).Visible = False
Text3(3).Visible = False
Text3(4).Visible = False
Text3(5).Visible = False
Text3(0).Visible = True
Combo3(1).Visible = False
Combo3(2).Visible = False
Combo3(3).Visible = False
Combo3(4).Visible = False
Combo3(5).Visible = False
Combo3(0).Visible = True
Text4(1).Visible = False
Text4(2).Visible = False
Text4(3).Visible = False
Text4(4).Visible = False
Text4(5).Visible = False
Text4(0).Visible = True
Text6(1).Visible = False
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 51/70
Page51
Text6(2).Visible = False
Text6(3).Visible = False
Text6(4).Visible = False
Text6(5).Visible = False
Text6(0).Visible = True
End If
If Val(Combo1.Text) = 2 Then
Text3(1).Visible = True
Text3(2).Visible = False
Text3(3).Visible = False
Text3(4).Visible = False
Text3(5).Visible = False
Text3(0).Visible = True
Combo3(1).Visible = True
Combo3(2).Visible = False
Combo3(3).Visible = False
Combo3(4).Visible = False
Combo3(5).Visible = False
Combo3(0).Visible = True
Text4(1).Visible = True
Text4(2).Visible = False
Text4(3).Visible = False
Text4(4).Visible = False
Text4(5).Visible = False
Text4(0).Visible = True
Text6(1).Visible = True
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 52/70
Page52
Text6(2).Visible = False
Text6(3).Visible = False
Text6(4).Visible = False
Text6(5).Visible = False
Text6(0).Visible = True
End If
If Val(Combo1.Text) = 3 Then
Text3(1).Visible = True
Text3(2).Visible = True
Text3(3).Visible = False
Text3(4).Visible = False
Text3(5).Visible = False
Text3(0).Visible = True
Combo3(1).Visible = True
Combo3(2).Visible = True
Combo3(3).Visible = False
Combo3(4).Visible = False
Combo3(5).Visible = False
Combo3(0).Visible = True
Text4(1).Visible = True
Text4(2).Visible = True
Text4(3).Visible = False
Text4(4).Visible = False
Text4(5).Visible = False
Text4(0).Visible = True
Text6(1).Visible = True
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 53/70
Page53
Text6(2).Visible = True
Text6(3).Visible = False
Text6(4).Visible = False
Text6(5).Visible = False
Text6(0).Visible = True
End If
If Val(Combo1.Text) = 4 Then
Text3(1).Visible = True
Text3(2).Visible = True
Text3(3).Visible = True
Text3(4).Visible = False
Text3(5).Visible = False
Text3(0).Visible = True
Combo3(1).Visible = True
Combo3(2).Visible = True
Combo3(3).Visible = True
Combo3(4).Visible = False
Combo3(5).Visible = False
Combo3(0).Visible = True
Text4(1).Visible = True
Text4(2).Visible = True
Text4(3).Visible = True
Text4(4).Visible = False
Text4(5).Visible = False
Text4(0).Visible = True
Text6(1).Visible = True
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 54/70
Page54
Text6(2).Visible = True
Text6(3).Visible = True
Text6(4).Visible = False
Text6(5).Visible = False
Text6(0).Visible = True
End If
If Val(Combo1.Text) = 5 Then
Text3(1).Visible = True
Text3(2).Visible = True
Text3(3).Visible = True
Text3(4).Visible = True
Text3(5).Visible = False
Text3(0).Visible = True
Combo3(1).Visible = True
Combo3(2).Visible = True
Combo3(3).Visible = True
Combo3(4).Visible = True
Combo3(5).Visible = False
Combo3(0).Visible = True
Text4(1).Visible = True
Text4(2).Visible = True
Text4(3).Visible = True
Text4(4).Visible = True
Text4(5).Visible = False
Text4(0).Visible = True
Text6(1).Visible = True
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 55/70
Page55
Text6(2).Visible = True
Text6(3).Visible = True
Text6(4).Visible = True
Text6(5).Visible = False
Text6(0).Visible = True
End If
If Val(Combo1.Text) = 6 Then
Text3(1).Visible = True
Text3(2).Visible = True
Text3(3).Visible = True
Text3(4).Visible = True
Text3(5).Visible = True
Text3(0).Visible = True
Combo3(1).Visible = True
Combo3(2).Visible = True
Combo3(3).Visible = True
Combo3(4).Visible = True
Combo3(5).Visible = True
Combo3(0).Visible = True
Text4(1).Visible = True
Text4(2).Visible = True
Text4(3).Visible = True
Text4(4).Visible = True
Text4(5).Visible = True
Text4(0).Visible = True
Text6(1).Visible = True
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 56/70
Page56
Text6(2).Visible = True
Text6(3).Visible = True
Text6(4).Visible = True
Text6(5).Visible = True
Text6(0).Visible = True
End If
End Sub
Private Sub Combo3_Click(Index As Integer)
Dim ADORS2 As ADODB.Recordset
Dim var2 As Integer
Dim var3 As Integer
Dim db As Connection
Set db = New Connection
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
Set ADORS2 = New ADODB.Recordset
Adodc1.RecordSource = "select * from fixed where f_code ='" &
RTrim(LTrim(DBCombo1.Text)) & "' and tdate = '" & RTrim(LTrim(Text8.Text)) & "'"
Adodc1.Refresh
ADORS2.Open "select * from fixed", db, adOpenStatic, adLockOptimistic
var2 = ADORS2.Fields!t_res_eco_seat
Text6(Index).Text = var2 + 1
End Sub
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 57/70
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 58/70
Page58
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
Set adors = New Recordset
Set adors1 = New Recordset
Set ADORS2 = New Recordset
adors1.Open "select max(TICKET_NO)from ticket_report", db, adOpenStatic,
adLockOptimistic
ADORS2.Open "select max(pnr) from ticket_report", db, adOpenStatic, adLockOptimistic
var1 = adors1.Fields(0)
var2 = ADORS2.Fields(0)
Text1(0) = var1 + 1
Text1(17) = var2 + 1
adors.Open "select * FROM FARE", db, adOpenStatic, adLockOptimistic
Set Text1(1).DataSource = adors
Set Text1(2).DataSource = adors
Set Text1(3).DataSource = adors
Set Text1(4).DataSource = adors
End Sub
Private Sub PRINT_Click()
Ticket_report.Print
End Sub
Private Sub save_Click()
adors.UpdateBatch adAffectAllChapters
End Sub
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 59/70
Page59
Text3_LostFocus(Index As Integer)
Dim temp As Double
If Val(Text3(Index).Text) > 60 Then
temp = (5 * Val(Text5.Text) / 100)
MsgBox (temp)
Text4(Index).Text = temp
Else
temp = Val(Text5.Text)
End If
Text4(Index).Text = temp
End Sub
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 60/70
Page60
CODING FOR CANCELLATION
Option Explicit
Dim adors As Recordset
Private Sub CANCEL_Click()
Dim SQL As String
Dim db As Connection
Set db = New Connection
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
SQL = "DELETE FROM TICKET_REPORT WHERE PNR='" & txtfields(0).Text & "'"
db.Execute SQL
End Sub
Private Sub Command3_Click()
Unload Me
End Sub
Private Sub Form_Load()
Dim db As Connection
Set db = New Connection
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
Set adors = New Recordset
adors.Open "select
CUST_CODE,CLASS,SEAT_NO,DAYS_LEFT,HOURS_LEFT,BASIC_AMMOUNT,CANC
EL_AMMOUNT FROM REFUND_AMMOUNT", db, adOpenStatic, adLockOptimistic
Dim otext As TextBox
For Each otext In Me.txtfields
Set otext.DataSource = adors
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 61/70
Page61
Next
End Sub
Private Sub SHOW_Click()
Dim ADORS2 As Recordset
Dim db As Connection
Set db = New Connection
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
Set ADORS2 = New Recordset
ADORS2.Open "select * from TICKET_REPORT WHERE PNR = ' " & txtfields(0).Text & " '
", db, adOpenStatic, adLockOptimistic
'txtfields(0) = (ADORS2.Fields(1))
txtfields(1) = (ADORS2.Fields(8))
txtfields(2) = (ADORS2.Fields(7))
txt_basic_ammount.Text = (ADORS2.Fields(9))
End Sub
Private Sub txtfields_LostFocus(Index As Integer)
Dim db As Connection
If Index = 0 Then
Set db = New Connection
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
Set adors = New Recordset
adors.Open "select
CUST_CODE,CLASS,SEAT_NO,DAYS_LEFT,HOURS_LEFT,BASIC_AMMOUNT,CANC
EL_AMMOUNT FROM REFUND_AMMOUNT where cust_code = ('" & txtfields(0).Text &
"')", db, adOpenStatic, adLockOptimistic
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 62/70
Page62
Dim otext As TextBox
For Each otext In Me.txtfields
Set otext.DataSource = adors
Next
End If
End Sub
Private Sub txtsub_Click()
txtresult(7).Text = Val(txt_basic_ammount.Text) - Val(txt_cancel_ammount(6).Text)
End Sub
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 63/70
Page63
CODING FOR ENQUIRY
Option Explicit
Dim adors As Recordset
Private Sub add_Click(Index As Integer)
With adors
.AddNew
End With
End Sub
Private Sub cl_Click(Index As Integer)
Unload Me
End Sub
Private Sub CONFIRM_Click()
Dim ADORS2 As Recordset
Dim db As Connection
Set db = New Connection
db.Open "Provider=MSDASQL.1;Persist Security Info=False;Data Source=NATH"
Set ADORS2 = New Recordset
ADORS2.Open "select * from TICKET_REPORT WHERE TICKET_NO ='" &
txtfields(7).Text & "'", db, adOpenStatic, adLockOptimistic
txtfields(4) = (ADORS2.Fields(1))
txtfields(1) = (ADORS2.Fields(2))
txtfields(2) = (ADORS2.Fields(9))
txtfields(3) = (ADORS2.Fields(7))
txtfields(5) = (ADORS2.Fields(5))
txtfields(6) = (ADORS2.Fields(6))
End Sub
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 64/70
Page64
TESTING
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 65/70
Page65
WHITE BOX TESTING
White box testing, sometimes called glass – box testing, is a test case design
method that uses the control structure of the procedural design to derive test
cases.
This testing technique takes into account the internal structure of the system or
component. The entire source code of the system must be available. This
technique is known as white box testing because the complete internal structure
and working of the code is available.
Using white – box testing methods, the software engineer can derive test cases
that:
1) Guarantee that all independent paths within a module have been exercised
at least once,
2) Exercise all logical decision on their true and false sides,
3) Executes all loops at their boundaries and within their operational bounds,
and
4) Exercise internal data structures to ensure their validity.
White box testing helps to:
Traverse complicated loop structures
Cover common data areas
Cover control structures and sub – routines
Evaluate different execution paths
Test the module and integration of many modules
Discover logical errors, if any
Helps to understand the code
Why the white box testing is used to test conformance to requirements?
Logical errors and incorrect assumptions most likely to be made when
coding for “special cases”. Need to ensure these execution paths are tested.
May find assumptions about execution paths incorrect, and so make design
errors. White box testing can find these errors.
Typographical errors are random. Just as likely to be on an obscure logical
path as on a main stream path.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 66/70
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 67/70
Page67
TESTING, VALIDATION AND DEBBUGING
In this phase I tried to check all the modules separately for their proper formatting.
After this step I had performed a unit test to check the functionality of the whole
system.
Further I had come to know to add certain validation in project as given bellow:
1) Table name- Customer information
Field name –Customer nameData type -Text.
When we enter a number in the form it shows an error message. Because it
is not a number, it is a character. So it shows a wrong value.
2) Table name _Customer information
Field name - Departure time, Arrival time, Data type - Date/Time.
When we enter 12.33 then it automatically shows 12.33pm.
When we enter 11.33 then it automatically shows 11.33am.
3) Table name –Flight information
Field name - Flight-code
Data type - number
If we put any other value or character, then it asks for validity check.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 68/70
Page68
IMPLEMENTATION
For the implementation of my project the hardware and software requirements are given below:
HARDWARE:
1 GHz Processor
25 MB RAM
100 MB Disk Space
SOFTWARE:
XP/VISTA/7
MS – ACCESS
MS – EXCEL
MS – WORD
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 69/70
Page69
CONCLUSION
Though this system still contains a lot of scope for improvement, still its overall
look and feel gives us a rough picture of on existing automation system.
I have used MS-Access as a backend but it has a limitation of 1 GB size. If the data
size exceeds the size limit, then some other databases such as SQL server or Oracle
can be used with ODBC to break this barrier.
7/31/2019 Airline System Proj
http://slidepdf.com/reader/full/airline-system-proj 70/70
BIBLIOGRAPHY
1. Microsoft Visual C#.NET
By Mark Schmidt, Simon Robinson, Christian Nagel Etal
2. Database Access with VB 6.0
Author Jeffry, P, Mac Maruch
Publisher Sam
3. Murachs SQL for SQL server
Auther Bryan Syverson
Publisher Mac Maruch