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:

Order In Which

Order in which generally refers to the sequence or arrangement of items, events, or actions according to a specific criteria or priority.

Paul Lazarsfeld

An Austrian-American sociologist known for his contributions to communication studies, particularly in media influence and voting behavior.

Erie County Voters

Individuals registered to vote within Erie County, a region that could be located in various states in the United States, participating in electoral processes.

Media Messages

Media messages refer to the content delivered to an audience through various media channels such as television, radio, the internet, and print publications.

Related Questions