Question
NOTE: read the senario and answer the quiston below ! pls Vocational scenario Jordan Flights (JF): i s a flight managing firm. They want to
NOTE: read the senario and answer the quiston below ! pls
Vocational scenario
| ||||
Jordan Flights (JF): is a flight managing firm. They want to develop a system for flight management. You are currently working as the system architect at JF and you have been asked to manage this project. After many interviews and meetings with different employees and customers, you received the following description about the system: Flights are objects that represent the trip from place to another place through airports. The most basic information about Airports are: (name, city, country, list of departing fights, list of arrival flights). Each flight has flight number, a duration, departing airport, arrival airport, list of passengers, pilot, aircraft.
Aircrafts have model, manufacturer and code but also they come in two types: Airliner and Cargo. Airliner is used to transport passengers and has number of passengers property while Cargo is used to transport goods and has load (in tons) property. All Aircrafts have functionality to calculate the fuel consumption based on its type.
Flights has two types also CargoFlights and PassengerFlights. CargoFlights add load of the flight in tons and the cost per ton. PassengerFlights add the list of passengers. All flights must have functionality to calculate the revenue of the flight based on the following table:
Pilots and Passengers are persons, Persons have name, nationality and passport number. Each Passenger has the number of travelled KM and the ticket price. Pilots stores the flying hours and a list of spoken languages.
Note: Flights and Aircrafts are too general. It has been decided to use an object oriented approach to design and implement the system.
|
LO1 Examine the key components related to the object orientated programming paradigm, analysing design
P1 Examine the
characteristics of the
object-orientated
paradigm as well as the
various class
relationships.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started