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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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