Question: Section B ( a ) Describe how to enforce the entity integrity and the referential integrity. ( 4 marks ) ( b ) Describe how
Section B
a Describe how to enforce the entity integrity and the referential integrity.
marks
b Describe how to check whether a relationship is a weak relationship or a strong relationship.
marks
c Refer to the following description, draw the ER diagrams of the entities "Project", "Department",
"Staff" and their relationships using Crow's Foot Model. For the relationship, please mark both
the cardinality and the connectivity. You do not need to list the attributes of each entity, and do
not need to mark the primary and foreign keys. Note that the ER diagram must be drawn in the
form that can be directly implemented in the relation database.
A company has several departments. Each staff belongs to one department. Each department
has a manager, who is also a staff in this department.
The company is running several projects. Each project has at least one leader and at least one
member. Each staff participates in at least one project as the project member. Some staff also
serves as the leader of the project. A staff can be the leader for at most one project at the same
time.
Each project is under the monitoring of a particular department. A department can monitor
several projects, and some departments may not monitor any project.
marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
