Você está na página 1de 68

AIRLINES RESERVATION

A Project
Submitted for the award of
(bachelor of Computer Application)
degree of - mlsu

Submitted By –Rishi paliwal,Prakash


kumar&Prakash choudhary
Under the supervision of
Mss. Laxmi dhulawat

University Study Center

VIDYA BHAWAN RURAL INSTITUTE


College, Udaipur (Raj.)
Center Code: 44
Year – 2010

AIRLINES RESERVATION

PROJECT REPORT
ON
AIRLINES RESERVATION
ID Sheet

Name : Rishi paliwal

Address :26,Ahinsapuri,Fatehpura, Udaipur

Enrollment No. :07/120283

University Center :44(Udaipur)

Project Done on :Airlines Reservation

Number of Persons : Three

Language :Visual Basic 6.0

Signature of Student Signature of Supervisor

(rishi) (Mss.laxmi dhulawat)

ID Sheet
Name : prakash kumar

Address :village bhitwara,The.-bali,dist.-pali


(Raj.)

Enrollment No. :07/120274

University Center :44(Udaipur)

Project Done on :Airlines Reservation

Number of Persons : Three

Language :Visual Basic 6.0

Signature of Student Signature of Supervisor

(prakash) (Mss.laxmi dhulawat)

ID Sheet
Name : prakash choudhary

Address :village –bali,dist.-pali,(Raj.)

Enrollment No. :07/120273

University Center :44(Udaipur)

Project Done on :Airlines Reservation

Number of Persons : Three

Language :Visual Basic 6.0

Signature of Student Signature of Supervisor

(prakash) (Mss.laxmi dhulawat)

CERTIFICATE
we feel great pleasure in certifying that the project
entitled “Airlines Reservation” embodies a record of
work carried out by Mrs. Rishi paliwal,Prakash
kumar,prakash choudhary BCA final year students
under my guidance and supervision. I am satisfied with
the analysis of data interpretation of result and
conclusion drawn.

I recommend the submission of project.

Date:

Mss. Laxmi dhulwat


Supervisor,
V.b.r.i,College,
Udaipur.

DECLARATION
we declare that the work incorporated
in the present project entitled “Airlines
Reservation” in my own grup work and is
original. This work has not been submitted
to any university for the award of degree or
diploma.

Date:
Signature of Candidate

(Rishi paliwal,prakash
kumar,prakash choudhary)
PREFACE

For many organizations, Computer


Information System is now at the heart of
all activities and has become a major
consideration in corporate as well as non-
corporate decision making.

We have done this project “Airlines


Reservation” under the guidance of Mss.
Laxmi dhulawat.

The proposed project is a computer


based application designed as a product to
increase the overall efficiency of the
organization. As the growth of concept of
computerization, the organization sector
has logged the facility of computerized all
system, which make a person more
convenient in making transactions. Airlines
Reservation maintains updated information
all the time so that a person can get refresh
results whenever he require. Data are the
life, blood of an organization and the
business students and professional must
know how to manage data if we want to be
a successful manager. Growing awareness
in the field of computer enhance the growth
of various package to be used for various
operations which are executed in an
organization. Since a lot of time is wasted
in repetitive calculation such as
maintaining files, stock keeping up to date
information of daily transaction etc.
Computers are found to be very useful in
this manner. Speed, Accuracy, Efficiency,
Reliability and good representation of work
are the factors responsible for growing
popularity of computers in every walk of
life.

Rishi paliwal,prakash
kumar,prakash choudhary

ACKNOWLEDGEME
NT
we feel deeply grateful to Mrs.manju
mam, principal, vbri,College, Udaipur
(Raj.), who gave us all their best possible
co-operation without which we couldn’t
have completed this project work.

With profound veneration and


stateliness. I communicate our deep sense
of gratitude and indebted to our erudite
sagacious guide, Mss. laxmi dhulawat,
vbri,College for her discerning interest,
expedient and valued guidance and
constant encouragement during the period
of project development.
We are highly grateful to Mr. Sonesh
ji Bhatia and Mr. Laxman ji rajput for
helping me in data collection, solution
related to problem and gave perfect
suggestion time by time to make this
project achievable.
REPORTS CONTENT
1. Introduction 1
2. Objective 2
3. Duration 3
4. Problem Statement 4
5. Implementation Procedure 5
6. Requirement Analysis 7
7. Module Description 8
8. Abstract 9
9. Data Structure 10
10 Structural Chart 13
.
11 Data Dictionary 14
.
12 Data Flow Diagram 15
.
13 Forms 16
.
14 Coding 43
.
15 Testing Procedure 119
.
16 Validation Check 120
.
17 Tools/Environment Used 121
.
18 Goals of Application 123
.
19 Future Application 124
.
20 User Manual 125
.
21 User Documentation 126
.
22 Conclusion 129
.
23 Bibliography 130
.
INTRODUCTION

Problem Statement
To automate the existing flight
transactions of the Airlines Reservation.

This project report is about the Airlines


Reservation. Airlines Reservation is very
challenging task where typical transaction
related tasks takes place. Before design this
project, I analyze all aspects of the Airlines
Reservation and DBMS.

In old system, all management system


related works done by manually. So the
record maintenance is a typical process and
time consuming. New system is
computerized automated process where all
processing is done by system in few
seconds. All report generation done by
system.

This project is a basic form of DBMS


where major rules of DBMS followed by
me. This a user friendly system in which
user can do works easily. All form design is
simple and useful to use. I also provide the
find facility of records in every form. In
new system, all required checks and
controls.

In future this project may expand


coding according to user requirement.
Goals to be achieved

• To develop a form based VB application,


which connects to a database.
• To store all information about passengers,
flights and reservations in the database.
• To print monthly reports.
• To allow online updating of the database
when discs are rented out.

OBJECTIVE
Now a days-traditional system for
maintaining airlines database in the books
are a tedious process, also consumes much
time. At any time if some one would like to
know about flight, customer detail. Then it
is very difficult to provide up to date
information in this regards in that
traditional system. Traditional systems also
have many loopholes so that any person
can get into it and can make serious
changes according requirement it is tedious
job.

The software I am being to develop to


reduce these types of shortcomings.
Someone wants to know about any Flight
and Customer related information. At a
glance he needs software, by which he can
fulfill his desire. For this purpose he can
use this software Airlines Reservation. In
this software, I developed an environment,
which is not only better user interface but
also provides all information’s about Flight
and Customer.

The Airlines Reservation has provide


function to user to maintain data secure. It
also provides detail data and its reports in a
computerized form.

In an Airlines Reservation, the handling


of passenger database manually is time
consuming job and error prone.
Computerizing the passenger information
and keeping them in electronic file
elimination this.
DURATION

It was 5th august 2009, when I started


my project on “AIRLINES
RESERVATION” subject. This subject I
choose on the suggestion of Mss. Laxmi
dhulawat and Mr. sonesh bhatia. First the
data related to this project was collected
from different persons of the department.

After collecting data we made


architectural structure for Airlines
Reservation.
Rishi paliwal: Whole Project work of
Airlines Reservation

After two months on 20th october 2009


we completed our project and submitted
this project.
PROBLEM STATEMENT

Today, maintain flight details and


passenger information in the register are a
tedious process, also consume much time,
at any time if user like to know the status of
reservation of flights then it is very difficult
to provide up to date information in this
regard. Traditional systems also have
loopholes so that any person can set into
and can make serious change to take profits
from it.

In manual system there were more than


one person were require to handle
transaction like flights available, passenger
reservation etc. Its very tedious job to
handle this work.

So, there are requirement to change


whole manual process in computerize
process. Computerize process’s to reduce
type of shortcoming. In the Airlines there is
one counter where dealing with passengers
took place so we have to develop software,
which transacts to the information to be
handled of passengers.
IMPLEMENTATION
PROCEDURE

To implement Airlines Reservation,


first of all we use software development
life cycle, this divide software process in
various phases:
1. Requirement Analysis and
Specification
2. Design and implementation
3. Coding
4. Testing
5. Documentation

Requirement Analysis and Specification: -


There are two phases:
1. Problem Analysis: - In a manual
system, the operator maintains flights,
and customer details in registers. It’s a
tedious job to maintain bulk of data by
one person so it requires more than one
person. It takes more time, more afford
and also it’s costly. It is possible to
change by person in an account to take
profit. Results loss of organization.
2. Requirement Phase: - Problem
stated in previous solve by change
manual system to computerized system.
Computerize Airlines Reservation
system help to reduce workload, its
cheaper, take less time and little afford.
Once the data entered in the database it
retrieves very quickly. The Airlines
Reservation provides function to user to
main flight entry, flight maintenance,
reservation, cancellation, and ticket
maintenance. It also provides detail data
and its reports in a computerized form.

Design and implementation: - In this phase


design user interface according to the
requirement phase. After design of
complete user interface coding phase start.

Coding: - In this phase programmer write


code for user interface (procedures and
functions). Programmer use different
approach for coding for different condition.
After completion of this one testing
performs.

Testing: - In this phase programmer or


software testing engineer perform testing
on software for its checking whether its
functions correctly or not. It fulfills all user
requirements or not. Engineer use all
testing approach like black box and white
box testing technique.

Documentation: - The software passes all


software testing then it delivered to client
with its documentation or user manual that
are generated after each phase of SDLC.
REQUIREMENT ANALYSIS
There are two phases:

1. Problem Analysis: - In a manual


system, the operator maintains flights,
and customer details in registers. It’s a
tedious job to maintain bulk of data by
one person so it requires more than one
person. It takes more time, more afford
and also it’s costly. It is possible to
change by person in an account to take
profit. Results loss of organization.
2. Requirement Phase: - Problem
stated in previous solve by change
manual system to computerized system.
Computerize Airlines Reservation
system help to reduce workload, its
cheaper, take less time and little afford.
Once the data entered in the database it
retrieves very quickly. The Airlines
Reservation provides function to user to
main flight entry, flight maintenance,
reservation, cancellation, and ticket
maintenance. It also provides detail data
and its reports in a computerized form.
MODULE DESCRIPTION

• Flight Entry Module


Add New Flight Entry
Update Flight Entry
Search Flight Entry

• Flight Maintenance Module


Add Flight Maintenance Entry
Update Flight Maintenance
Entry
Search Flight Maintenance
Entry

• Passenger Module
Reservation Entry
Cancellation Entry
Enquiry about Passenger

• Report Module
Show Flight Information
Show Status of Reservation
Show Customer Detail
Show Revenue Detail
Show Fine Detail
ABSTRACT

User

Admin

Flight Entry Flight Maintenance Passenger Report

Flight
Add New Add New Resevation
Info
Cancellatio
Update Update Status
n
Search Search Enquiry Customer

Revenue

Fine
DATABASE STRUCTURE
Login Table

Field Name Type Width


User_name Varchar2 20
Pass Varchar2 20

Online Table

Field Name Type Width


User_name Varchar2 20
Dt_entry Date
Time_in Varchar2 10
Time_out Text
Main Table

Field Name Type Width


Flight_no Varchar2 20
Depart_period Varchar2 10
No_flights Number 4
Day1 Varchar2 20
Day2 Varchar2 20
Day3 Varchar2 20
Flight Class Table

Field Name Type Width


Flight_no Varchar2 20
F_class Varchar2 10
Arrival_city Varchar2 20
Ticket_option Varchar2 10
Fair Number 8

Flight Table

Field Name Type Width


Flight_no Varchar2 20
Depart_date Date
Depart_time Varchar2 10
Arrival_date Date
Arrival_time Varchar2 10
Depart_city Varchar2 20
Arrival_city Varchar2 20
Eco_capacity Number 4
Bus_capacity Number 4
Exe_capacity Number 4
Reservation Table

Field Name Type Width


Flight_no Varchar2 20
R_no Number 4
F_class Varchar2 10
Depart_date Date
Depart_time Varchar2 10
Arrival_date Date
Arrival_time Varchar2 10
Destination Varchar2 20
Seat_no Number 4
Ticket_option Varchar2 10
Cust_no Number 4
Cust_name Varchar2 20
Age Number 2
Address Varchar2 30
City Varchar2 20
State Varchar2 20
Pin_code Varchar2 10
Phone_no Varchar2 10
Fair Number 8
Date_reservation Date
Cancellation Table

Field Name Type Width


Flight_no Varchar2 20
R_no Number 4
F_class Varchar2 10
Depart_date Date
Depart_time Varchar2 10
Arrival_date Date
Arrival_time Varchar2 10
Destination Varchar2 20
Seat_no Number 4
Ticket_option Varchar2 10
Cust_no Number 4
Cust_name Varchar2 20
Age Number 2
Address Varchar2 30
City Varchar2 20
State Varchar2 20
Pin_code Varchar2 10
Phone_no Varchar2 10
Fair Number 8
Date_reservation Date
Date_cancel Date
Fine Number 4
Return_amount Number 8
STRUCTURAL CHART

Flight Entry Module


Add New Flight Entry
Update Flight Entry
Search Flight Entry

Flight Maintenance Module


Add Flight Maintenance Entry
Update Flight Maintenance
Entry
Search Flight Maintenance
Entry

Passenger Module
Reservation Entry
Cancellation Entry
Enquiry about Passenger

Report Entry Module


Show Flight Information
Show Status of Reservation
Show Customer Detail
Show Revenue Detail
Show Fine Detail
DATA DICTIONARY
Objects Naming Conventions
Tables Main, Flight, Flight_Class,
Reservation, Cancellation, Login,
Online1
Fields Login: User_Name, Pass

Online1: User_Name, Dt_Entry,


Time_In

Main: Flight_No, Depart_Period,


No_Flights, Day1, Day2, Day3

Flight_Class: Flight_No, F_Class,


Arrival_City, Ticket_Option, Fair

Flight: Flight_No, Depart_Date,


Depart_Time, Arrival_Date,
Arrival_Time, Depart_City,
Arrival_City, Eco_Capacity,
Bus_Capacity, Exe_Capacity

Reservation: Flight_No, R_No,


F_Class, Depart_Date,
Depart_Time, Arrival_Date,
Arrival_Time, Destination,
Seat_No, Ticket_Option,
Cust_No, Cust_Name, Age,
Address, City, State, Pin_code,
Phone_no, Fair, Date_Reservation

Cancellation: Flight_No, R_No,


F_Class, Depart_Date,
Depart_Time, Arrival_Date,
Arrival_Time, Destination,
Seat_No, Ticket_Option,
Cust_No, Cust_Name, Age,
Address, City, State, Pin_code,
Phone_no, Fair,
Date_Reservation, Date_Cancel,
Fine, Return Amount
Forms Splash, MDIForm, Flight Entry,
Flight Maintenance, Reservation,
Ticket Maintenance, Cancellation,
New User, Login, Flight Search,
Passenger Search, Ticket Price
Search, Enquiry, Customer Status,
Flight Wise Revenue, Class Wise
Revenue, Monthly Fine Form
Progra Public con As
m ADODB.Connection
Variabl Public rs As ADODB.Recordset
es Public rs1 As ADODB.Recordset
Public sql As String, sql1 As
String
Private x As Integer, Cancel As
Integer, dis As Integer
Public nm As String, wnm As
String
Private n As Integer, x As String,
y As Date
Progra Name of files used in the program
m Files
DATA FLOW DIAGRAM
FORMS
Login Form

Dim pass, nam As String


Dim rs As New ADODB.Recordset
Dim CNN As New ADODB.Connection
Dim sql As String

Private Sub cmdcancel_Click()


CNN.Close
txtname.Text = ""
txtpassword.Text = ""
Unload frmLogin
End Sub

Private Sub cmdok_Click()


On Error GoTo manita
sql = "select name,password from
new_user where name='" & txtname.Text
& "'"
rs.Open sql, CNN, adOpenDynamic,
adLockOptimistic
pass = rs!Password
nam = rs!Name

If txtname.Text = nam Then


If txtpassword.Text = pass Then
MDIForm1.Show
Unload frmLogin
Else
MsgBox "wrong password"
txtpassword.Text = ""
txtpassword.SetFocus
End If
Else
MsgBox "wrong user name"
txtname.Text = ""
txtname.SetFocus
End If

rs.Close
Exit Sub
manita:

MsgBox "user not found"


txtname.Text = ""
txtpassword.Text = ""
txtname.SetFocus
rs.Close
End Sub

Private Sub Form_Load()


CNN.Provider =
"Microsoft.Jet.OLEDB.4.0"
CNN.Open "C:\Airline Management
System\Database\airline_management.mdb
"
End Sub

New User Form


TESTING PROCEDURE

After complete every part of the


software there is need software testing for
prove module are function properly or not
and it fulfill all requirement of user. For
this programmer use various type of
software testing techniques and strategies.
Software can be tested in one of two ways:

• Black box testing: - Knowing the


specified function that a product has
been designed to perform, tests can be
conducted that demonstrate each
function is fully operational while at the
same time searching for errors in each
function.

• White box testing: - Knowing the


internal working of product, tests can
be conducted to ensure that “all gears
mesh”, that is internal operation are
performed according to specification
and internal component have been
adequately exercised.
VALIDATION CHECK

The main data, which is required, is all


the details about passenger and flights.
Then we have to feed all these details to
find out the user’s need.

Details that are required are: -


1. While the flight maintenance entry, it
checks the flight is available on that
date according to day of week or
fortnightly or monthly.

2. While flight maintenance, the arrival


date is greater than or equal than the
departure date. If no, then give an error
message.
3. While reservation, it checks the flight is
available on that day or not. If no, then
give the error message.

4. While reservation, it checks the validity


of customer name, city, and state do not
accept the numbers, and in phone no
and pin code do not accept the
alphabets or other special characters.

5. While ticket maintenance, check the


previous entry if they exist then it will
produce the message to update them
otherwise add new record.

6. While every type of searching


operation, check the availability of
flight on the particular day or not.

After the data have been collected it is


checked whether it is correct or not. And
after complication of entire project it has
been checked, whether it is properly
worked or not.
TOOLS/ENVIRONMENT USED

Front End : Visual Basic 6.0


Language : Visual Basic Coding
Back End : Microsoft Access
Platform : Windows OS 9x and
higher version
Processor : Intel Pentium IV
Primary Memory : 128 MB RAM
Secondary Memory : 40 GB Hard
Disk

Explanation:
1. Why use Visual Basic 6.0?
Visual Basic is a windows
programming language that has been
developed at Microsoft Corporation. It
is very powerful programming language
to develop sophisticated windows
programs very quickly. Visual Basic is
one of the RAD (Rapid Application
Development) tools as it enable
programmer to develop application very
easily and very quick. It contains some
BASIC like language that has been
popular over years and it includes all
the necessary extension required to
produce windows programs. Visual
Basic is very popular as front end to
many client/server database systems.
2. Why use Microsoft Access?
Microsoft Access is a RDBMS under
windows. It is used to store and
manipulate large amount of data. The
data is stored in multiple tables and
MS-Access allows us setup
relationships between the tables to
facilitate data retrieval.
3. Why use Windows Operating
System?
Microsoft windows are an operating
system marketed by Microsoft
Corporation, USA. There are different
versions of MS-Windows. The most
popular are:
• Microsoft Windows NT
• Microsoft Windows 95/98/2000/Xp
These days there is very much need for
the Database Management systems in
the clinical data warehouse. So choose
Microsoft Access database which
RDBMS with also support OODBMS.
It works well with Visual Basic 6.0 as
the Front End/Back End combination to
serve as Client/Server Architecture.
Windows operating system 9x and
higher version are best platform for the
project.
GOALS OF APPLICATION

Immediate information retrieval:


One of the main goals of the “AIRLINES
RESERVATION” is to provide the facility
of quick retrieval of information about the
flights, passenger and other related
information.

Current Status:
One of the sub goals is the easy and quick
retrieval of information regarding the
current status of the reservation and those,
which are in pipeline on a particular day or
time.
Immediate and sound storage of
information:
Another main goal of the system is the
quick and easy storage of information. The
storage of information is kept at central
place from where user can retrieve the
useful information is less time.

Another advantage is when updating is


done to any field’s information then the
changes take places where that information
lies. It reduces the human efforts and
chances or error. The stored information
can be backed up in storage devices for
record.
FUTURE APPLICATION

We can make future changes to the project,


so that it will not obsolete, as the future
requirement. We can make changes in
project according to user’s future
requirement.

1. Network
2. Database Security
3. User Rights
4. Can include a comprehensive query
generation capable of performing ad-
hoc queries.
5. Additional reports listing flights
costs and passenger categories could
have been added
USER MANUAL

Introduction:

This installation guide will help in


installing the AIRLINES RESERVATION
correctly on the computer.

System Requirement:
1. Processor : Intel Pentium III or
higher
2. Memory : Minimum 32MB RAM
3. Drivers : 1.44MB Floppy Disk
Drive, Hard Drive
4. Hard Disk : 100 MB or higher
5. Operating system : Windows 9x and
higher
6. Software : Visual Basic 6.0,
Microsoft Access

Installation Process:
To install Airlines Reservation click on
the setup file.
USER DOCUMENTATION

When you start working you get splash


form. You can click on splash form or it
will automatically load User Authentication
form you enter username and password.
Depending on your category (Admin or
Local) user you get Airlines Reservation
main windows form. Where you get menu
item, from menu list you can select any
form that you desire.

If you want to close the Software, selects


the Exit option.
CONCLUSION

The project has been of great help in more


ways than one.

It helped us gain valuable insight into the


principles of GUI designing and user
interface handling.

The Airlines Reservation has been designed


in such a manner that it will fulfill all the
requisite information. The advantage is that
non-technical user can operate it. The user
manual is also produced in this project for
ready information. The Airlines
Reservation is capable of handling all the
information about Flight and Passenger
management. Also, in order to generate
final reports an additional report generating
applications using data reports was added.
BIBLIOGRAPHY

1. Visual Basic, SMU


2. Mastering Visual Basic 6.0, BPB
3. Database access with Visual Basic
6.0, BPB
4. Visual Basic 6.0 Black Book

Você também pode gostar