tybca90_1

74
AIRLINE RESERVATION SYSTEM AIRLINE RESERVATION SYSTEM SUBMITTED AS THE PARTIAL FULFILLMENT OF DEGREE OF BACHELOR OF COMPUTER APPLICATION By TRUPTI PATEL Exam No.: Under the Guidance of Mr.BHARAT PATEL ANAND COMMERCE COLLEGE, ANAND SARDAR PATEL UNIVERSITY VALLABH VIDYANAGAR MARCH 2011-12 1

Transcript of tybca90_1

Page 1: tybca90_1

AIRLINE RESERVATION SYSTEM

AIRLINE RESERVATION SYSTEM

SUBMITTED AS THE PARTIAL FULFILLMENT OF DEGREE OFBACHELOR OF COMPUTER APPLICATION

ByTRUPTI PATEL

Exam No.:

Under the Guidance of

Mr.BHARAT PATEL

ANAND COMMERCE COLLEGE, ANANDSARDAR PATEL UNIVERSITY

VALLABH VIDYANAGAR

MARCH 2011-12

1

Page 2: tybca90_1

AIRLINE RESERVATION SYSTEM

Certificate This is to certify that Mr./Miss

TRUPTI R PATEL of T.Y.B.C.A. Exam

No.:___ Roll No.:90, of Anand

Commerce College, Anand has

satisfactorily completed his project

work during year 2011-12 as per the

university curriculum and here with,

it is to be submitted to S.P.

2

Page 3: tybca90_1

AIRLINE RESERVATION SYSTEM

University, Vallabh Vidhayanagar,

for his Final Examination

I/C Principal

PREFACE

It gives me great pleasure in placing in the hands of my esteemed faculties this individual report, which, I believe, will go through the documentation of the Project work done by me.

The objectives of this report are to provide both a conceptual understanding of the System as well as working guide.

Surely no other technology as information technology is proven as the diving force of Nation. I.T not only decides the Present but also the future. The need for Software development today is a competence in a G.U.I. based front-end tools as far as the database Programming is consumed.

A typical scenario today involves an application consisting of a visual front end for Presenting data and reporting options to the enterprise, tables, and list boxes. These applications typically feature reporting function to provide documentation to teachers and Administrative.

As a Student of BCA when I acquire all the theoretical Knowledge, It is both necessary and advice to acquaint the students with the real Situation through, well-Planned Project in relevant fields, Using all the theoretical Knowledge and applying into the real application the Student learns to develop efficient real world application at the time of Project training. So, the Project tanning is very important for the Student for Self- Development and self-confident. Also Student learns Organizational Structure, rules and regulations and Management in a real sense, which helps Student to get discipline in life.

Aimed for Providing the reader with easier and in- depth Knowledge of all the basic as well as important aspects related to the System having the functionality’s of there respective fields in form of report. The report contains

3

Page 4: tybca90_1

AIRLINE RESERVATION SYSTEMthe literature of almost all the things, Which I Have gone through from the point of view of any System development Life cycle.A Bachelor of Computer Application (BCA) is a three year full time course. It Covers Various Topics Associated with the area of computer Science. In The Third year Students have to develop a Project. During T.Y I did a Project on for “Anand Commerce College” for its “Online Hotel Booking”

An effort has been made to exhaustively deal with every Part of the System developed and at the appropriate position, So that a user can easily perform the chat process on the Internet TRUPTI PATEL

Acknowledgment

With immense pleasure I would like to present this report on the Project assignment of “AIRLINE RESERVATION SYSTEM”.

I am thankful to all that helped a lot for successful complain of project and for providing valuable guidance throughout out project work. So I take this opportunity to thanks the people to make this project and the report success.

I offer my sincere thanks to Mr. Bharat Patel for giving me that guidance to work with this system. I am grateful to him for kept faith in us and considered us for project work in their in-house software development to prove our metal at the organization level. I learnt a lot about the practical and professional aspect for him.

I would like to thank Mr. Bharat Patel, and all people who have end favored us from the learning and processing the knowledge during project work.

My sincere thanks to all who helps me in this task and for mounding our thoughts and vision towards this subject. I appreciate their concern and interest regarding the project. Their words of advice prior to leaving for the project helped me a great deal during the project.

I would like to thanks my Friend’s members and all those persons who have directly on indirectly helped me in making this project work and study successful.

4

Page 5: tybca90_1

AIRLINE RESERVATION SYSTEM

INDEX

Sr.No Contents Page . No

1 PROJECT PROFILE 1

1.1 Project Definition

1.2 System Introduction

2 ABOUT TOOL

3 ANALYSIS

3.1 Existing System

3.2 Feasibility Study

3.3 Fact Gathering Study

3.4 Limitation of Existing System

3.5 Scope of Proposed System

4 DESIGN

4.1 Diagram

4.1.1 Data Flow Diagram

4.2 Data Dictionary

5

Page 6: tybca90_1

AIRLINE RESERVATION SYSTEM5 IMPLEMENTATION

5.1 Screen Layouts

5.2 Future Enhancements

6 BIBLIOGRAPHY

PROJECT PROFILE

Project Title : Airline Reservation System

Project Developed By : Trupti Patel

Operating system : Microsoft windows xp Front End Tool : Visual Basic 6.0

Back End Tool : Oracle 8.0

Project duration : 1 year

Project Guide : Mr. Bharat Patel

Submitted To : Anand Commerce College, Sardar Patel University,

Anand.

6

Page 7: tybca90_1

AIRLINE RESERVATION SYSTEM

HARDWARE AND SOFTWARE CONFIGURATION

The Hardware and Software Configuration for the proposed system is given below.

Hardware Configuration:-

For the successful run of the proposed system the required stand alone Personal Computer with, minimum hardware required to run the system is as below.

Hardware Minimum Requirement

Processor Pentium 4Hard disk 40 GBRAM 64 MBDot Matrix Printer 16 Pin

Software Configuration:-

The minimum Software required by the system is follows.

1. ORACLE as Back End.2. Visual Basic 6.0 as Front End

The reason for selecting ORACLE and Visual Basic as tools are as follows.

7

Page 8: tybca90_1

AIRLINE RESERVATION SYSTEM

Features of ORACLE : -

It is a high performance, full tolerant relational database management System especially designed for large database application.

It offers following benefits: It eliminates all parent-child relationships and instead

represented all data in the database as simple row/column tables of data values.

Flexibility in data modeling. Easy for accessing data.

Each table is an independent entity and there is no physical relationship between tables.

Reduce data storage and redundancy. Independent of physical storage and logical data design.

It has wide level data manipulation language (SQL). Most data management system based on the relational model

has a built-in support for query languages like ANSI SQL or QBE (Query By Example). These queries are simple English constructs that allow adhoc data manipulation from a table.

Deferred writing at commits to improve transaction performance. Security and control. It has a rollback command for recreating the database to its

most recent safe point. Grant and revoke limits access to information down to row and column level. Views are valuable features for limiting access to the primary tackles in the database.

Professional ORACLE starts the DBMS (Database Management System) in the extended memory, so more main memory is available for other applications.

Relational model of data management is based on set theory. Built-in query language is designed in the RDBMS, so that it can manipulate sets of data (one or more tuples).

User interface used with relational models is non-procedural because only what needs to be done is specified and not how it has to be done. Using any of the other methods, you have not only to specify what need to be done but how it has to be done as well.

8

Page 9: tybca90_1

AIRLINE RESERVATION SYSTEM

Features of Visual Basic 6.0 : -

Visual Basic provides complete set of tools to simplify rapid application Development.

It provides a vital link to graphical environment and allows you to develop applications based on standard windows features: Dialog boxes, Command buttons, Pull down menus, Scroll Bars, Selection lists etc. It also allows creating robust applications that fully make use of the graphical user interface.

ActiveX Data Objects (ADO) and OLE DB replace the Open database connectivity (ODBC) API as the preferred method for accessing shared file and client/server databases.

Internet techniques such as Dynamic HTML (DHML), Extensible markup language (XML), Active server pages (ASP) and ActiveX documents offer browser-based alternatives for displaying and updating data.

Extensions to Visual Basic class modules assist in writing middle-tier DLLs for Microsoft transaction server 2.0.

A multitude of wizards and other graphical tools aid developers new to Visual Basic.

Visual Basic is an event driven programming language. Visual Basic allows you to adopt more of parallel approach, with

independent sections of code for each option that the user may select. This is known as Event driven programming language.

Data Environment Designer (DED). Drag and drop form generation. Data view window. ADO Data Control (ADODC). ADO-compliant data-bound controls. Hierarchical record sets and the Flex Grid Control. Data report design.

9

Page 10: tybca90_1

AIRLINE RESERVATION SYSTEM Data form wizards. Format objects. Data repeater control. Data source classes and data building. MTS transaction Mode property of Class modules. Visual data tools (VDTS). SQL editor. Component creation. Language. Packaging and Deployment wizard. Data object wizard. The integrated development environment.

INTRODUCTION TO EXISTING SYSTEM

The Company follows a manual system for maintaining the Airline Reservation System.

Whenever any requisition comes to the Counter to issue a ticket the firstly the Ticket Capacity checked whether the required quantity of the ticket is present or not. If the required tickets is present then issue a ticket and update the reservation information and an entry is done to the Ticket Issue Register.The day-to-day entries are made manually into the book that has gotten all the relevant entries.

Check the Ticket Quantity regularly whether any ticket is not in, if so then Ticket Issue process is cancelled. In the same way Ticket cancellation is followed. If Fare is increased or decreased then changes into Fare Book. If New Flight is introduced then entry on relevant book, that process applies to Flight-Schedule, Airbus, and Branch.At the end of the year or when an intermediate report is needed then prepare the report is required.LIMITATIONS OF THE EXISTING SYSTEMThe Existing system includes problems like lack of time consuming, accuracy, high cost, security problems, etc.There are many problems in existing systems like:Time and speed

Man power High cost Security Complexity Maintenance

10

Page 11: tybca90_1

AIRLINE RESERVATION SYSTEM Accuracy Storing Records might get lost or be insufficient due to manual errors. Maintaining and managing data is very costly and time

consuming, because there are many documents that have to be maintained by each branch and copies have to be transferred to relative branches.

Transfer of information within the branches is costly and time consuming.

INTRODUCTION TO PROPOSED SYSTEM

There are many activities that can be computerized in this widely spread organization. The current context is related to maintain the ticket Reservation-Cancel ticket. The important reason is to make-work easy. No need to search a Flight registers for entry or any other transaction.

Computerization of this must fulfilled the requirements of working staff due to effective work of computer in terms of efficiency, speed, accuracy, storage capacity and quickness.

Even though it is costly, it is recommended the computerization of the ticket issue process.

11

Page 12: tybca90_1

AIRLINE RESERVATION SYSTEM

OBJECTIVES OF PROPOSED SYSTEM

Manual work has to be reduced. Get accuracy. Result to be received very quickly. It uses concept of user friendliness. It provides using of multiple applications at a time. Increase security, speed, storing and accuracy. Customer services can not only be satisfied but also enhanced to the

extent that one can obtain or cancel a reservation from any branch for any route at any given time.

To speed up the operation. Managing and maintaining data becomes easier.

12

Page 13: tybca90_1

AIRLINE RESERVATION SYSTEM Provide convenience to travelers. It decreases manpower and high cost.

FEATURES OF PROPOSED SYSTEM

Manual work has to be reduced and Result to be received quickly.To speed up the operation and Decrease manpower, high cost.Increase security, speed, storing and accuracy.The customers have to face only one person at the booking counter for obtain the reservation.

Managing and maintaining data becomes easier and cost effective due to very high amount and reliability of storage space available in the proposed system. It provides support for queries through out all the branches at any given time at a very high speed, saving a lot of time.

13

Page 14: tybca90_1

AIRLINE RESERVATION SYSTEM The system has been developed under Microsoft Visual Basic 6.0

as a Front-End tool and Oracle 8.0 as a Back-End tool.

ADVANTAGES OF PROPOSED SYSTEM

The proposed system due to computerized is much faster in reservation process, cancellation process and transactions.

Transfer of information from various branches would become easier and faster.

Managing and maintaining data becomes easier and cost effective due to very high amount and reliability of storage space available in the proposed system.

Customer services can not only be satisfied but also enhanced to the extent that one can obtain or cancel a reservation from any given time.

14

Page 15: tybca90_1

AIRLINE RESERVATION SYSTEM

LIMITATIONS FOR PROPOSED SYSTEM

The main limitation of system is if any plane that not stop in a particular destination that have not been included in airline reservation system.

Per ticket only one other services are included at a time.

Passenger cannot transfer his/her reservation from one flight to another flight.

15

Page 16: tybca90_1

AIRLINE RESERVATION SYSTEM

FEASIBILITY STUDY & COST BENEFIT ANALYSIS

Feasibility study is most important and it concerns great to the passenger, for which new system is to be developed. It includes the study of success and level of satisfaction that the passenger and the user will get from the system. Feasibility means possibilities (to some extent), i.e. this study explores the possibility of implementation of new system as a substitute to old system removing all shortcomings and including all new requirements.

An initial determine in a proposal that whether an alternative system is feasible or not. To determine feasibility of candidate system in all respect I need to consider following feasibility factors:

Economical feasibility Technical feasibility Behavioral feasibility

ECONOMICAL FEASIBILITY::-

16

Page 17: tybca90_1

AIRLINE RESERVATION SYSTEMSince the existing system is manual, the organization posses the computer and doesn’t require to set the environment.

Cost involved in the software packages includes the ORACLE 8.0 for storage of data as a back end. Other required software is that which they already have like WINDOWS 98. This costs around Rs.45, 000/- for the oracle software.

As the new system size is round 3.5 KDL the cost involved in developing the system is retrieved as follows:Size of project = 3.5 KDL.Organic Project.

Here, a=3.2 and b=1.05

The cost drivers and their rating for our project are as follows:

Cost Drivers Category Rating Reliability High 1.15Database Size Very high 1.16Complexity Low 0.70Analyst Capacity Normal 1.00Analyst Experience Very low 1.29Programmer Capacity Normal 1.00Language Experience Normal 1.00

The cost of the project is estimated by the below formula as follows:

Ei = a * (size)b

= 3.2 * (3.5) 1.05

= 11.923

EAF = 1.15*1.16*0.70*1.00*1.29*1.00*1.00 = 1.20

E = Ei * EAF = 11.923 * 1.20 = 14.30 PM

If we assume the average salary for the person is about Rs.7, 000/- per month then the cost is:

Cost = 14.30 * 7000 =100100

So the total cost including the cost of the oracle the RDBMS is: Total Cost = 1,00,100+45,000

= 1,45,100

Hence the total cost of my project is Rs.1, 45,100/-

17

Page 18: tybca90_1

AIRLINE RESERVATION SYSTEMAlso the total duration for the entire project is:Here the value of a=2.5 and b=0.38

D = a * (E) b

= 2.5 * (14.30)0.38

= 6.870So the estimated duration for the project is 7 months approximately.

TECHNICAL FEASIBILITY:-

It is determined by the hardware and supporting software.Hardware requirement: stand-alone computer with enough main memory space & backup storage more than 2 GB to support RDBMS and huge database.

Software requirement: ORACLE.

BEHAVIOURAL FEASIBILITY: -

It includes training the user staff on the candidate system. The data entry design is similar to other forms being used by the user staff. Data entry forms are very user friendly and data entry job has been kept minimum. So training of 3-4 will be sufficient. Even for generating reports the user has to supply 2-3 parameters only.

REQUIREMENT ANALYSIS

As we have decided to develop a new system now it is time to determine the new requirements for the new system. As the user is the most important part of any system it is required to find the users requirements to develop a user-friendly system rather than having to develop a developer friendly system.

The outputs required by the user that must be included into the proposed system are as follows:

1. The work for the particular user must be personalized.

2. Passport and valid visa are required for ticket booking.

3. Tickets are print as in required order.

18

Page 19: tybca90_1

AIRLINE RESERVATION SYSTEM

4. The user must be provided easy if he wants to switch from one application to other at a time.

FACT GATHERING TECHNIQUES

A fact gathering study was undertaken to study the activities involved in the various aspect of the existing computerized system. We had visited various person of the company. The existing system was studied by means of

Interviews

Record Reviews

Interviews:

User interviews were conducted to retrieve the qualitative information. These interviews, which were unstructured, provided opportunity to gather information from the respondents who involved in the process for a long time.

19

Page 20: tybca90_1

AIRLINE RESERVATION SYSTEMThese interviews provided information such as:

Activities involved in process of reservation processing involving fare, other services, flight information, flight schedule information, airbus, various reports are generated using existing system.

Type & frequency of forms and reports.

Limitation of Existing system.

Record Reviews:

To gather details about the Airlines Reservation, many kinds of records & reports were reviewed. This study covered.

Standard Operating Procedure.

Forms and reports generated by existing manual system.

Document flow (Input / Output) of the system.

TABLE DESIGN

Table design contains all the tables required to store the required information which are stated below:

1. TABLE NAME: AIRBUS

Fields Data Type SizeAirbusno Varchar2 (5)First_cap Number (3)Bus_cap Number (3)Eco_cap Number (3)First_wl_cap Number (3)Bus_wl_cap Number (3)Eco_wl_cap Number (3)

20

Page 21: tybca90_1

AIRLINE RESERVATION SYSTEM

2. TABLE NAME: FARE

Fields Data Type SizeRoute_code Char (7)Airbusno Varchar2 (5)First_fare Number (8)Bus_fare Number (8)Eco_fare Number (8)

3. TABLE NAME: SERVICE

Fields Data Type SizeSs_code Char (4)Ss_desc Varchar2 (15)Ss_fare Number (5)

4 . TABLE NAME : CONTROL

Fields Data Type SizeAir_tax Number (4)Excess_bg_limit Number (3)First_bg_limit Number (3)Bus_bg_limit Number (3)Eco_bg_limit Number (3)Canc_deduc_12 Number (3)Canc_deduc_6 Number (3)Canc_deduc_3 Number (3)

5. TABLE NAME: CANCELLATION

Fields Data Type SizePNR Number (5)Flight_no Varchar2 (7)Flight_date Date Class Char (1)Reserv_date Date

21

Page 22: tybca90_1

AIRLINE RESERVATION SYSTEMPass_name Varchar2 (20)Pass_add Varchar2 (100)Passport_no Number (8)Ss_code Varchar2 (4)Cancel_date DateTotal_fare Number (8,2)Branch_code Varchar2 (4)Route_code Char (7)Tot_fare Number (8,2)Flight_type Char (1)Pass_status Varchar2 (15)Canc_amt Number (8,2)

6. TABLE NAME: BRANCH

Fields Data Type SizeBranch_code Varchar2 (4)Add1 Varchar2 (20)Add2 Varchar2 (20)City Varchar2 (15)Telephone Number (8)

7. TABLE NAME: RESERVATION

Fields Data Type SizePNR Number (5)Flight_no Varchar2 (7)Flight_date Date Class Char (1)Reserv_date Date Pass_name Varchar2 (20)Pass_add Varchar2 (100)Passport_no Number (8)Ss_code Varchar2 (4)Pass_status Char (15)Route_code Char (7)Total_fare Number (8,2)Branch_code Varchar2 (4)Flight_type Char (1)Tot_fare Number (8,2)Canc_flag Char (1)

22

Page 23: tybca90_1

AIRLINE RESERVATION SYSTEM

8. TABLE NAME: FLIGHT

Fields Data Type SizeFlight_no Varchar2 (7)Flight_date DateFirst_bk_seats Number (3)Bus_bk_seats Number (3)Eco_bk_seats Number (3)

9. TABLE NAME: LOGIN

Fields Data Type SizeUser_id Varchar2 (15)Password Varchar2 (15)

10. TABLE NAME: FLIGHT_SCH

Fields Data Type Size Flight_no Varchar2 (7)Airbusno Varchar2 (5)Airbus_nm Varchar2 (20)Route_code Varchar2 (7)Deprt_time Char (5)Journey_hrs Char (5)Flight_day1 Number (1)Flight_day2 Number (1)

11. TABLE NAME: ROUTE

Fields Data Type SizeRoute_code Varchar2 (7)Route_desc Varchar2 (25)Origin Varchar2 (15)

23

Page 24: tybca90_1

AIRLINE RESERVATION SYSTEMDestination Varchar2 (15)

24

Page 25: tybca90_1

AIRLINE RESERVATION SYSTEM

DATA FLOW DIAGRAM

As information moves through software, it is modified by a series of transformations. A Data Flow Diagram (DFD) is a graphical technique that depicts information flow and the transformations that are applied as data move from input to output. The data flow diagram is know as a data flow graph or a bubble chart.

The Data Flow Diagram may be used to representation a system or software at any level of abstraction. In fact, DFDs may be used partitioned into levels that represent increasing information flow and functional detail. Therefore, the DFD provides a mechanism for functional modeling as information flow modeling.

The Data Flow Diagram (DFD) serves two purposes:

1) To provide an indication of how data are transformed as they move through the system and2) To depict the functions that transform the data flow. The DFD provides additional information that is used during the analysis of the information domain and serves as a basis for the modeling of function.

A Level 0 DFD also called as fundamental system model or a context model, represents the entire software element as a single bubble with input and output data indicated by incoming and outgoing arrows respectively. Additional processes and information flow paths are represented as the level 0 is partitioned to reveal details. Each of the proves represents at level 1 is sub function of the overall system depicted in the context model. Each of the process may be refined are layered to depict more detail. Information continuity must be maintained in every layer, that is input and output to each refinement must remain the same.

25

Page 26: tybca90_1

AIRLINE RESERVATION SYSTEM

DATA FLOW DIAGRAM

CONTEXT DIAGRAM FOR AIRLINE RESERVATION SYSTEM

PASSENGER

AIRLINE RESERVATION SYSTEM

BOOKING OFFICER

Request for flight availability

Verification reply & tickets

Reservation particulars

Acknowledgement (availability of seats available or not)

26

Page 27: tybca90_1

AIRLINE RESERVATION SYSTEM

1-LEVEL DATA FLOW DIAGRAM

Flight

PASSENGER

1.0Verify

availability of seats

2.0Reservation process

3.0Cancellation

process

4.0Report

generation

Enquiry

Reservation file

Flight information

Retrieve flight details Add

new details

Airbus information

Retrieve flight schedule information

PASSENGERMoney, visa & passport

Ticket

Fare Fare information

Ticket, visa & passport

Report Reservation file

Retrieve passenger details

Delete passenger information

Cancellation

Cancel passenger information

Passenger details

Route Route information

Airbus

Flight_sch

27

Page 28: tybca90_1

AIRLINE RESERVATION SYSTEM

2-LEVEL DIAGRAM FOR PROCESS 2.0

2-LEVEL PROCESS FOR PROCESS 3.0

PASSENGER

2.1Domestic

flight reservation

process

2.2International

flight reservation

process

2.3Registration of other service process

2.4Ticket

reservation process

PASSENGER

Money

Money, visa & passport

Reservation file

Add information about passenger

Add information about passenger

Reservation file

Service file

Other service details

PASSENGER

Request for other services

Add information

Reservation file

Add information of other services

28

Page 29: tybca90_1

AIRLINE RESERVATION SYSTEM

PASSENGER

3.1

Check validity process

3.2

Ticket cancel

process

Enquiry for cancellation process

Cancel or invalid

Check for valid information

Cancellation Add cancel information

control

Cancel within 3,6 or 12 days

Reservation file

DeletePassenger information

29

Page 30: tybca90_1

AIRLINE RESERVATION SYSTEM

DATA DICTIONARY

Data Dictionary is a store of information about the data in database. The dictionary defines the name, description, source of data, users of data, and keywords in data, formula to derive the data, specification and such other details. Data dictionary brings common understanding of the data in the organization. RDBMS provides software to create the dictionary. Use of data dictionary enforces the standards of processing, usage’s application and documentation in the organization.

Data Dictionaries are an integral component of structured analysis, since data flow diagram by them do not fully describe the information about the system. The data dictionary provides additional information about the system.

A data dictionary is a catalogue – a repository – of the elements in a system. These elements center on data the way they are structured to meet user requirements and organization needs. In a data dictionary, a list of all the elements composing the data flowing through a system is included. If a project team member wants to know the definition of a data item name or the contents of a particular data flow, the information will be available in the data dictionary. Descriptions of all data used in the system are given in a data dictionary.

Analysts use Data Dictionary for five important reasons.

1) To manage the detail in large systems.

2) To communicate a common meaning for all system elements.

3) To document the features of the system.

4) To facilitate analysis of the details in order to evaluate characteristics and determine where system changes should be made.

5) To locate errors and omissions in the system.

30

Page 31: tybca90_1

AIRLINE RESERVATION SYSTEM

Data Dictionary :-

1.) Table Name : AIRBUS

Description : This table stores Airbus Information

Primary Key : Airbusno

Foreign Key : -

Sr No

Fields Data Type Size Constraints Description

1 Airbusno Varchar2 (5) Primary Key Airbus no start with “AI”

2 First_cap Number (3) NOT NULL First Class Capacity3 Bus_cap Number (3) NOT NULL Business Class

Capacity4 Eco_cap Number (3) NOT NULL Economic Class

Capacity5 First_wl_cap Number (3) First Class’s Waiting

List Capacity6 Bus_wl_cap Number (3) Business Class’s

Waiting List Capacity7 Eco_wl_cap Number (3) Economic Class’s

Waiting Capacity

2.) Table Name : FARE Description : This table stores Fare Information

Primary Key : -

Foreign Key : Airbus (Airbusno) , Route(Route_code)

Sr No

Fields Data Type Size Constraints Description

1 Route_code Char (7) Composite primary Key

Flight’s Route Code

2 Airbusno Varchar2 (5) Composite primary key

Airbusno

3 First_fare Number (8) Not Null First Class Fare4 Bus_fare Number (8) Not Null Business Class

Fare5 Eco_fare Number (8) Not Null Economic Class

31

Page 32: tybca90_1

AIRLINE RESERVATION SYSTEM

Fare

3.) Table Name : SERVICE

Description : This table Stores Service Information

Primary Key : ss_code

Foreign Key : -

Sr No

Fields Data Type Size Constraints Description

1 Ss_code Char (4) Primary Key Service Code2 Ss_desc Varchar2 (15) Not Null Service Description3 Ss_fare Number (5) Not Null Service Fare

4.) Table Name : CONTROL

Description : This table Stores Control Information

Primary Key : -

Foreign Key : -

Sr No

Fields Data Type Size Constraints Description

1 Air_tax Number (4) Not Null Fixed Air Tax2 Excess_bg_limit Number (3) Not Null Per Extra Bag charge3 First_bg_limit Number (3) Not Null First Class’s Bag

Limit4 Bus_bg_limit Number (3) Not Null Business Class’s

Bag Limit5 Eco_bg_limit Number (3) Not Null Economic Class’s

Bag Limit6 Canc_deduc_12 Number (3) Not Null Cancel deduction

charge for 7-12 days7 Canc_deduc_6 Number (3) Not Null Cancel deduction

charge for 4-6 days8 Canc_deduc_3 Number (3) Not Null Cancel deduction

charge for 0-3 days

32

Page 33: tybca90_1

AIRLINE RESERVATION SYSTEM

5.) Table Name : CANCELLATION

Description : This table Stores Cancelled Ticket Information

Primary Key : -

Foreign Key : Reservation (PNR), Flight_sch (Flight_no), Branch(Branch_code), Service(ss_code), Route(Route_code)

Sr No

Fields Data Type Size Constraints Description

1 PNR Number (5) Not Null, FK PNR for Reservation Ticket

2 Flight_no Varchar2 (7) Not Null, FK Flight_no from Flight_sch table

3 Flight_date Date Flight Date information

4 Class Char (1) Not Null Class’s Abbreviation ‘F’ for First Class, ’B’ for Business Class, ’E’ for Economic Class

5 Reserv_date Date Not Null Ticket’s Reservation Date

6 Pass_name Varchar2 (20) Not Null Passenger’s Name7 Pass_add Varchar2 (100) Not Null Passenger’s Address8 Passport_no Number (8) Not Null Passenger’s

Passport No9 Ss_code Varchar2 (4) FK Service code from

service table10 Canc_amt Number (8,2) - Cancel amount 11 Total_fare Number (8,2) Not Null Total Fare12 Branch_code Varchar2 (4) FK Branch code from

Branch Table13 Flight_type Char (1) Not Null Flight type

Abbreviation ‘I’ for International, ’D’ for Domestic flight

14 Pass_status Char (1) Passenger’s status ‘W’ for waiting, ’C’ for Confirm

15 Route_code Char (7) Not null, FK Flight’s route code

33

Page 34: tybca90_1

AIRLINE RESERVATION SYSTEM

16 Tot_fare Number (8,2) Not null Total amount17 Cancel_date Date Not null Cancellation date

6) Table Name : RESERVATION

Description : This table Stores Ticket Reservation Information

Primary Key : PNR

Foreign Key : Flight_sch(Flight_no),Branch(Branch code), Service(ss_code), Route(route_code)

Sr No

Fields Data Type Size Constraints Description

1 PNR Number (5) Not Null, FK PNR for Reservation Ticket

2 Flight_no Varchar2 (7) Not Null, FK Flight_no from Flight_sch table

3 Flight_date Date Flight Date information4 Class Char (1) Not Null Class’s Abbreviation

‘F’ for First Class, ’B’ for Business Class, ’E’ for Economic Class

5 Reserv_date Date Not Null Ticket’s Reservation Date

6 Pass_name Varchar2 (20) Not Null Passenger’s Name7 Pass_add Varchar2 (100) Not Null Passenger’s Address8 Passport_no Number (8) Not Null Passenger’s Passport

No9 Ss_code Varchar2 (4) FK Service code from

service table10 Canc_flag Char (1) - Cancel amount 11 Total_fare Number (8,2) Not Null Total Fare12 Branch_code Varchar2 (4) FK Branch code from

Branch Table13 Flight_type Char (1) Not Null Flight type

Abbreviation ‘I’ for International, ’D’ for Domestic flight

14 Pass_status Char (1) Passenger’s status ‘W’ for waiting, ’C’ for Confirm

15 Route_code Char (7) Not null, FK Flight’s route code

34

Page 35: tybca90_1

AIRLINE RESERVATION SYSTEM

16 Tot_fare Number (8,2) Not null Total amount

7) Table Name : BRANCH

Description : This table Stores Branch Information

Primary Key : Branch_code

Foreign Key : -

Sr No

Fields Data Type Size Constraints Description

1 Branch_code Varchar2 (4) Primary Key Branch Code2 Add1 Varchar2 (20) Not Null Branch’s Address13 Add2 Varchar2 (20) Branch’s Addess24 City Varchar2 (15) Not Null Branch’s City5 Telephone Number (8) Branch’s Telephone no

8.) Table Name : FLIGHT

Description : This table Stores Flight Information

Primary Key : -

Foreign Key : Flight_sch(Flight_no)

Sr No

Fields Data Type Size Constraints Description

1 Flight_no Varchar2 (7) FK, Not Null Flight Number2 Flight_date Date Flight Date3 First_bk_seats Number (3) First Class’s

booking seats4 Bus_bk_seats Number (3) Business Class’s

booking seats5 Eco_bk_seats Number (3) Economic Class’s

booking seats

9.) Table Name : FLIGHT_SCH

Description : This table Stores Flight Schedule Information

35

Page 36: tybca90_1

AIRLINE RESERVATION SYSTEM

Primary Key : Flight_no

Foreign Key : Airbus (Airbusno), Fare (Route_code)

Sr No

Fields Data Type Size Constraints Description

1 Flight_no Varchar2 (7) Primary Key Flight Number2 Airbusno Varchar2 (5) FK, Not Null Airbus Number3 Airbus_nm Varchar2 (20) Not Null Airbus name4 Route_code Varchar2 (7) FK, Not Null Flight’s Route code5 Deprt_time Char (5) Not Null Departure Time6 Journey_hrs Char (5) Not Null Journey Hours7 Flight_day1 Number (1) Not Null Flight Day18 Flight_day2 Number (1) Flight Day2

10.) Table Name : ROUTE

Description : This table Stores Route information.

Primary Key : Route_code Foreign Key : -

Sr No

Fields Data Type Size Constraints Description

1 Route_code Char (7) PK Flight’s Route code2 Route_desc Varchar2 (25) Not null Flight’s Route

description3 Origin Varchar2 (15) Not null Flight’s origin4 Destination Varchar2 (15) Not null Flight’s destination

11.) Table Name : LOGIN

Description : This table Stores Username and Password information.

Primary Key : User_id

Foreign Key : -

Sr No

Fields Data Type Size Constraints Description

1 User_id Varchar2 (15) Primary key Username2 Password Varchar2 (15) Not Null Password

36

Page 37: tybca90_1

AIRLINE RESERVATION SYSTEM

SCREEN LAYOUT

LOGIN FORM:-

This screen is used for data security purpose. The login screen is used for authentication purpose. The login screen asks the user to enter the username and password. When the system is installed then after the splash screen, in the login screen the user must be created first. The admin user only creates another user. In my system username and password must be 15 character. To enter in the system first user has to enter with following user name and password.

User name: 123 Password: 123

37

Page 38: tybca90_1

AIRLINE RESERVATION SYSTEM

MAIN SCREEN OF AIRLINE RESERVATION SYSETM :

The following screen is the main screen of my Airline Reservation System. From here the user can perform desire operations. Actually it is a menu-based screen so user can perform operations by selecting then from the menu or submenu. Depending on the type of user whether he or she is “admin” or other user the particular rights are given.

38

Page 39: tybca90_1

AIRLINE RESERVATION SYSTEM

BRANCH INFORMATION FORM :

The following form shows the branch information of Airline Reservation System. This form is used to show the information of branch, selecting for reserve ticket. This form is also used to process according to user’s choice on branch information table. In this form SAVE, UPDATE, DELETE,NEW, FIRST, NEXT, PREVIOUS, LAST AND EXIT following operations can be performed.

39

Page 40: tybca90_1

AIRLINE RESERVATION SYSTEM

SERVICE INFORMATION FORM :

The following form shows the “Service Information “ of the system. This form is used to select any extra other services of the system. At a time only one service is used to reserve the ticket. In this form SAVE, UPDATE, DELETE,NEW,FIRST, NEXT, PREVIOUS, LAST, AND EXIT following operation can be performed.

40

Page 41: tybca90_1

AIRLINE RESERVATION SYSTEM

AIRBUS INFORMATION FORM :

This form shows the Airbus Information of the system. This form is used to shows the capacity of first class, business class , economic class and also the waiting list capacity of the first class, business class and economic class. When you press on save button after adding a record a fare information form will be opened to add fare information.

41

Page 42: tybca90_1

AIRLINE RESERVATION SYSTEM

FARE INFORMATION FORM :

This form shows the fare information of the system. In which route code is to be select and through route code fare can be shown. To add fare information in first class fare, business class fare and economic class fare information. In this form SAVE, UPDATE, DELETE, NEW, FIRST, NEXT, PREVIOUS, LAST, AND EXIT the following operations can be performed.

42

Page 43: tybca90_1

AIRLINE RESERVATION SYSTEM

FLIGHT INFORMATION FORM :

This form shows the flight information by particular flight no and flight date. This form automatically operate after reserving the ticket. If the ticket is confirmed then the record will be insert into the flight information, but whether the ticket is not confirmed then the record will not inserted into the flight information form. If two ticket is confirmed with same flight no and flight date and class then it will increment by 1 in booking seats. This form is used to show the flight information.

43

Page 44: tybca90_1

AIRLINE RESERVATION SYSTEM

FLIGHT SCHEDULE INFORMATION FORM :

This form shows the flight schedule information. This form used for the flight no and the name of the airbus. It is also used to show the departure time and journey hours of the flight. And it will also shows that in week in which day the flight is gone. Using the route code it will shows the departure time, journey hours flight day1 and flight day2 of that flight.

44

Page 45: tybca90_1

AIRLINE RESERVATION SYSTEM

CONTROL INFORMATION FORM :

This form shows the control information of the system. In which Air tax, bag limit and cancellation deduction will be displayed. Air tax will be directly calculate in reservation form. And cancellation deduction within 12, 6 and 3 days will directly calculate when you cancel the ticket and cancellation amount will be calculated. Air tax will be Rs.700 fixed for every flight.

45

Page 46: tybca90_1

AIRLINE RESERVATION SYSTEM

ROUTE INFORMATION FORM :

This form shows the route information of the flight. In this form route code, route description, origin and destination will be displayed. From where flight’s origin and the place where the flight is gone. In this form ADD, DELETE, UPDATE, SAVE, FIRST, NEXT, LAST, PREVIOUS, AND EXIT following operations will be performed.

46

Page 47: tybca90_1

AIRLINE RESERVATION SYSTEM

R SERVATION FORM :

This form is used to reserve ticket. This form shows the reservation information. PNR number is auto generate number. In this form ticket fare which will comes from the fare table. And when you select class it’s fare will insert into ticket fare. And for flight no press “F1” key for flight list and service code. In total fare ticket fare, air tax and service fare will be calculated automatically. passenger information will be inserted and in passenger status if the status is confirm then the information of flight will be added in to flight information table, otherwise status is waiting then information will not be added into information table. In this form ADD, DELETE, UPDATE FIRST, NEXT, PREVIOUS, LAST, and EXIT following operation will be performed.

47

Page 48: tybca90_1

AIRLINE RESERVATION SYSTEM

CANCELLATION FORM :

This form is used to cancel the reserved ticket. When you press on add button small box is displayed like “Enter PNR number: - “ and enter the pnr number from the reservation form. And if you press on save button and press yes then ticket is cancelled. In find button you enter pnr number of reserved ticket it display the message like “NO SUCH PNR”. In cancel amount field direct cancel amount will be calculated.

48

Page 49: tybca90_1

AIRLINE RESERVATION SYSTEM

RESERVATION REPORT :

This report shows the reservation report of the reservation ticket.

49

Page 50: tybca90_1

AIRLINE RESERVATION SYSTEM

CANCELLATION REPORT :

This report shows the cancellation report from the cancel ticket.

50

Page 51: tybca90_1

AIRLINE RESERVATION SYSTEM

FLIGHT INFORMATION BY BRANCH :

This report shows the flight information by branch.

51

Page 52: tybca90_1

AIRLINE RESERVATION SYSTEM

MODULE SPECIFICATION

1) Form Name : frmlogin.frm

Purpose : This form gets validate the user. It is used to enter valid user into the system. It activates the AirReservationMDI.

Table Used : Login

2) Form Name : frmreservation.frm

Purpose : This form used to Create New Reservation. It is also used to add customer’s personal information. Process according to user’s choice.

Table Used : Reservation,Route,Flight_sch,Branch,Contol, Fare,Airbus,Service

Report : Reservation Report

3) Form Name : frmAirbus.frm

Purpose : This form used for processing on AIRBUS table.

Table Used : Airbus

4) Form Name : frmbranch.frm

Purpose : This form used to process according to user’s choice on to Branch table.

Table Used : Branch

Report : Flight information by branch

5) Form Name : frmcontrol.frm

Purpose : This form used to process according to user’s choice on cancellation deduction and Airtax.

Table Used : Control

52

Page 53: tybca90_1

AIRLINE RESERVATION SYSTEM

6) Form Name : frmfare.frm

Purpose : This form used to process according to user’s choice on Fare table.

Table Used : Fare

7) Form Name : frmflight.frm

Purpose : This form used to find booking seats on particular flight by flight no and flight date.

Table Used : Reservation

8) Form Name : frmservice.frm

Purpose : This form used to store extra other services according to user’s choice.

Table Used : Service

9) Form Name : frmcancellation.frm

Purpose : This form used to cancelled reservation ticket.

Table Used : Reservation,Cancellation

10) Form Name : frmroute.frm

Purpose : This form used for route information by origin and destination.

Table Used : Route

11) Form Name : frmuser.frm

Purpose : This form used for add user, delete user and change password by only admin user.

Table Used : Login

53

Page 54: tybca90_1

AIRLINE RESERVATION SYSTEM

TESTING PROCEDURE AND SYSTEM IMPLEMENTATION PHASES

System testing is an important but critical part of system. Module testing involves the process of testing the logical units of program individually and integrating the individual modules, to test the overall system. The objective of module testing is to determine whether the module meets its specifications.

In order to perform module testing two things are to be considered: the design of test cases and the coordination of the multiple modules. Test cases may be constructed from specification or by analyzing the module code. The testing strategies corresponding to tests two approaches are called as black box and white box testing. In black box testing the internal structure and behavior of the program is not considered. In white box testing the structure of the program is examined and test data are derived from the program’s logic. In non-incremental approach testing modules independently and then combining them to the program without further testing test a program. In the incremental approach a module is tested in combinations with the set of previously tested modules.

The testing plans areas that are to be tested.

1) Testing for data entry error: -Incorrect data entry, leads to incorrect results. Sometimes

it may creates run time errors. So data should be checked for validity.

2) Testing for basic principles: -If all processing is in order but display of the screens is

disorderly then that has to be rectified and such screen can confuse the user. User will be left wondering on the next actions to be taken. In some of the cases operator/user has the habit of certain key for particular option. In such cases users requirements are taken into consideration. E.g. press Escape for Exit. In some cases. I.e. Branch code, PNR no are auto generated.

54

Page 55: tybca90_1

AIRLINE RESERVATION SYSTEM

3)Testing for suitable error messages: -If the error messages are not suitable phases or incorrect

then there can be log off problems to the user who is non-professional won’t be able to figure out what exactly the error is E.g. if the user has entered an incorrect airbus no and if the error messages displays “invalid airbus no” then that is an error. If user pressed ESCAPE key and if nothing happens then that is also an error.

3) Testing for suitable response time: -In some cases, the results of a particular query may take

out a lot of system resources and also a longer time to process. In such cases program logic has to be rewritten. In some cases changes have been made in table.

One major factor, which has influenced the functionality of the system, is the valid data. As and when the master files were completed, the user added valid data and thus the expected results could also be verified. During testing I used incremental approach, black box testing and program instrumentation.

These processes continue till the user is fully satisfied. The data are again tested and the reports are compared with the original ones that the system should produce. The testing is done when the original data for guarantee of the outputs before it is implemented.

55

Page 56: tybca90_1

AIRLINE RESERVATION SYSTEM

CONCLUSION

The Airline reservation system has been a way of minimizing the clerical work, which is almost a routine and consumes the most precious time.

This AIRLINE RESERVATION SYSTEM has been an attempt to help the user to minimize his workload along with minimizing the paper works and saving of time.

The system has been developed in a way to make it very user friendly. It provides an on-line message and an error detection and error messages every time the user needs. Any person having a little bit of window based can run this system without any pain.

Almost all the difficulties of manual reservation have been removed by this system. Ti wind up let me welcome all the suggestions and other improvements, which the system needs so that it covers all the needs if the user in the user way.

56

Page 57: tybca90_1

AIRLINE RESERVATION SYSTEM

BIBLIOGRAPHY

This refers to the books, which were gone through for completion of this project report.

1) System Analysis And Design- Senn

2) Software Engineering- Pressman

3) System Analysis And Design- Elias Award

4) Visual Basic 6.0 - Microsoft Press

5) System Analysis, Design And Introduction to Software Engineering

- S. Parthasarathy - B. W. Khalakar

57