air line reservation project report

105
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

Upload: bhaveshsirvi

Post on 29-Mar-2015

1.074 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Air line reservation Project Report

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

Page 2: Air line reservation Project Report

AIRLINES RESERVATION

PROJECT REPORT

ON

AIRLINES RESERVATION

Page 3: Air line reservation Project Report

I D 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)

Page 4: Air line reservation Project Report

I D 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)

Page 5: Air line reservation Project Report

I D 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)

Page 6: Air line reservation Project Report

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.

Page 7: Air line reservation Project Report

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)

Page 8: Air line reservation Project Report

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.

Page 9: Air line reservation Project Report

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

Page 10: Air line reservation Project Report

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

Page 11: Air line reservation Project Report

ACKNOWLEDGEM

ENT

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

Page 12: Air line reservation Project Report

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.

Page 13: Air line reservation Project Report

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

Page 14: Air line reservation Project Report

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

Page 15: Air line reservation Project Report

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

Page 16: Air line reservation Project Report

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.

Page 17: Air line reservation Project Report

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.

Page 18: Air line reservation Project Report

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.

Page 19: Air line reservation Project Report

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.

Page 20: Air line reservation Project Report

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.

Page 21: Air line reservation Project Report

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.

Page 22: Air line reservation Project Report

Rishi paliwal: Whole Project work of

Airlines Reservation

After two months on 20th october 2009

we completed our project and submitted

this project.

Page 23: Air line reservation Project Report

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

Page 24: Air line reservation Project Report

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.

Page 25: Air line reservation Project Report

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:

Page 26: Air line reservation Project Report

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

Page 27: Air line reservation Project Report

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

Page 28: Air line reservation Project Report

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.

Page 29: Air line reservation Project Report

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

Page 30: Air line reservation Project Report

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.

Page 31: Air line reservation Project Report

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

Page 32: Air line reservation Project Report

Cancellation Entry

Enquiry about Passenger

Report Module

Show Flight Information

Show Status of Reservation

Show Customer Detail

Show Revenue Detail

Show Fine Detail

Page 33: Air line reservation Project Report

ABSTRACT

User

Admin

Flight Entry Flight Maintenance Passenger Report

Add New

Update

Search

Add New

Update

Search

Resevation

Cancellation

Enquiry

Flight Info

Status

Customer

Revenue

Fine

Page 34: Air line reservation Project Report

DATABASE STRUCTURE

Login Table

Field Name Type WidthUser_name Varchar2 20Pass Varchar2 20

Online Table

Field Name Type WidthUser_name Varchar2 20Dt_entry DateTime_in Varchar2 10Time_out Text

Main Table

Field Name Type WidthFlight_no Varchar2 20Depart_period Varchar2 10No_flights Number 4Day1 Varchar2 20Day2 Varchar2 20

Page 35: Air line reservation Project Report

Day3 Varchar2 20

Flight Class Table

Field Name Type WidthFlight_no Varchar2 20F_class Varchar2 10Arrival_city Varchar2 20Ticket_option Varchar2 10Fair Number 8

Flight Table

Field Name Type WidthFlight_no Varchar2 20Depart_date DateDepart_time Varchar2 10Arrival_date Date Arrival_time Varchar2 10Depart_city Varchar2 20

Page 36: Air line reservation Project Report

Arrival_city Varchar2 20Eco_capacity Number 4Bus_capacity Number 4Exe_capacity Number 4

Reservation Table

Field Name Type WidthFlight_no Varchar2 20R_no Number 4F_class Varchar2 10Depart_date DateDepart_time Varchar2 10Arrival_date Date Arrival_time Varchar2 10Destination Varchar2 20Seat_no Number 4Ticket_option Varchar2 10Cust_no Number 4Cust_name Varchar2 20Age Number 2Address Varchar2 30City Varchar2 20

Page 37: Air line reservation Project Report

State Varchar2 20Pin_code Varchar2 10Phone_no Varchar2 10Fair Number 8Date_reservation Date

Cancellation Table

Field Name Type WidthFlight_no Varchar2 20R_no Number 4F_class Varchar2 10Depart_date DateDepart_time Varchar2 10Arrival_date Date Arrival_time Varchar2 10Destination Varchar2 20Seat_no Number 4Ticket_option Varchar2 10Cust_no Number 4Cust_name Varchar2 20Age Number 2Address Varchar2 30

Page 38: Air line reservation Project Report

City Varchar2 20State Varchar2 20Pin_code Varchar2 10Phone_no Varchar2 10Fair Number 8Date_reservation DateDate_cancel DateFine Number 4Return_amount Number 8

Page 39: Air line reservation Project Report

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

Page 40: Air line reservation Project Report

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

Page 41: Air line reservation Project Report

DATA DICTIONARY

Objects Naming ConventionsTables 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,

Page 42: Air line reservation Project Report

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

Page 43: Air line reservation Project Report

Search, Enquiry, Customer Status, Flight Wise Revenue, Class Wise Revenue, Monthly Fine Form

Program Variables

Public con As ADODB.ConnectionPublic rs As ADODB.RecordsetPublic rs1 As ADODB.RecordsetPublic sql As String, sql1 As StringPrivate x As Integer, Cancel As Integer, dis As IntegerPublic nm As String, wnm As StringPrivate n As Integer, x As String, y As Date

Program Files

Name of files used in the program

Page 44: Air line reservation Project Report

DATA FLOW DIAGRAM

Page 45: Air line reservation Project Report

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

Page 46: Air line reservation Project Report

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

Page 47: Air line reservation Project Report

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"

Page 48: Air line reservation Project Report

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

Page 49: Air line reservation Project Report
Page 50: Air line reservation Project Report

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

Page 51: Air line reservation Project Report

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.

Page 52: Air line reservation Project Report

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.

Page 53: Air line reservation Project Report

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

Page 54: Air line reservation Project Report

after complication of entire project it has

been checked, whether it is properly

worked or not.

Page 55: Air line reservation Project Report

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

Page 56: Air line reservation Project Report

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?

Page 57: Air line reservation Project Report

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

Page 58: Air line reservation Project Report

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.

Page 59: Air line reservation Project Report

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.

Page 60: Air line reservation Project Report

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.

Page 61: Air line reservation Project Report

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.

Page 62: Air line reservation Project Report

5. Additional reports listing flights

costs and passenger categories could

have been added

Page 63: Air line reservation Project Report

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

Page 64: Air line reservation Project Report

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.

Page 65: Air line reservation Project Report

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.

Page 66: Air line reservation Project Report

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.

Page 67: Air line reservation Project Report

Also, in order to generate final reports an

additional report generating applications

using data reports was added.

Page 68: Air line reservation Project Report

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