Constructing a complete object-oriented class diagram

Assignment Help Basic Computer Science
Reference no: EM131269801

In, you were asked to draw an entity-relationship diagram describing Happy Cruise Lines' business environment. We now report that Happy Cruise Lines has been acquired by MegaShip Lines, Inc., which has a fleet of oil tankers, container ships, and automobile transport ships. Thus, with the addition of Happy's cruise ships, MegaShip Lines will have four kinds of ships.

a. Draw an object-oriented generalization diagram, including aggregation relationships as needed, to represent MegaShip's new business environment, with the following attributes and operations. All of MegaShip's ships have ship number, ship name, year built, weight, miles traveled, and next overhaul date attributes. In addition, cruise ships have passenger capacity and next health inspection date; oil tankers have oil capacity, container ships have number of containers, and automobile transport ships have number of automobile attributes. An operation determines the next overhaul date for all of the ships in the same manner. Another operation determines the next health inspection date for cruise ships. An operation calculates the next date for a ship to be refueled. This operation is the same for oil tankers, container ships, and automobile transport ships, but is different for cruise ships because of safety precautions regarding the passengers. Oil tankers are composed of a hull, one or more engines, and one or more oil storage tanks. An attribute of hull is length, an attribute of engine is horsepower, and an attribute of oil storage tank is capacity.

b. Add the information given about cruise ships, cruises, etc., in, to the diagram in part a, constructing a complete object-oriented class diagram.

Reference no: EM131269801

Questions Cloud

What is the probability that a buyer chosen at random : What is the probability that a buyer chosen at random will have a product failure During the warranty period?- During the second year after purchase?
Sale of violent video games : The state of California attempted to ban the sale of violent video games to young people. If the federal government attempted to do the same thing, what provisions of the constitution might allow that regulation?
Calculation of social security benefits : Some have proposed that the calculation of Social Security benefits should be changed so that only 20 years of earnings are used in the benefit calculation instead of 35. What groups would benefit from this proposal on average? Who would be hurt?
Identify and define the purpose of design and construction : Identify and define the purpose of design and construction details appropriate to traditional low-rise domestic buildings - Appreciate the main physical functional requirements of buildings on planning, building control, and health and safety.
Constructing a complete object-oriented class diagram : In, you were asked to draw an entity-relationship diagram describing Happy Cruise Lines' business environment. We now report that Happy Cruise Lines has been acquired by MegaShip Lines, Inc., which has a fleet of oil tankers, container ships, and ..
Effective in the healthcare model : From your readings for this week explain how motivation can be effective in the healthcare model. Explain how motivation within your own organizations perhaps may have a profound effect.
Individuals employed by intelligence agencies : Explain the free speech rights of employees like Edward Snowden. Are there any limitations on these rights for individuals employed by intelligence agencies? Under Title 5 of the United States (U.S.) Code 2301, employees should be protected against r..
Find the probability that a household chosen at random : What is the probability that a household will use more than 400 gallons of water per day?- Find the probability that a household chosen at random will use at most 400 gallons of water per day.
Examine the long-term and organizational factors : Examine the long-term and organizational factors and issues mentioned above. How do these factors impact the enduring, widespread success of a project in the health care setting?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe how the reliability metrics of a system

Describe how the reliability metrics of a system that monitors patients in a hospital intensive care unit and an automated vending machine control system might differ in terms of dependability, availability, reliability, safety, and security.

  Perform name resolution for other devices connected

Link-Local Multicast Name Resolution (LLMNR) (defined by RFC 4795), is a protocol based on the DNS packet format. LLMNR allows IPv4 and IPv6 network nodes to perform name resolution for other devices connected to the same local link.

  Proprietary nature of the apple platform

What are the benefits of apps? The disadvantages? Are there any benefits/disadvantages to the proprietary nature of theApple platform?

  Provide example of a business networking scenario

Provide example of a business networking scenario

  Effective enterprise risk management

The following material may be useful for the completion of this assignment. You may refer to the documents titled "Embracing Enterprise Risk Management: Practical Approaches for Getting Started" and "Developing Key Risk Indicators to Strengthen En..

  Explain animation schemes comprise slide transitions

Some animation schemes comprise slide transitions and some don't. When would the transition be suitable? When would it not be suitable?

  File sharing program

Explain what your process was and how the experiment went. Were you successful? What did you learn from the experience ?Experiment choice #1:  File Sharing Program Download a current version a file sharing program such as BitTorrent and use it to dow..

  Benefits are of using views in a database

Research and/or think about what a "View" is related to databases and explain what the benefits are of using Views in a database? Under what circumstances would you break down an overall design to include individual user views?

  Identify the many factors that affect decisions on location

Identify the many factors that affect decisions on location. Identify the many factors that affect decisions on a firm's location strategy. Why is it important for a firm to have a location strategy?

  Create a new table using the column structure

Create a new table using the column structure - From the l_foods table, list the description and price values of the following foods: hamburger, french fries, and soda.  Sort the rows by description.

  Consequences of enabling an acl

What will happen if the matching logic is perfect but the ACL is enabled on the wrong interface? Identify any two consequences of enabling an ACL on the wrong interface.

  Pseudocode and flowcharts

General knowledge suggests that pseudocode or flowcharts can include clear and obvious logic errors. Give your opinion as to whether you believe it is worth time and effort to include possible logic errors that may arise during the development of ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd