4. (a) Describe how to enforce the entity integrity and the referential integrity. (b) (c) (4...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
4. (a) Describe how to enforce the entity integrity and the referential integrity. (b) (c) (4 marks) Describe how to check whether a relationship is a weak relationship or a strong relationship. (4 marks) 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. (12 marks) 4. (a) Describe how to enforce the entity integrity and the referential integrity. (b) (c) (4 marks) Describe how to check whether a relationship is a weak relationship or a strong relationship. (4 marks) 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. (12 marks)
Expert Answer:
Related Book For
Fundamentals Of Database Systems
ISBN: 9780133970777
7th Edition
Authors: Ramez Elmasri, Shamkant Navathe
Posted Date:
Students also viewed these programming questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
Southern Stitches is a local casual clothing shop that makes a variety of t-shirt styles. Below is some actual vs. budget information for Southern's t-shirts for the month of May. Assume no...
-
Determine the force in each of the members located to the left of FG for the scissors roof truss shown. State whether each member is in tension or compression. 1 kN 2 kN 2 kN 1 kN Im
-
1. Deniz invests $ 9 , 8 0 0 in a deposit account; After 3 years, its value is $ 1 3 , 2 5 0 . What is the rate of return on investment? 2. Derya deposits $ 5 , 0 0 0 into a bank account compounded...
-
Outline the steps involved in: (a) planning (b) executing (c) reporting (d) following up an internal audit.
-
Mayn Co., a womens clothing store, purchased $36,000 of merchandise from a supplier on account, terms FOB destination, 2/10, n/30. Mayn Co. returned $4,000 of the merchandise, receiving a credit...
-
Xenor Corporation introduced a bond in 2002 that offered a coupon rate of 8 1/2%, resulting in coupon payments of $8.50. The bond is scheduled to mature in 2032. If the current going interest rate in...
-
Two-dimensional dynamics often involves solving for two unknown quantities in two separate equations describing the total force. The block in (Figure 1) has a mass m = 10kg and is being pulled by a...
-
If ground shaking is VI in Modified Mercalli Intensity scale, the earthquake magnitude is .. a)local magnitude between 5 and 7 b)it is impossible to determine from this information alone c)local...
-
Greenvale Ltd sold some property to Thornleigh Ltd for $1 000 000 cash in June 2020, recording a profit of $200 000. A further element of the sale was that Greenvale Ltd gave Thornleigh Ltd an option...
-
Brockbank Builders Ltd is preparing a cash budget for May and June of 2019. Past records reveal that 20% of all credit sales are collected during the month of sale, 60% in the month following the...
-
Hundreds of UK businesses are setting up shop in the Netherlands in a new twist to the United Kingdoms Brexit saga. When Andrew Moss sought advice from a senior government advisor about his business,...
-
The owner of Smith Hardware has completed a bank reconciliation and cannot get the banks records to agree with the cash records of his business. He concludes that internal control has somehow failed...
-
Ken Dunlop of Dunlops Dishes wishes to prepare a cash budget for the 6 months ending 30 June 2020 so he can arrange for overdraft drawings facilities, if required. The following information is...
-
Node.js/Javascript Collaborative App With this assignment we introduce some new web app elements. 1) We break away from the strict HTTP request-response model and allow asynchronous communication...
-
Diamond Walker sells homemade knit scarves for $25 each at local craft shows. Her contribution margin ratio is 60%. Currently, the craft show entrance fees cost Diamond $1,500 per year. The craft...
-
In what way do the generalized definitions of 2NF and 3NF extend the definitions beyond primary keys?
-
Define Boyce-Codd normal form. How does it differ from 3NF? Why is it considered a stronger form of 3NF?
-
Consider the two tables T1 and T2 shown in Figure 8.15. Show the results of the following operations: a. T1 T1.P = T2.A T2 b. T1 T1.Q = T2.B T2 c. T1 T1.P = T2.A T2 d. T1 T1.Q = T2.B T2 e. T1 T2 f....
-
Someone who exposes the ethical misdeeds of others in an organization is usually called a/an _________. (a) whistleblower (b) ethics advocate (c) ombudsman (d) stakeholder
-
If a manager fails to enforce a late-to-work policy for all workersthat is, by allowing some favored employees to arrive late without penaltiesthis would be considered a violation of _________. (a)...
-
According to research on ethics in the workplace, _________ is/are often a major and frequent source of pressures that create ethical dilemmas for people in their jobs. (a) declining morals in...
Study smarter with the SolutionInn App