Assignment #2: Entity - Relationship Diagram and Implementation in Access (DUE: Thursday, Feb 17, 2005)
Assignment #2: Entity - Relationship Diagram and Implementation in Access (DUE: Thursday, Feb 17, 2005)
Short-Answer Questions
Question 1:
Given the business rule, “an employee has many degrees,” discuss its effect on attributes, entities
and relationships. Furthermore, discuss the possible implementation of this business rule in Access.
Question 2:
What is a composite entity, and when is it used? Give an example and discuss the implementation
of the example in Access.
Question 3:
When might you want to use entity supertypes and subtypes and what must be the relationship
between them? Give an example and discuss the implementation of the example in Access.
Long-Answer Questions
Use the following business rules to write all appropriate connectivities in the ER diagram:
i) A department has many employees, but each employee is employed by one department
ii) Some employees, known as rovers, are not assigned to any department
iii) A division operates many departments, but each department is operated by one division
iv) An employee may be assigned to many projects, and a project may have many
employees assigned to it.
v) A project must have at least one employee assigned to it.
vi) One of the employees manages each department, and each department is managed by
only one employee
vii) One of the employees runs each division, and each division is run by only one employee
Question 2: (Refers to Figure 1)
Modify the ER model by splitting the M:N relationship into two 1:M relationships that are
connected through a composite entity. Then rewrite the connectivities and cardinalities to match the
changes.
Create a set of Access tables (on paper) and discuss the implementation of the entities and
relationships within Access.
Question 5:
Temporary Employment Corporation (TEC) places temporary workers in companies during peak
periods. TEC’s manager gives you the following description of the business:
CODE DESCRIPTION
SEC-45 Secretarial Work, 45 words per minute
SEC-60 Secretarial Work, 60 words per minute
CLERK General Clerking Work
PRG-VB Programmer – Visual Basic
PRG-C++ Programmer – C++
DBA-ORA Database Administrator, Oracle
DBA-DB2 Database Administrator, IBM DB2
DBA-SQLSERV Database Administrator, MS SQL Server
SYS-1 Systems Analyst – Level 1
SYS-2 Systems Analyst – Level 2
NW-NOV Network Administrator, Novell Experience
WD-CF Web Developer, Cold Fusion
COMPANY OPENING
QUALIFICATION CANDIDATE
JOB_HISTORY PLACEMENT