Draw a class diagram for each of the following situations.

  • A house may have many construction projects, but some houses never have such a project. A construction project can have a contractor, but this is not necessary. The construction project can have zero or many vendors.
  • Some people see a number of Broadway shows but some people never see a Broadway show. Each Broadway show sells many tickets to the show. The ticket includes the show, the theater, and the seat.
  • An airline provides many flights. Flights have a departure airport, an arrival airport, and may have several stopover airports. (At stopover airports, the flight lands and takes off again, and has the same flight number). Each airport is associated with a city. Each city can have zero or more airports, Each airport has many flights leaving and arriving each day.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.