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

  Modify dijkstra''s algorithm

a. Explain how to modify Dijkstra's algorithm to produce a count of the number of different minimum paths from v to w. b. Explain how to modify Dijkstra's algorithm so that if there is more than one minimum path from v to w, a path with the fewest nu..

  Audit evidence process and strategic planning

In what possible ways can an IT auditor collect audit evidence in order to express opinions? List three (3) different techniques for project scheduling. What are computer-assisted audit solutions?

  Length of the array or arraylist

Write a short Java application that stores words in an Array or ArrayList. You get to pick the number of words to store. Generate a random number between 0 (inclusive) and the length of the Array or ArrayList (exclusive).

  Replace the db contents by simply running the new script

The design will evolve over the next couple of projects, so make sure you can quickly modify the database schemata and replace the DB contents by simply running the new script.

  Use map to define convert-euro converts list of us dollars

Use map to define the following functions: convert-euro, which converts a list of U.S. dollar amounts into a list of euro amounts based on an exchange rate of 1.22 euro for each dollar.

  Explain how a free market works

What is business Organization. Explain how a free market works.

  Design an algorithm for a linear array of length o(n)

Design an algorithm for a linear array of length O(n) that convolves two sequences each of length n in O(n) steps. Show that no substantially faster algorithm for such a linear array exists.

  Investigate fat32 versus ntfs write a short summary of them

Investigate FAT32 versus NTFS and write a short summary of them

  Determine the optimum locations to begin development

Your CEO wants to determine the optimum locations to begin development of new sites for 10 more communities in the next two years.

  Esper is a component for complex event processing

Esper is a component for complex event processing (CEP). We use Esper in this exercise to learn about stream database systems and complex event processing. The scenario used in the exercise is building a stock trading robot. The events (ticks) are..

  Identify the major elements in managing project risk

Consider a trip that you might be planning. Describe at least five risks that are associated with taking the trip.

  Use apa referencing style

It is required that you produce a paper of between 1800 and 2300 words (including the abstract but excluding the reference list). Papers of greater than 2300 words will NOT be marked.

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