Examlex

Solved

Draw an Object-Oriented Class Diagram, Including Traditional Unary, Binary and Ternary

question 23

Essay

Draw an object-oriented class diagram, including traditional unary, binary and ternary relationships, as well as generalization and aggregation relationships as needed, to represent the following Grand Travel Airlines environment. Include all of the attributes and operations listed in the description.
Grand Travel Airlines operates as both a passenger and a cargo airline. It has different kinds of planes for each of the two functions. For planes of both types it keeps track of each plane's top speed, length, and range. In addition, it keeps track of the capacity (number of seats) of each passenger plane and the capacity (in tons or metric tons) of each cargo plane.
Each passenger flight has a flight number, a date, departure time, and arrival time. A flight uses only one airplane while a particular plane is used on many flights.
Grand Travel Airlines has two kinds of passenger planes: jet and propeller driven. For the propeller driven planes it must keep track of the maximum revolutions per minute (RPM) of the propellers. Each jet plane is composed of three parts: the fuselage, the wings, and the engines. Grand Travel records the fuselage height and width, the wingspan (length) of the wings, and the number of engines and their maximum thrust.
An operation calculates the next maintenance date of each passenger plane, but the calculation is different for jet and propeller driven planes.


Definitions:

Special Adjustments

Modifications or changes made to financial statements or business strategies to address specific issues or to better reflect economic realities.

Geographical Adjustments

Adjustments made to policies, prices, or strategies based on the geographical location of markets or resources.

Discounts

are reductions from the usual cost of something, often used to prompt sales or as a negotiation tactic.

Allowances

Discounts or financial concessions given to customers, employees, or distributors as an incentive or for defective goods.

Related Questions