Question: 8. Identify the Has-A and Is-A relationship between the following items. Explain your reasoning. [10 points] Car Gasoline Engine Horn Ocean liner Propeller Sails Sailboat
8. Identify the Has-A and Is-A relationship between the following items. Explain your reasoning. [10 points]
Car
Gasoline Engine
Horn
Ocean liner
Propeller
Sails
Sailboat
Ship
Spark Plugs
Tires
Truck Vehicle for Transportation
9. Draw a UML Class Diagram for the list of items in Question 8. Include the Has-A and Is-A relationships you identified in your answer to that question. [15 points]
10. Draw a UML Sequence Diagram for the process involved in paying a vendor for an item in cash. The process to follow is below. [15 points
a) Go to the bank b) Request your account balance c) The bank teller determines your balance from their system d) The bank teller gives you your account balance e) Withdraw the necessary amount of money f) Pay the vendor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
