Documentation Supreet

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 28

INDIAN SCHOOL SOHAR

INFORMATICS PRACTICES

2022-2023

Airport
Management
System

Submitted by:
Name- Supreet Kaur
Roll no.-
Class & Sec.- XII-B
ACKNOWLEDGEMENT

I would like to sincerely thank all the people who have been concerned with
the completion of this project.

Firstly, I would like to express my heartfelt gratitude to my Principal, Ms.


Sanchita Verma and my Informatics Practices teacher, Ms. Deepa Dinesh
for her vital support and guidance which has helped me in completing this
project.

Secondly, I would like to thank my parents for their constant support. And
finally, I would like to thank my friends who helped me complete this
project within the given time frame.
Table of contents

PAGE NO.
01 Introduction To Python 1

02 Feasibility study 2

03 About The Project 6

04 Hardware and Software used 7

05 Source Code
8

06 Bibliography 24
Introduction To
Python

* Python is an interpreted high-level general-purpose programming


language created by Guido van Rossum, first released in 1991.
* Its design philosophy emphasizes code readability with its use of
significant indentation.
* Its language constructs as well as its object-oriented approach aims to
help programmers write clear and logical codes for small and large-
scale projects.
* It is usually preferred over other programming languages because of
its:
1. Mature and supportive community
2. Ease of use
3. Support from renowned corporate sponsors
4. Hundreds of Python Libraries and Frameworks
5. Versatility, Efficiency, Reliability and Speed
6. Big Data, Machine Learning and Cloud Computing
7. Flexibility
8. Automation

1
Feasibility study
The feasibility study is the important step in any software development
process. This is because it makes analysis of different aspects like - cost
required for developing and executing the system, the time required for each
phase of the system and so on. If these important factors are not analyzed,
then definitely it would have impact on the organization & the development
and the system would be a total failure.

The purpose of feasibility study is not to solve the problem, but to


determine whether the problem is worth solving. By making analysis
this way it would be possible to make a report of identified area of problem.
By making a detailed analysis in this area a detailed document or report is
prepared in this phase which has details like project plan or schedule of the
project, the cost estimated for developing and executing the system, target
dates for each phase of delivery of system developed and so on. This phase
is the base of software development process since further steps taken in
software development life cycle would be based on the analysis made on
this phase and so careful analysis has to be made in this phase.

The feasibility study concentrates on the following area (TELOS):

* Technology and system feasibility


* Economic feasibility
* Legal feasibility
* Operational feasibility
* Schedule feasibility
Technology and system feasibility
The assessment is based on an outline design of system requirements, to
determine whether the company has the technical expertise to handle
completion of the project.

2
Economic feasibility (Cost/Benefit Analysis)
The economic feasibility study evaluates the cost of the software
development against the ultimate income or benefits expected from the
developed system. It includes identifying cost and benefit factors like-
Development costs and Operating costs. There must be scopes for profit
after the successful completion of the project.

Legal feasibility
It determines whether the proposed system conflicts with legal
requirements, e.g., a data processing system must comply with the local
Data Protection Acts.

Operational feasibility
Operational feasibility is a measure of how well a proposed system solves
the problems and takes advantage of the opportunities identified during
scope definition and how it satisfies the requirements identified in the
requirements analysis phase of system development.

Schedule feasibility
A project will fail if it takes too long to be completed before it is useful.
Typically, this means estimating how long the system will take to develop,
and if it can be completed in a given time period using some methods like
payback period. Schedule feasibility is a measure of how reasonable the
project timetable is. Given our technical expertise, are the project deadlines
reasonable?

Advantages of making Feasibility study:


 As the initial step of software development life cycle, feasibility study
has all the analysis part in it, which helps in analyzing the system
requirements completely.
 Helps in identifying the risk factors involved in developing and
deploying the system
 It helps in making cost/benefit analysis which helps the organization
and system to run efficiently.

3
 It is a report which could be used by the senior or top persons in the
organization. This is because, based on the report the organization
decides about cost estimation, funding and other important decisions
which is very essential for an organization to run profitably and for the
system to run stable.
Software Development Life Cycle
The Systems Development Life Cycle (SDLC) is a conceptual model used
in project management that describes the stages involved in an information
system development project from an initial feasibility study through
maintenance of the completed application.
The following are the activities of the SDLC

 Software requirement analysis SDLC


 Systems analysis and design Software/System
Development

 Design/Code generation Life Cycle - SDLC

 Testing
 Development and Maintenance

A Systems Development Life Cycle (SDLC) adheres to important phases


that are essential for developers, such as planning, analysis, design, and
implementation. A number of system development life cycle (SDLC)
models have been created such as waterfall, fountain, spiral etc.

Requirement Analysis/Investigation
The 1st stage of SDLC is the investigation phase. During this stage,
business opportunities and problems are identified, and information
technology solutions are discussed. Multiple alternative projects may be
suggested, and their feasibility analyzed. The results of the feasibility study
can then be compiled into a report, along with preliminary specifications.
When the investigation stage ends, a decision whether to move forward
with the project should be made.

4
System Analysis
The goal of system analysis is to determine where the problem is, in an
attempt to fix the system. It analyzes the requirement for the proposed
system. To understand the nature of the program to build, the system
engineer must understand the information domain for the software, as well
as required functions, performance and the interfacing. This step involves
breaking down the system in different pieces to analyze the situation,
analyzing project goals, breaking down what needs to be created. From the
available information the system engineer develops a list of system level
requirement for the project.
Design
Systems design describes screen layouts, business rules, process diagrams, a
complete entity-relationship diagram with a full data dictionary and other
documentation. It defines specifically how the software is to be written
including an object model, the client/server technology, a detailed database
design etc. These design elements are intended to describe the software in
sufficient detail that skilled programmers may develop the software with
minimal additional input design. Analysis and design are very important in
the whole development cycle. Any glitch in the design could be very
expensive to solve in the later stage of the software development. The
design must be translated into a machine-readable form.

Testing
In this stage, all the pieces of software are brought together into a special
testing environment and then are checked for errors, bugs and
interoperability. Unit, system and user acceptance testing is often
performed.

Deployment and Maintenance

Deployment is the final stage of initial development. It involves installation,


initial training and may involve hardware and network upgrades. Software
will definitely undergo change once it is delivered to the customer. There
may be many reasons for the change. Change could be due to some
unexpected input values into the system. The software should be developed
to accommodate changes that could take place during the post
implementation period. Maintaining the system is also an important aspect
of SDLC.

5
About the project
This Airport Management System is designed to maintain records of
the various services available at the airport all under one system. It
allows authorized personnel to access, view, update and modify the
data within the database system for the smooth and efficient
management of the airport. These records can be used to analyze,
evaluate, devise and put forward new and creative ideas for the
improvement of the airport and its services.

The airport management system primarily allows us to manage the


services concerning:
* AIRLINES- Keeps records regarding the various airlines that
operate via our airport. Fields in the Airlines table include the code,
name, origin, destination, departure gate and travel class of the
airlines.
* AIRPORT STAFF- Keeps records regarding the basic details of the
staff operating in the airport. Fields in the airport staff table include
the staff id, name, age, department, email id , phone number, date
of joining, salary and bonus.
* AIRPORT DUTY FREE- Keeps record of the duty-free items and
its details. The fields of this table include item number, code, name
and cost.
* AIRPORT LOUNGE SERVICES- It keeps record of the various
lounge services that can be availed at our airport along with the
concerned details.
Using this systematic method of management will help make the
management of the airport smooth and easy. It will help provide details
regarding the services at our airport to the user with ease as all the
options are available under one roof. The system is also made in a very
systematic and easy to use manner for easy accessibility and operation.

6
Hardware and Software used

SOFTWARE

Pandas PyPlot CSV PPT

HARDWARE

* HP LAPTOP-J9RP4D1H
* Processor 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz
* Installed RAM 16.0 GB
* System type 64-bit operating system, x64-based processor
* Windows 10

7
Source Code

import matplotlib.pyplot as plt


import pandas as pd

#Printing airline details


def details():
print("Airline Details:")
print()
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS12\\IP\\AIRPORT_ AIRLINES.csv ")
print(df)

#Adding new airline records


def new_airline():
updated_airlines=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS12\\ IP\\
AIRPORT_AIRLINES.csv")
print(updated_airlines)
a=input("Enter code of Airline:")
b=input("Enter name of Airline:")
c=input("Enter ORIGIN of Airline:")
d=input("Enter destination of Airline:")
e=input("Enter departure gate of Airline:")
f=input("Enter travel class of Airline:")
g=input("Enter annual frequency of Airline:")
updated_airlines.loc[len(updated_airlines)]=[a,b,c,d,e,f,g]
print("Record Saved")
print(updated_airlines)

8
#Deleting column ORIGIN from the table
def delete_col() :
print("Deleting column ORIGIN from customers")
print()
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_AIRLINES.csv")
print(df)
print()
del df["ORIGIN"]
print(df)

#Printing details of airport staff


def staff_details():
print("Staff Details:")
print()
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_STAFF.csv")
print(df)

#Adding new staff records


def new_staff():
import pandas as pd
print("Adding details of new staff to the file:")
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_STAFF.csv")
a=input(("Enter staff id:"))
b=input(("Enter first name:"))
c=input(("Enter last name:"))
d=input(("Enter age:"))
e=input(("Enter department:"))
f=input(("Enter email id:"))
g=input(("Enter phone number:"))
h=input(("Enter date of joining:"))
i=input(("Enter salary:"))
j=input(("Enter bonus:"))
df.loc[len(df)]=[a,b,c,d,e,f,g,h,i,j]
print("Record Saved")
print(df)

9
#Sorting Staff Records
def sort():
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_STAFF.csv ")
df=df.sort_values("STAFF_ID")
print(df)

#Increasing salary of staff


def sal_inc():
print("Increase salary of staff by 1000Rs")
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_STAFF.csv ")
df["SALARY"]+=1000
print(df)

#Duty free items menu


def duty_free():
print("Duty Free items details:")
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\DUTY FREE.csv",index_col=0)
print(df)

#Adding items to dutyfree menu


def addtodutyfree():
print("Adding new items to dutyfree:")
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\DUTY FREE.csv",index_col=0 )
print(df)
a=input(("Enter item code:"))
b=input(("Enter item name:"))
c=input(("Enter item cost:"))
df.loc[len(df)]=[a,b,c]
print("Record Saved")
print(df)

10
#Display lounge facilities
def lounge():
print("We offer a unique services of lounge facilities at our airport which includes:")
print("1. VIP LOUNGE")
print("2. PRIMECLASS LOUNGE")
print("3. BUSINESS CLASS LOUNGE")
x=int(input("Enter choice:"))
n=int(input("No. of hours of lounge service to be availed:"))
if (x==1):
print("You have chosen the VIP Lounge Services.")
s=6000*n

elif (x==2):
print("You have chosen the PRIMECLASS Lounge Services.")
s=4500*n

elif (x==3):
print("You have chosen the BUSINESS Lounge Services.")
s=3500*n

else:
print("Please reenter choice to select lounge service:")
print("The total cost is",s,"RS.")

#Line graph of staff salary and bonus


print("Line graph of staff salary and bonus")
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_STAFF.csv")
print(df)
x=df["STAFF_ID"]
y=df["SALARY"]
z=df["BONUS"]
plt.plot(x,y,color="b",label="Salary",marker="D")
plt.plot(x,z,color="r",label="Bonus",linestyle="dashed",marker="d")
plt.xlabel("Staff ID")
plt.ylabel("Salary and bonus")
plt.title("Salary and bonus of staff")
plt.legend(loc=2)
plt.show()

11
#Pie chart showing prices of various duty free items
def pie_chart():
print("Pie chart showing annual flight frequency")
df=pd.read_csv("C:\\Users\\Hp\\Desktop\\CLASS 12\\IP\\AIRPORT_AIRLINES.csv ",
index_col=0)
print(df)
a=df["AIRLINE_NAME"]
x=df["FREQUENCY"]
plt.title("ANNUAL FLIGHT FREQUENCY")
plt.pie(x,labels=a)
plt.show()

#Defining Main Menu


def mainmenu():
choice=0
while choice!=13:
print("*"*80,"\n")
print("="*20,'WELCOME TO SKYRIDERS INTERNATIONAL AIRPORT',"="*20,"\n")
print("Please pick a choice from the below:")
print("1. Chartered Airline Details")
print("2. Chartering a new flight")
print("3. Deleting column (ORIGIN) from the Airline table")
print("4. Airport Crew Details")
print("5. Updating Airport Crew Details")
print("6. Sorting Airport Crew Details")
print("7. Salary Increment")
print("8. Airport Duty Free Menu")
print("9. Updating Duty Free Menu")
print("10. Lounge Services")
print("11. Salary VS Bonus - LINE PLOT")
print("12. Flights VS Frequency - PIE CHART")
print("13.EXIT","\n")

12
choice=int(input('Enter your choice:'))
if choice==1:
details()
elif choice==2:
new_airline()
elif choice==3:
delete_col()
elif choice==4:
staff_details()
elif choice==5:
new_staff()
elif choice==6:
sort()
elif choice==7:
sal_inc()
elif choice==8:
duty_free()
elif choice==9:
addtodutyfree()
elif choice==10:
lounge()
elif choice==11:
line_graph()
elif choice==12:
pie_chart()
elif choice==13:
print("Software Terminated.Thank you for using the
Skyrider's airport management system")
break
print("\n\n","*"*20,"SKYRIDERS INTERNATIONAL AIRPORT","*"*20,"\n\n", "PLEASE
LOGIN!")
x=["AD001","SK002","NS003"]
y=input("Enter your ADMIN ID: ")
if y in x:
if y=='AD001':
print("WELCOME AADIYA DILNA ANISH!")
elif y=='SK002':
print("WELCOME SUPREET KAUR!")
elif y=='NS003':
print("WELCOME NAYANA CHALLYIL SHIBU!")
print(mainmenu())
else:
print("!!ACCESS DENIED!!")
13
Outputs

WELCOME PAGE

Airline Details

14
Chartering a new flight

15
Deleting a column

Airport Crew Details

16
Updating Airport Crew Details

17
Sorting airport crew details

Salary increment

18
Duty Free Menu

Updating duty free menu

19
Lounge Services

Salary VS Bonus - LINE PLOT

20
Flights VS Frequency - PIE CHART

Choice as 13

21
TABLES USED:

AIRPORT_AIRLINES.csv

AIRPORT_STAFF.csv

22
DUTY FREE.csv

23
Bibliography

Books:
Computer Science With Python – Class XII By: Sumita
Arora

Website:
https://www.geeksforgeeks.org/working-csv-files-python/

24

You might also like