0% found this document useful (0 votes)
38 views3 pages

Exercises11 10&11 11

The document describes several entity relationship diagrams: 1) A company has 4 departments and each department belongs to one company. 2) Each department employs 1 or more employees and each employee works for one department. 3) Each employee may have 0 or more dependents and each dependent belongs to one employee. 4) Each employee may have 0 or 1 employment history. 5) A consolidated ER diagram combines the entities and relationships from the previous diagrams.

Uploaded by

Mimi Mujeres
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views3 pages

Exercises11 10&11 11

The document describes several entity relationship diagrams: 1) A company has 4 departments and each department belongs to one company. 2) Each department employs 1 or more employees and each employee works for one department. 3) Each employee may have 0 or more dependents and each dependent belongs to one employee. 4) Each employee may have 0 or 1 employment history. 5) A consolidated ER diagram combines the entities and relationships from the previous diagrams.

Uploaded by

Mimi Mujeres
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Exercises

11.10 Create an ER diagram for each of the following descriptions:

(a) Each company operates four departments, and each department belongs to one company.

Operates
Company Department
1..1 4

(b) Each department in part (a) employs one or more employees, and each employee works
for one department.

Employs
Department Employee
1..1 1..*

(c) Each of the employees in part (b) may or may not have one or more dependants, and each
dependant belongs to one employee.

Has
Employee Dependent
1..1 0..*

(d) Each employee in part (c) may or may not have an employment history.

Provides
Employee Employment
1..1 0..*
History
(e) Represent all the ER diagrams described in (a), (b), (c), and (d) as a single ER diagram.

Operates
Company Department
1..1 4

1..1

Employs

1..*

Provides Employee
Employment
History 0..* 1..1

1..1
Has

0..*

Dependent
11.11 You are required to create a conceptual data model of the data requirements for a company that
specializes in IT training. The Company has 30 instructors and can handle up to 100 trainees per
training session. The Company offers five advanced technology courses, each of which is taught
by a teaching team of two or more instructors. Each instructor is assigned to a maximum of two
teaching teams or may be assigned to do research. Each trainee undertakes one advanced
technology course per training session.

(a) Identify the main entity types for the company.

(b) Identify the main relationship types and specify the multiplicity for each relationship.
State any assumptions you make about the data.

(c) Using your answers for (a) and (b), draw a single ER diagram to represent the data
requirements for the company.

Assigned IsPartOf
Research Instructor TeachingTeam
0..* 1..1 1..1 0..2

1..1

Teaches

1..*

Attends Provides
Trainee Training Advanced
1..* 1..* Session 1..* 1..1 Course

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy