0% found this document useful (0 votes)
11 views48 pages

Everest Airport Booking System Overview

bro

Uploaded by

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

Everest Airport Booking System Overview

bro

Uploaded by

Jaden Williams
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

EVEREST AIRPORT FLIGHT BOOKING SYSTEM

Year of Examination 2023


Subject Computer Science
Candidate Number • 1500190877
• 1500191946
• 1500192853
• 1500193205
• 1500193370
Candidate Name • Gabriel Cummins
• Callia Jackson
• Jorden Ollivierre
• Annesley Jr. Roban
• Patrianna Samuel
Title of Project Everest Airport Flight Booking System
Name of Teacher Ishanta Cummins
TABLE OF CONTENTS

Definition of Problem…………………………………………………………………… 2

System Requirements…………………………………………………………………… 3

Code…...………………………………………………………………………………… 5

Flow Charts…………………………………………………………………………….. 12

Defining Diagram………………………………………………………………………. 22

User Documentation…………………………………………………………………….. 24

Hierarchy Chart…………………………………………………………………………. 32

Test Plans and Results……………………………………………………………………. 33

1
Definition of Problem
Everest Airport is an institution that has provided excellent airline services at affordable prices
for the past four (4) years of its operation. Currently, there are over fifty (50) employees
working at Everest, who utilizes the Airline Flight Booking System.

The Everest Booking system is being used presently to access and store flight information. This
system is one that requires employees to input information about passengers, flight seatings
and airlines for specific destinations manually.

At the moment, the system being used has a lot of major problems. Such drawbacks include
customers being placed on the wrong flight and customers missing their flights. With the
system being updated manually, an abundance of human error is prevalent This caused the
business to lose a lot of money and customer reviews have dropped severely.

Hence, our group has designed a new system called The Everest Reservation System (TERS)
to effectively improve the way information is input, processed, accessed, and stored. This new
system will also reduce the number of errors made by employees. This system would also have
an app which would enable the customer to have direct contact with the flight prices, booking
information and information on the flight they have currently booked. TERS would use a
program to easily input names by abbreviations and numbers to the specified flight using
variable names which would be easily accessible. This new system would assign names to
flights and retrieve the flight information quickly to be readily available to the customer
present. TERS would make working easier, effective and limit errors which will result in
customers being satisfied and prevent Everest airport from losing income.

2
System Requirements

Functional Requirements

This system would be able to:

1. Accept customer information

2. Edit customer information

3. Delete customer information

4. Display Airline information

5. Edit Airline Information

6. Delete Airline Information

7. Accept the destination choice of the customer

8. Assign customers on suitable flights

9. Assign seats to customers.

10. Calculate total amount to be paid by each customer

11. Display Plane Ticket Invoices

12. Store Plane Ticket Invoices in files.

Non-Functional Requirements

The system would not be able to:

1. Store more than seventy-five (75) customer information at one time

2. Restore deleted customer information

3. Track plane locations

4. Notify customers if flights are canceled

5. Track on flight purchases

6. Track luggage by customer names

7. Assign different flight classes to specified customers

3
8. Give customers access to system errors

9. Notify employees of delays.

The system would be:

10. Safe and Secure- Ensuring that files are secure and customer information is kept
confidential.

The system would require:

11. Windows 10, or Windows 11 to function effectively.

12. 100 MB of storage to install the Everest app

13. 1 GB of RAM to run the Everest app

4
Code

5
6
7
8
9
10
11
Flowcharts

int main()

12
getCusInfo ()

2 1

13
2 1

14
destFile()

readDest()

15
readDest()

16
3

A
4

17
totalCost()

18
cusInvoice()

1
2

6
5

19
6
5

20
cusInvoiceFile()

21
Defining Diagrams

getCusInfo()
Input Processing Output
first-name Prompt for first-name,
last_name last_name, age, passportcode,
age address, gender, and
passportcode luggage_weight
address destFile() function
gender Read first-name, last_name,
luggage_weight age, passportcode, address,
gender and luggage_weight

Call destFile() function

destFile()
Input Processing Output
getCusInfo() Display contents of the Contents of
Airline_Destination_File.txt Airline_Destination_File.txt

Call readDest() function readDest() function

readDest()
Input Processing Output
dest Prompt for dest customerinfo[passengers].first_name,
customerinfo[passengers].last_name,
Read dest and seat_count to the various files:
Swift_Seating.txt,
Print Dooks_Seating.txt,
customerinfo[passengers].first_name, EverSlow_Seating.txt,
customerinfo[passengers].last_name, Primera_Seating.txt,
and seat_count for each passenger to DreamCity_Seating.txt
their respective airline seating file

Call totalCost() function


totalCost() function

travelCost()
Input Processing Output
dest Calculate total_amnt
cusInvoice() Function
Call cusInvoice() function

22
cusInvoice()
Input Processing Output
dest Print contents of the passenger’s plane ticket invoice;
plane ticket invoice; customerinfo[passengers].first_name,
customerinfo[passengers].first_name, customerinfo[passengers].last_name,
customerinfo[passengers].last_name, customerinfo[passengers].age,
customerinfo[passengers].age, seat_count, departure_date,
seat_count, departure_date, arrival_date, destination and airline
arrival_date, destination and airline

Call cusInvoiceFile() function cusInvoiceFile() Function

cusInvoiceFile()
Input Processing Output
cusInvoice() Print customerinfo[passengers].first_name, Customer_Invoice .txt
customerinfo[passengers].last_name,
customerinfo[passengers].passportcode and
total_amnt to the Customer_Invoice.txt file

num Prompt for num

Read num getCusInfo() Function

Call getCusInfo() function

23
User Manual
The Everest Airport Airline Booking System is an interactive program that enables the user to enter the
information of the passenger, the passenger’s destination choice, the total cost to be paid and to print
the plane ticket invoice for the passenger.
This guide was developed to demonstrate users on how to:
1) Start up the program.
2) Enter Passenger Information.
3) View the Contents of Destination File and Choose Destination Choice.
4) View the Invoice.
5) View Airline Seating Files.
6) View Passenger Invoice File.
7) Exit the Program.

24
Starting up the Program

After downloading the program, the user must navigate where it is located and select it via right
clicking or double clicking the Application for it to open.

Alternatively, if the file is saved on the home screen, the user can simply double click it for it to be
opened.

25
Entering Passenger Information

Upon successful opening of the application, the user would be greeted and requested to enter the
passenger’s information.

26
Viewing the Contents of the Destination File and Choosing Destination Choice

Secondly, upon successful entering of the passenger’s information, the user would now be able to
read the contents of the Airline_Destination_File.txt. Which upon viewing, would enable the user
to select a suitable choice for the passenger’s destination from a range of numbers from zero (0)
to four (4).

However, if the file does not exist, an error message such as, “File could not be displayed. “,
would be shown.

27
Viewing the Invoice
After entering the destination choice, the user would then be able to view the plane ticket invoice of
the passenger, which contains the passenger’s full name, age, airline, seat number, destination,
departure and arrival dates, and the total cost to be paid by the passenger.

28
Viewing Airline Seating Files

To view the contents of the various Airline seating files, the user would have to navigate the
location of the files on their computer. Once the text files are found, the user can either right click
it or double click it to select and open the file.

29
Viewing the Passenger Invoice File

To view the contents of the Customer_Invoice.txt file, the user would have to navigate the
location of the file on their computer. Once the file is found, the user can either right click it or
double click it to select and open the file.

30
Exiting the Program

For the user to exit the program, they must click the ‘X’ to the far-right hand corner of the
computer screen.

However, if the user wishes to return to the homepage of the code, they must enter any number on
their keyboard.

31
Hierarchy Chart

32
Test Plan and Results

Test Plan
Function getCusInfo()

Test Test Subject Description Test Expected Actual Results


Criteria Results

Normal first_name The James Reads the First name was


passenger's first name read
Extreme first name PrincessConsuella-Banana Reads the First Name was
first name read
Erroneous 123456 Program First name was
terminates read

Normal last_name The Adams Reads the Last name was


passenger's last name read
Extreme last name Buffays-Hannigan- Reads the Last name was
Hammocks last name read
Erroneous 453%$678 Program Last name was
terminates read

Normal age The 45 Reads the Age was read


passenger's age
Extreme age 567 Reads the Age was read
age
Erroneous a Program Program
terminates malfunctioned

Normal passport_code The GHFG56 Reads passport_code is


passenger's passport read.
passport_code code
Extreme 345678GHTG Reads passport_code is
passport read.
code
Erroneous # Reads passport_code is
passport read.
code

Normal address The Anguilla Read the Address was


passenger's address read
Extreme address RoyalParkCentralPeaceTown Read the Address was
address read
Erroneous 123456 Read the Address was
address read

Normal gender The M Reads the Gender was read


passenger's gender
Extreme gender Female Reads the Gender was read
gender

33
Erroneous 1234 Program Gender was read
terminates

Normal 78 Reads the Luggage_weight


luggage was read and
weight and destFile()
runs function was
destFile() called
function
Extreme The 590 Reads the Luggage_weight
luggage_weight passenger's luggage was read and
luggage weight and destFile()
weight runs function was
destFile() called
function
Erroneous WQ Program Program
terminates malfunctioned

Picture 1: Showing the getCusInfo() Function input under the Normal Criteria

: Indicating the getCusInfo()Function results for the Normal Criteria

34
Picture 2: Indicating successful entry of the luggage_weight of normal criteria within the getCusInfo() function, resulting in
the destFile() Function being called

Picture 3: Showing The input of extreme data for each variable within the extreme criteria of the getCusInfo() function

Picture 4: Showing the contents of the Airline_Destination_File.txt upon successful calling of the destfile() function upon the
input of the luggage_weight in the extreme criteria

35
Picture 5: The effects of the erroneous input of the first_name variable, last_name variable and 'a' in the age variable
on the effective running of the code

Picture 6: The effects of the erroneous input of '#' in the variable passport_code

Picture 7: Showing the contents of the destination file after the destFile() function was called upon successful input of the
luggage_weight, even though the erroneous value of '#' was entered for the variable passport_code

36
Picture 8: Indicating the input of the erroneous value of '123456' in the address variable of the getCusInfo() Function

Picture 9: Showing the contents of the destination file after the destFile() function was called upon successful input of the
luggage_weight, even though the erroneous value of ‘123456' was entered for the variable address

Picture 10: Displaying the erroneous input of '1234' for gender in the getCusInfo() function

37
Picture 11: Showing the contents of the destination file after successful entry of luggage_weight, even though an
erroneous value for gender was entered

Picture 12: Showing the erroneous value of 'WQ' entered in the variable luggage_weight

Picture 13: Showing the effects of the erroneous value of luggage_weight on the effective running of the code

38
Test Plan
Function destFile()

Test Test Subject Description Test Expected Results Actual Results


Criteria

Normal Airline_Destination_File.txt File If File information File information was


containing File would be displayed.
information exists displayed
Extreme about each If file File information File information was
airline and does would not be not displayed, and an
their not displayed, and error message was
destination. exist error message printed
would be printed

Picture 14: The contents of the Airline_Destination_File.txt

Picture 15: Indicating that the file existed because the contents are printed to the screen

39
Picture 16: Indicating that the file does not exist and therefore, its contents cannot be displayed

40
Test Plan
Function readDest()

Test Test Description Test Expected Results Actual Results


Criteria Subject

Normal dest This represents 1 The destination choice The destination choice
the destination would be read, the was read, the
choice in a passenger’s full name passenger’s full name
numerical form and seat_ count_dooks and seat_ count_dooks
of the passenger would be printed to the was printed to the
Dooks_Airline_Seating Dooks_Airline_Seating
file and the travelCost() file and the travelCost()
function would be function was called.
called.
Extreme 5 An error message would An error message was
be displayed displayed
Erroneous q Program Terminates Program malfunctioned

Picture 17: Indicating the input of the value '1' under the normal criteria of destination choice

Picture 18: Showing successful printing of the specified passenger information to the respective Airline Seating file of
Dooks_Seating.txt as the choice was '1'

41
Picture 19: Indicating successful call of the travelCost() function after the normal criteria value for dest was entered

Picture 20: Displaying the effect of the user entering an extreme value of '5', resulting in an error message being
displayed.

42
Picture 21: Showing the input of the erroneous value of 'q' for destination choice

Picture 22: Indicating the effects of the erroneous value of 'q' being entered on the effective running of the system

43
Test Plan
Function cusInvoiceFile()

Test Criteria Test Subject Description Test Expected Results Actual Results

Normal Customer_Invoice.txt File that If File The total amount The total amount
holds the exists and name of and name of the
total cost customer would customer was
that each be printed to the printed to the file
customer file
Extreme must pay If File The total amount A file was created
does and name of and the total
not customer would amount and name
exist not be printed to of the customer was
the file and an printed to the file
error message and an error
would be message was not
displayed displayed

Normal num Variable to 1 The number The number was


be entered would be read read and the
to return to and the getCusInfo()
homepage. getCusInfo() function was called.
function would
be called.
Extreme The ‘X’ The program The program
to the would be terminated.
far- terminated.
right
hand
corner
of the
screen
was
clicked.
Erroneous c The program The program
would be malfunctioned.
terminated.

44
Picture 23: The contents of the Customer_Invoice.txt File after it was proven that it existed

45
Picture 24: Showing the input of "1" for the normal criteria of the variable num

Picture 25: Indicating successful return to the Homepage within the getCusInfo() function

Picture 26: Showing that the 'X' was selected' to exit the code

46
Picture 27: Actual result of selecting the 'X'

Picture 28: Showing the input of the erroneous value of 'c'

Picture 29: Effect of the erroneous value of 'c' on the effective running of the code

47

You might also like