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.
Correct Answer:
Verified
Q31: In a generalization/specialization hierarchy, attributes are inherited
Q32: Generalization/specialization is a relationship that can be
Q33: An OODBMS will only permit the attributes
Q34: Generalization/specialization is denoted in a UML diagram
Q35: Generalization/specialization is a relationship in which a
Q36: The Unified Modeling Language (UML) is the
Q37: A BLOB (binary large object) is an
Q38: Aggregation is denoted by a diamond-shaped symbol
Q39: The modification or refinement of methods or
Q40: In a generalization/specialization hierarchy, attributes can be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents