Examlex
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.
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.
Q4: A read or retrieve operation is the
Q4: The interface known as the Common Gateway
Q10: The two phases of the two-phase commit
Q14: _ is the process of copying data
Q14: The intergenerational transmission of violence indicates that
Q24: An associative entity is an alternate way
Q30: A particular data value appearing multiple times
Q33: The prior use of the term chattel
Q41: Which of the following is the unique
Q108: A hashed file has space for 80