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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started