0% found this document useful (0 votes)
2K views

ERD Exercise (Extra)

The document provides 5 scenarios for drawing Entity Relationship Diagrams (ERDs). The scenarios describe relationships between entities such as: departments and employees within a company; factories, regions, and employees of a manufacturing company; customers, employees, projects, and equipment for a construction company; entities for a passenger reservation system for an airline; and members, dinners, entrées, and desserts for a cooking club. The learner is instructed to draw simple ERDs based on each scenario.

Uploaded by

sharmila_yusof
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

ERD Exercise (Extra)

The document provides 5 scenarios for drawing Entity Relationship Diagrams (ERDs). The scenarios describe relationships between entities such as: departments and employees within a company; factories, regions, and employees of a manufacturing company; customers, employees, projects, and equipment for a construction company; entities for a passenger reservation system for an airline; and members, dinners, entrées, and desserts for a cooking club. The learner is instructed to draw simple ERDs based on each scenario.

Uploaded by

sharmila_yusof
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

STID3013 Sistem Pangkalan Data dan Capaian Maklumat / Database System and Information Retrieval

ERD Exercises

INSTRUCTION – Draw simple ERD based on the following scenarios.

1.Each of the MegaCo Corporation’s divisions is composed of many departments. Each


of the departments has many employees assigned to it, but each employee works for only
one department. Each department is managed by one employee, and each of these
managers can manage only one department at a time.

2.The KwikTite Corporation operates many factories. Each factory is located in a


region. Each region can be "home" to many of KwikTite’s factories. Each factory
employs many employees, but each of these employees is employed by only one factory.

3. Pick and Shovel Construction Company is a multi-state building contractor


specializing in medium-priced town homes. Assume that Pick and Shovel’s main entities
are its customers, employees, projects and equipment. A customer can hire the company
for more than one project, and employees sometimes work on more than one project at a
time. Equipment, however, is assigned to only one project at a time. Draw an ERD
showing those entities.

4. FastFlight Airlines is a small air carrier operating in three north-eastern states.


FastFlight is in the process of computerizing its passenger reservation system. The
following data items have been identified: reservation code, flight number, flight date,
origin, destination, departure time, arrival time, passenger name, seat number, reservation
agent number and reservation agent name. For example, flight number 303, which is
scheduled every Tuesday and Thursday, leaves Augusta, Maine, at 9:23am and arrives in
Nashua, New Hampshire at 10:17am. You can assume that the Fast Freight reservation
system will detect automatically whether empty seats are available. Draw the Entity
Relationship Diagram for this system.

5. A cooking club organizes several dinners for its members. The purpose of the club is
to allow several members to get together and prepare a dinner for the other members. The
club president maintains a database that plans each meal and tracks which members
attends each dinner, and also keeps track of which members creates each dinner.

Each dinner serves many members and any member is allowed to attend. Each dinner has
an invitation. This invitation is mailed to each member. The invitation includes the date
of the dinner and location.

Each dinner is based on a single entrée and a single dessert. This entrée and dessert can
be used again for other dinners.

You might also like