Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 22

OBJECT ORIENTED PROGRAMMING

PROJECT REPORT
GROUP MEMBERS:

Rashid Sohail 190502


Samran Haider 190430
Shayan Bilal 190458
MUHAMMAD FAHAD SIDDIQ 150271
CLASS:
BEEP-3-B
SUBMITTED TO:
SIR MUHAMMAD UZAIR
SUBMITTED BY:
MUHAMMAD HASEEB SAQIB
FLIGHT RESERVATION SYSTEM
PROBLEM STATEMENT:
You are to develop a C++ code for an airline’s online ticket booking
system. The code should be user-friendly to allow the customer to easily
initiate a new booking, view his existing booking, or cancel it. On the
other hand, the code also allows the airline managers to add or update
information on available flights, and perform other clerical tasks (like
checking the number of bookings, passenger information, etc.). For
simplicity, the code does not need to implement the functionality of a
payment (just entering the PAY string is enough).The problem is very
open- ended, meaning you can use any of the concepts learnt in the
course to implement different additional functionalities to your code
(and earn bonus points!).Use concepts like class inheritance, friend
classes, constructors, private data, arrays, etc to add better structure to
your code. For example, your definitions of Manager and Customer class
can inherit from a Person class.
The code should fulfill the following functionalities:
 Have 2 different levels of authentications; Manager and Customer.
 Both Manager and Customer should have the following attributes:
name, user id,and password.
 Details of all registered users should be saved in a Users text file.
 All “text files” can be implemented as text files of mentioned
names.
Manager:
 Manager can sign in and logout only. No sign up required for
managers (these users should already exist in the users list).
 A sample manager’s name can be “Umar Khan” and the password
is “UM1234”
 New flights are added to the Flights database by the Managers. The
flight information should contain enough attributes to distinctly
identify it.
 A manager can access information about all flights listed in the
system.
Customer:
 Needs to sign up with a username and password.
 Uses the credentials saved at sign up to log in and start a new
session.
 The session starts with the display of the customer console view,
where he can view existing bookings, cancel a booking, or make a
new booking.
 A new booking is made on the available list of flights. Seats can be
booked for multiple passengers in a single booking. All details on a
new booking should be saved in the Booking file.
 Customer should be able to cancel an existing booking from his
console view.Make additional classes, as you deem necessary, to
facilitate a proper functioning of the ticket reservation software.
 Additional points will be awarded to more interactive console
screen designs.

OBJECTIVE:

The objective of this complex engineering activity is to carry out research,


analysis, design,
investigation, and implementation of a real-world complex software
engineering project that has the following attributes:
1. Depth of Analysis Required: The activity requires abstract
thinking, originality in
analysis to formulate suitable software models of the activity;
2. Innovation: The activity involves creative use of engineering
principles and research-
based knowledge in novel ways;
3. Familiarity: The activity can extend beyond previous experiences
by applying principles-based approaches.
WHAT IS FLIGHT RESERVATION SYSTEM?
Airline reservation systems (ARS) are part of the so-called passenger
service systems , which are applications supporting the direct contact
with the passenger.
Airline Reservation System eventually evolved into the computer
reservations system . A computer reservation system is used for the
reservations of a particular airline and interfaces with a global
distribution system which supports travel agencies and other
distribution channels in making reservations for most major airlines in a
single system.

HISTORY OF FLIGHT RESERVATION SYSTEM:


Until the 1950s, airline reservations used manual systems at centralized
reservation centers, which consisted of groups of people in a room with
physical cards that represented inventory, in this case, seats on airplanes.
In the late 1950s, American Airlines wanted a system that would allow
real-time access to flight details in all of its offices, and the integration
and automation of its booking and ticketing processes. It introduced an
electronic reservations system, Magnetronic Reservisor, in 1952. In 1964,
it developed the Sabre (Semi-Automated Business Research
Environment). Sabre's breakthrough was its ability to keep inventory
correct in real time, accessible to agents around the world.
The deregulation of the airline industry, in the Airline Deregulation Act,
meant that airlines, which had previously operated under government-
set fares ensuring airlines at least broke even, now needed to improve
efficiency to compete in a free market. In this deregulated environment,
the ARS and its descendants became vital to the travel industry.
CODE:
OUTPUT:
 AS PASSENGER:
TO BOOK A SEAT:

FOR CANCEL BOOKING:


TO CHECK FLIGHT DETAILS:
 MANAGER LOGIN:
TO ADD NEW FLIGHT:
CONCLUSION:
In this project we develop a code of flight reservation system.
We allow manager to add new flight ,check new of seats
booked, cancel any booking and so on. We also allow
customer to book a seat , check his/her booking. We also allow
customer to book multiple seats if he wants. In this coding
multiple people can book their seats through it. We also allow
customer to check the flight timings and availability of seats
through online system.

Thankyou

You might also like