I just need someone to draw the diagram for me. Need to draw the diagram like the pic provided? 1. The following are the requirements gathered about the Passenger Cruise Terminal System: 1. A Passenger can go on 1 or many cruises. A cruise can take 1 or many passengers. Passengers book tickets to go on cruise. 2. A Ship can go on 1 or many Cruises. A cruise can sail with only atmost 1 ship. 3. A cruise can go to 1 or many ports. A port can be visited by 1 or more cruises. A cruise will have a schedule for visiting ports. Draw a complete Entity-Relationship-Diagram for the above requirements. Resolve all Many-Many relationships using associative entity. Answer:  Entities and Attributes: Passenger Attributes: Passenger ID (PK), Name, Contact Info, etc. Cruise Attributes: Cruise ID (PK), Cruise Name, Duration, etc. Ticket Attributes: Ticket ID (PK), Passenger ID (FK), Cruise ID (FK), Price, Booking Date, etc. Ship Attributes: Ship ID (PK), Ship Name, Capacity, etc. Port Attributes: Port ID (PK), Port Name, Location, etc. Schedule Attributes: Schedule ID (PK), Cruise ID (FK), Port ID (FK), Arrival Time, Departure Time, etc. Relationships: Books: One-to-Many relationship from Passenger to Ticket. (Indirectly resolves Many-to-Many between Passenger and Cruise as each ticket will be for a specific cruise). Sails On: One-to-Many relationship from Ship to Cruise. A ship can go on many cruises, but each cruise sails with at most one ship. Visits: Many-to-Many relationship between Cruise and Port. This is resolved using an associative entity, which is the Schedule. Associative Entities (to resolve Many-to-Many relationships): Schedule: Serves as the associative entity between Cruise and Port. This resolves the Many-to-Many relationship by breaking it down into two One-to-Many relationships: One-to-Many from Cruise to Schedule. One-to-Many from Port to Schedule. ERD Representation: Passenger entity is connected to the Ticket entity via a one-to-many relationship, as a passenger can book many tickets. Ticket is an associative entity that connects Passenger and Cruise and includes additional attributes like price and booking date. Cruise is connected to the Ship entity with a one-to-many relationship, as a ship can go on many cruises, but each cruise is associated with only one ship. Cruise and Port are connected through the Schedule associative entity. The Schedule contains information on arrival and departure times for a cruise at a specific port. The Schedule entity has a composite primary key that includes Cruise ID and Port ID, representing each unique visit of a cruise to a port. By following these guidelines, you can draw a complete ERD for the Passenger Cruise Terminal System that meets all the specified requirements.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 1.5CP
icon
Related questions
Question

I just need someone to draw the diagram for me. Need to draw the diagram like the pic provided?


1. The following are the requirements gathered about the Passenger Cruise Terminal System:
1. A Passenger can go on 1 or many cruises. A cruise can take 1 or many passengers.
Passengers book tickets to go on cruise.
2. A Ship can go on 1 or many Cruises. A cruise can sail with only atmost 1 ship.
3. A cruise can go to 1 or many ports. A port can be visited by 1 or more cruises. A
cruise will have a schedule for visiting ports.
Draw a complete Entity-Relationship-Diagram for the above requirements. Resolve all
Many-Many relationships using associative entity.

Answer: 

Entities and Attributes:

  1. Passenger

    • Attributes: Passenger ID (PK), Name, Contact Info, etc.
  2. Cruise

    • Attributes: Cruise ID (PK), Cruise Name, Duration, etc.
  3. Ticket

    • Attributes: Ticket ID (PK), Passenger ID (FK), Cruise ID (FK), Price, Booking Date, etc.
  4. Ship

    • Attributes: Ship ID (PK), Ship Name, Capacity, etc.
  5. Port

    • Attributes: Port ID (PK), Port Name, Location, etc.
  6. Schedule

    • Attributes: Schedule ID (PK), Cruise ID (FK), Port ID (FK), Arrival Time, Departure Time, etc.

Relationships:

  1. Books: One-to-Many relationship from Passenger to Ticket. (Indirectly resolves Many-to-Many between Passenger and Cruise as each ticket will be for a specific cruise).

  2. Sails On: One-to-Many relationship from Ship to Cruise. A ship can go on many cruises, but each cruise sails with at most one ship.

  3. Visits: Many-to-Many relationship between Cruise and Port. This is resolved using an associative entity, which is the Schedule.

Associative Entities (to resolve Many-to-Many relationships):

  1. Schedule: Serves as the associative entity between Cruise and Port. This resolves the Many-to-Many relationship by breaking it down into two One-to-Many relationships:
    • One-to-Many from Cruise to Schedule.
    • One-to-Many from Port to Schedule.

      ERD Representation:

      1. Passenger entity is connected to the Ticket entity via a one-to-many relationship, as a passenger can book many tickets.

      2. Ticket is an associative entity that connects Passenger and Cruise and includes additional attributes like price and booking date.

      3. Cruise is connected to the Ship entity with a one-to-many relationship, as a ship can go on many cruises, but each cruise is associated with only one ship.

      4. Cruise and Port are connected through the Schedule associative entity. The Schedule contains information on arrival and departure times for a cruise at a specific port.

      5. The Schedule entity has a composite primary key that includes Cruise ID and Port ID, representing each unique visit of a cruise to a port.

      By following these guidelines, you can draw a complete ERD for the Passenger Cruise Terminal System that meets all the specified requirements.

Entitia: Restaurant, Manager, Menu, MenuItem.
Menu
RESTAURANT
ROSID PK,
Menuis DK
Manager
MAXID
FPKH
F Name
2 Name
hukam
H|| ResName
ZIP Code
"HA"
Мелотуре Legn
Runeh
Dinner
MENUITEM
ME_ID PK
MIName
IMI Desc
/Price
Transcribed Image Text:Entitia: Restaurant, Manager, Menu, MenuItem. Menu RESTAURANT ROSID PK, Menuis DK Manager MAXID FPKH F Name 2 Name hukam H|| ResName ZIP Code "HA" Мелотуре Legn Runeh Dinner MENUITEM ME_ID PK MIName IMI Desc /Price
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Development strategies
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning