Airline Booking System
Airline Booking System
Contents
1 Group 2
2 Introduction 2
3 Requirements Document 3
5 Traceability Matrix 5
1
1 Group
Aditi Saharan C0760753
Amanpreet Kaur C0757773
Amarjot Singh C0758558
Arshpreet Kaur C0758537
2 Introduction
In this Project, we are going to make a system for Airline reservation . Firstly, we will discuss about Unified Processes
in short then move to the design of project.
1. Unified Process - The Unified Process fits the general definition of a process: a set of activities that a team performs
to transform a set of customer requirements into a software system.
Requirements - It is a set of Application’s functional requirements.
Use Case - Use cases are expressed in natural language (English or the native language of the customers). Well-written
use cases are also intuitively obvious to the reader.Use cases offer the ability to achieve a high degree of traceability of
requirements into the models that result from ongoing development. By keeping the use cases close by at all times, the
development team is always in touch with the customers’ requirements
Traceability matrix -is a document, usually in the form of a table, used to assist in determining the completeness of a
relationship by correlating any two baselined documents using a many-to-many relationship comparison.[1] It is often
used with high-level requirements (these often consist of marketing requirements) and detailed requirements of the
product to the matching parts of high-level design, detailed design, test plan, and test cases.
2
3 Requirements Document
Requirement 1(R1): The system shall provide flight and seat availability according to user’s conditions.
Requirement 2(R2): Make Passenger account for future use and for keeping documents of the users
Requirement 3(R3): The system shall allow user to choose their seats.
Requirement 4(R4): The system shall send notifications regarding the cancellation or rescheduling of flight.
Requirement 5(R5): The user will request the system to choose between the provided meals for flight
3
4 USE CASES and UML
1. Requirement 1: The system shall provide flight and seat availability according to user’s conditions.
2. Requirement 2: Make user account for future use and for keeping documents of the users
4. Requirement 4:
4
4.4.1 UML OBJECT Name:Message
5. Requirement 5:The system shall allow user to choose meal according to preference.
5 Traceability Matrix
Airline Reservation System
Requirements Passengers Flight Ticket
R1 Yes
R2 Yes
R3 Yes Yes
R4 Yes Yes
R5 yes
5
6 SQL Commands to Create Tables in database
6.1 SQL for creating tables
6.1.1 Passenger Table
CREATE TABLE passenger (
Passenger_Id VARCHAR (50),
Passport_id VARCHAR (50),
Name VARCHAR (50),
Contact_No VARCHAR (50) ,
Adress VARCHAR (50),
PRIMARY KEY (Passport_id)
) ;
);
);
6
INSERT INTO passenger (Passenger_Id, Passport_id,Name, Contact_No, Adress)
VALUES (’P06’, ’ A2431327’, ’Phillpa’,’647-679-0051’,’4555 Main street ’);
INSERT INTO passenger (Passenger_Id, Passport_id, Name, Contact_No, Adress)
VALUES (’P07’, ’L2565327 ’, ’Kamalpreet Kaur ’,’447-578 -0052’,’4556 Sheppard Ave ’);
INSERT INTO passenger (Passenger_Id, Passport_id, Name, Contact_No, Adress)
VALUES (’P08’,’N2485589 ’, ’Manpreet Kaur’,’647-679-0152’,’4557 Washington ’);
INSERT INTO passenger (Passenger_Id, Passport_id, Name, Contact_No, Adress)
VALUES (’P09’, ’A2665350 ’, ’Arshdeep Kaur ’,’643-679-0052’,’550 London’);
INSERT INTO passenger (Passenger_Id, Passport_id, Name, Contact_No, Adress)
VALUES (’P10’, ’U8463385 ’, ’Khushdeep Singh’,’644-679-0052’,’450 Abbey road ’);
7
Ticket_Status, Meal)
VALUES (’FY9999005’,’90’, ’2019 -05 -10’,’V164’,’K2467384’,’2019 -06 -25’,’1395.58’,’ Confirmed’ ,’Veg’);
INSERT INTO tickets (Ticket_No, Seat_No, Booking_Date, Flight_No, Passport_id, Travel_Date, Ticket_Price,
Ticket_Status, Meal)
VALUES (’FY9999006’,’54’, ’2019 -07 -22’,’V165’,’A2431327’,’2019 -09 -23’,’1800.52’,’Confirmed’,’Non-Veg’ );
INSERT INTO tickets (Ticket_No, Seat_No, Booking_Date, Flight_No, Passport_id, Travel_Date, Ticket_Price,
Ticket_Status, Meal)
VALUES (’FY9999007 ’,’78’, ’2019 -08 -26’,’V166’,’L2565327 ’,’2019 -09 -30’,’1692.70’,’Confirmed’,’Veg’ );
INSERT INTO tickets (Ticket_No, Seat_No, Booking_Date, Flight_No, Passport_id, Travel_Date, Ticket_Price,
Ticket_Status, Meal)
VALUES (’FY9999008’,’43’, ’2019 -07 -20’,’V167’,’N2485589’,’2019 -10 -30’,’1478.52’,’ Confirmed’,’Non-Veg’ );
INSERT INTO tickets (Ticket_No, Seat_No, Booking_Date, Flight_No, Passport_id, Travel_Date, Ticket_Price,
Ticket_Status, Meal)
VALUES (’FY9999009’,’43’, ’2019 -08 -26’,’V168’,’A2665350’,’2019 -10 -30’,’1980.52’,’ Confirmed’,’Veg’ );
INSERT INTO tickets (Ticket_No,Seat_No, Booking_Date, Flight_No, Passport_id, Travel_Date, Ticket_Price,
Ticket_Status, Meal)
VALUES (’FY99990010’,’234’, ’2019 -07 -1 ’,’V169’,’U8463385’,’2019 -10 -30’,’1490.52’,’Confirmed’,’Non-Veg’ );
For Seat-
select passenger.Passport_id , tickets.Seat_No ,Flight.Flight_No
from passenger , tickets, Flight
where passenger.Passport_id = tickets.Passport_id and tickets.Flight_No = Flight.Flight_No
For Meal-
select Passport_id, Meal
from tickets