0% found this document useful (0 votes)
48 views26 pages

1922 B.SC Cs Batchno 26 PDF

Uploaded by

harshithhs2022
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views26 pages

1922 B.SC Cs Batchno 26 PDF

Uploaded by

harshithhs2022
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

ABSTRACT

The purpose of this section is to state the Goal and Objectives of the Software Project.
The project presented here is the Airline Reservation System.

Airline reservations system is an integrated passenger processing system, including inventory, fares,
ticket-less operations and credit card transactions. All communications are via TCP/IP network
protocol enabling the using of both intranet and internet communications worldwide.

The solution includes several standard items, which are combined to provide an integrated solution
with interfaces to other business systems. The system is based on open architecture, using industry
standard equipment and software. The open nature of VRS allows the addition of new systems and
features, ensuring that the VRS system can be adapted to keep up with the changing requirements of
the airline business.

The VRS suite of software includes the functions of

 Reservations
 Flight inventory
 Fares
All user/agents are allocated a SINE code, which is used during sine-on and then appended to
all transactions carried out by the agent for security purpose. Different security levels may be assigned
so that different agents can access different areas of the system and also different records in the case
where a travel agent is only allowed to review PNR’s that have been created by that agency.

The flights may be specified within a particular date range and may be used to display different
classes of service and different fares within a specific seating class. Sell from availability when it has
been displayed and a simple entry is used to sell seats. A direct sale may be made using a long hand
entry if the flight details are fully known.

1
CONTENT

TITLE PAG
E
NO
.
ABSTRACT 1

INTRODUCTION 2

1 AIM 4-3

2 IDENTIFICATION OF ATTRIBUTES 5-6

3 STATE DIAGRAM 7-8

4 TABLES 9-13

5 IMPLEMENTATION 13

CONCLUSION AND FUTURE WORK 14

REFERENCES 15

APPENDIX (CODE) 16-22

SCREEN SHOTS (OUTPUT) 23-25

ER DIAGRAM 26

2
INTRODUCTION

Airline reservation system is an integrated passenger processing system. This system


includes:
 Fares
 Inventory
 Enquiry
 Reservations

In this system all the communications are via TCP/IP protocol using both the Intranet and
Internet communications worldwide.

The Airline Reservation system has the following Modules:

User registration module:


This module is helpful for the registration of the new customer.
Login module:
This module performs the login of the registered customer. In this module Customer-id and
password is verified.
Reservation module:
This module performs the reservation of the ticket to the registered module.

Cancellation module:
This module performs the cancellation of the reserved ticket.
1 AIM

The main objective is to reduce the mistakes which creep up in manual systems. It
provides good level of security so it takes care of the user’s safety concerns as well. Passengers
can access the whole list of all the flights available on different routes with their timings and fare
both for economy and business classes. One can compare the best deals for them and book a
flight accordingly. When the passengers enter all the details the software helps them to find all
available flights and also information if there are seats available on that particular flight. The
manual work is thus reduced and the chances of errors are reduced to minimum.

SCOPE

• This software helps passengers to look up flights between two points which can be
domestic or international.
• The passengers can find and book tickets for flights through this software. Developed in
java, it is fairly easy to use software having a user-friendly interface

• The main objective is to reduce the mistakes which creep up in manual systems. It
provides good level of security so it takes care of the user’s safety concerns as well.
• One can compare the best deals for them and book a flight accordingly. When the
passengers enter all the details the software helps them to find all available flights and
also information if there are seats available on that particular flight.

• The manual work is thus reduced and the chances of errors are reduced to
minimum.
The OMT methodology uses three kinds of models to describe a system.

1. Object Model: The object model describes the static structure of the objects in a system

and their relationships. The object model contains object diagrams.

2. Dynamic Model: The dynamic model describes the aspects of a system that change over
time. The dynamic model contains state diagram

3. Functional Model: The functional model describes the data value transformations within a
system. The functional model contains data flow diagrams.

Airline Reservation Reservation Flight


System module operation

Flight cancellation User registration New customer

Customer Bank server Registration_info

Login_info Reservation_Info Flight_info

Price_info Transaction_info Airport_info


2 IDENTIFICATION OF ATTRIBUTES

Attributes are properties of individual objects. Attributes should not be objects. Use an
association to show any relationship between two objects. Attributes usually correspond to nouns
to follow by possessive phases. Adjectives often represent specific enumerated attribute values.
Attributes are less likely to be fully described in the statement of problem. The knowledge must
be drawn from the application domain and the real world to find out the attributes.

Class Attributes
Registration_info FirstName, LastName, Address,
ContactNo,City,State,Country,
Gender,Email_Id,
Customer_id, password

Login_info Customer_id, password


Reservation_info Customer_id, flight_num,
Flight_name, derarture_time,
Arrival_time, origin,
Destination, Num_of_seats

Flight_info Flight_num, flight_name,


Departure_time, Arrival_time,
Origin,destination,num_of_seats,
Country_name

Price_info Class,customer_name,
seat_num,price
Transactio_info Credit_num, Credit_type,
Pin_num
Airport_info Country_name, Airport_name
Flight_cancellation Customer_id, Flight_id, origin,
Destination, Flight_name, departure,
Arrival,seat_num
3 STATE DIAGRAM

A state diagram relates events and states. When an event is received, the next state
depends on the current state as well as the event: A change of state caused by an event is called a
transition. A state diagram is a graph whose nodes are states and whose directed arcs are
transitions labelled by event names. A state is drawn as a rounded box containing an optional
name. A transition is drawn as an arrow from the receiving state to the target state: The label on
the arrow is the name of the event causing the transition. Figure below shows a state diagram
describing the behaviour of Airline Reservation System.


● Enter

System
do : Enter the

Operations

Flight Operation Flight


Performs Cancellation

Reservation
DFD-Airline Reservation System:

Customer

Enter
New Airline Reservation Gets
Customer System

Selects the
operation

Reservation
Performs the
operations Operation

Generates the
output

Gives to the

Customer
4 TABLES

1. Database Design

The database design converts the data model developed in logical design to a database
definition that is supported by database software. The first step is independent of the kind of
DBMS used. This step converts the conceptual entity relationships model to a set of record type
is known as the logical record structures. (LRS). The next database design step converts the LRS
to a database definition.

These steps use techniques that depend on the DBMS. DBMS dependent techniques are
needed here because different DBMS support different kind of links between the records. Such
links are used to retrieve records by following the link from one record to another. Database
design depends on the structure supported by DBMS and uses techniques appropriate to these
structures.

DBMS dependent design proceeds in two stages. The first step is logical design. Logical
design defines the DBMS record types and the links between them. The next step is physical
design. This step chooses a physical organization that supports the methods uses to accesses the
databases.
2. Table Description

Table name: Registration_info

Field Description Name Type Width

First Name FirstName Varchar 12

Last Name LastName Varchar 12

Customer’s Address Adress Varchar 16

Customer’s Contact Num ContactNo Number 12

Customer’s City City Varchar 12

Customer’s State State Varchar 12

Customer’s Country Country Varchar 12

Customer’s Gender Gender Varchar 2

Customer’s Email-Id Email_Id Varchar 12

Customer’s Id Customer_id Varchar 8

Customer’s Password Password Varchar 8

Table name: Login_info

Field Description Name Type Width

Customer’s Id Customer_id Varchar 8

Customer’s Password Password Varchar 8


Table name: Reservation_info

Field Description Name Type Width

Customer’s Id Customer_id Varchar 8

Flight’s Number Flight_num Varchar 12

Flight’s Name Flight_name Varchar 12

Departure Time Departure_time Time

Arrival Time Arrival_time Time

Origin Place Origin Varchar 16

Destination place Destination Varchar 16

Number of Seats Num_of_seats Number 4

Table Name: Flight_info

Field Description Name Type Width

Flight’s Number Flight_num Varchar 12

Flight’s Name Flight_name Varchar 12

Departure Time Departure_time Time

Arrival Time Arrival_time Time

Origin Place Origin Varchar 16

Destination place Destination Varchar 16

Number of Seats Num_of_seats Number 4

Country Name Country_name Varchar 12


Table Name: Price_info

Field Description Name Type Width

Class Name Class Varchar 12

Customer’s Name Customer_name varchar 14

Seat Number Seat_num Number 4

Price Of ticket Price Number 4,2

Table name: Transaction_info

Field Description Name Type Width

Credit card number Credit_num Varchar 8

Credir card type Credit_type Varchar 8

Pin Number Pin_num Number 6

Table name: Airport_info

Field Description Name Type Width

Country Name Country_name Varchar 14

Airport Name Airport_name Varchar 14


Table name: Flight_cancellation

Field Description Name Type Width

Customer’s Id Customer_id Varchar 8

Flight’s Number Flight_num Varchar 12

Origin Place Origin Varchar 16

Destination place Destination Varchar 16

Flight’s Name Flight_name Varchar 12

Departure Time Departure_time Time

Arrival Time Arrival_time Time

Seat Number Seat_num Number 4

5 IMPLEMENTATION

5.1 SOFTWARE REQUIREMENTS

Server

Web logic server is used for recording data through Oracle 8i.
Compatible operating system

1. Microsoft Windows 98(SE)


2. Microsoft Windows NT Workstation version 4.0(with service pack 6 or later)
3. Microsoft Windows 2000 Professional
4. Microsoft Windows XP Professional
CONCLUSION AND FUTURE WORK

The software package “Airline Reservation System” provides convenient online


uploading the report from executive and viewing that report by the managing director in an
online fashion. To input the data in a highly validated manner and generating the different
reports, this involves complex process that was being done on based manner.

This package is designed and developed in a compact manner, which is ready to meet the
user’s specification and to serve them in an effective as well as in an enhanced manner. The
actual problem has been observed with keen interest and it has been defined and analyzed in such
a way that it never causes choice to the user. More ever the limitation that has been prevailing in
the existing system had been overcome to suit the need of the user.

High precision and care has been taken to design the data base, input forms an output
reports since they should be given due importance which could otherwise to serious
consequences thus affecting the whole system. The system thus developed has been implemented
successfully which has been performed to scrutinized the validation of each data and errors were
spotted out and then finally cleared in a sophisticated manner.

The added feature of this system is that it has been provided with many provisions for
future enhancement in order to maintain the system in such a way that the future requirement of
the user could also be satisfied and upgraded.
REFERENCES

[1] "Unisys Launches Suite of AirCore® Passenger Service Solutions".

[2] Wardell, David J, "Airline Reservation Systems", 1991. Research paper.

[3] "Passenger Reservations". IBS Software. Retrieved 2021-07-30.

[4] "StackPath". www.aviationpros.com. Retrieved 2021-07-30.

[5] "Italian start-up EGO Airways deploys IBS Software product" @businessline.
Retrieved 2021-07-30.

[6] The Magnetronic Reservisor, introduced in 1952, was the first electronic
reservations system in the airline industry.
APPENDIX

SAMPLE CODE

FOR RESERVATION

public class Book_Ticket extends javax.swing.JFrame


{
public Book_Ticket() {
initComponents();
}
Private void initComponents()
{
jLabel5 = new javax.swing.JLabel(); fid
= new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jLabel5.setFont(new
java.awt.Font("Tahoma", 1, 14));
jLabel5.setText("Flight Id:");
javax.swing.GroupLayoutlayout=newjavax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADI
NG)
.addGap(0, 729, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(21, 21, 21)
.addComponent(jLabel5,javax.swing.GroupLayout.PREFERRED_SIZE,109,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(49, 49, 49)
.addComponent(fid,javax.swing.GroupLayout.PREFERRED_SIZE,200,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(350, Short.MAX_VALUE)))
);
layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADIN
G)
.addGap(0, 359, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(133, 133, 133)
.addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(fid, javax.swing.GroupLayout.PREFERRED_SIZE, 34,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(192, Short.MAX_VALUE)))
);
pack();
}
public static void main(String args[]) {
try
{
for (javax.swing.UIManager.LookAndFeelInfo
info:javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName()))
{
javax.swing.UIManager.setLookAndFeel(info.getClassName()); break;
}
}
}
catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Book_Ticket.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} catch (InstantiationException ex){
java.util.logging.Logger.getLogger(Book_Ticket.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Book_Ticket.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Book_Ticket.class.getName()).log(java.util.logging.L
evel.SEVERE, null, ex);
} java.awt.EventQueue.invokeLater(new Runnable() { public
void run() {
new Book_Ticket().setVisible(true);
}
});
}
private javax.swing.JTextField fid;
private javax.swing.JLabel jLabel5;
}

FOR PAYMENT

public class Payment_Option extends javax.swing.JFrame { public


Payment_Option() {
initComponents();
}
private void initComponents() { jPanel1 =
new javax.swing.JPanel(); jLabel1 =
new javax.swing.JLabel();
Credit_Card = new javax.swing.JButton();
Debit_Card = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0,
0, 0), 3));
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18));
jLabel1.setText("Payment Option");
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLay
out.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(19, 19, 19)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 160,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(20, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Al
ignment.LEADING)
.addComponent(jLabel1, javax.swing.GroupLayout.Alignment.TRAILING,
javax.swing.GroupLayout.DEFAULT_SIZE, 34, Short.MAX_VALUE)
);
Credit_Card.setFont(new java.awt.Font("Tahoma", 1, 14));
Credit_Card.setText("Credit Card"); Credit_Card.addActionListener(new
java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
Credit_CardActionPerformed(evt);
}
});
Debit_Card.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
Debit_Card.setText("Debit Card"); Debit_Card.addActionListener(new
java.awt.event.ActionListener()
{
public void actionPerformed(java.awt.event.ActionEvent evt) {
Debit_CardActionPerformed(evt);
}
});
javax.swing.GroupLayout layout new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.L
EADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap(154, Short.MAX_VALUE
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(166, 166, 166))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
layout.createSequentialGroup()
.addComponent(Debit_Card)
.addGap(86, 86, 86)
.addComponent(Credit_Card)
.addGap(125, 125, 125))))
);
layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LE
ADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(58, 58, 58)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(Credit_Card, javax.swing.GroupLayout.PREFERRED_SIZE, 35,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(Debit_Card, javax.swing.GroupLayout.PREFERRED_SIZE, 35,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap(266, Short.MAX_VALUE))
);
pack();
}
private void Credit_CardActionPerformed(java.awt.event.ActionEvent evt) { setVisible(false);
Credit_Card ob=new Credit_Card(); ob.setVisible(true);
}
private void Debit_CardActionPerformed(java.awt.event.ActionEvent evt) { setVisible(false);
Debit_Card ob= new Debit_Card();
ob.setVisible(true)
}
public static void main(String args[]) { try
{
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Payment_Option.class.getName()).log(java.util.loggi
ng.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Payment_Option.class.getName()).log(java.util.loggi
ng.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex)
{
java.util.logging.Logger.getLogger(Payment_Option.class.getName()).log(java.util.loggi
ng.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex)
{
java.util.logging.Logger.getLogger(Payment_Option.class.getName()).log(java.util.loggi
ng.Level.SEVERE, null, ex);
}
java.awt.EventQueue.invokeLater(new Runnable()
{ public void run() {
new Payment_Option().setVisible(true);
}
});
}
private javax.swing.JButton Credit_Card;
private javax.swing.JButton Debit_Card;
private javax.swing.JLabel jLabel1; private
javax.swing.JPanel jPanel1;
}
SCREENSHOTS
HOME PAGE

LOGIN PAGE

SIGNUP PAGE
FLIGHT TICKET BOOKING PAGE

PAYMENT PAGE

FLIGHT TICKET CANCELLATION PAGE

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy