Consider the relation Courses (C, T, H, R, S, G), whose attributes may be thought of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the relation Courses (C, T, H, R, S, G), whose attributes may be thought of informally as course, teacher, hour, room, student, and grade. Let the set of FD's for Courses be C→ T. HR → C. HT→ R, HSR, and CS → G. Intuitively, the first says that a course has a unique teacher, and the second says that only one course can meet in a given room at a given hour. The third says that a teacher can be in only one room at a given hour, and the fourth says the same about students. The last says that students get only one grade in a course. a) What are all the keys for Courses? b) Verify that the given FD's are their own minimal basis. c) Use the 3NF synthesis algorithm to find a lossless-join, dependency-preserving decomposition of R into 3NF relations. Are any of the relations not in BCNF? Consider the relation Courses (C, T, H, R, S, G), whose attributes may be thought of informally as course, teacher, hour, room, student, and grade. Let the set of FD's for Courses be C→ T. HR → C. HT→ R, HSR, and CS → G. Intuitively, the first says that a course has a unique teacher, and the second says that only one course can meet in a given room at a given hour. The third says that a teacher can be in only one room at a given hour, and the fourth says the same about students. The last says that students get only one grade in a course. a) What are all the keys for Courses? b) Verify that the given FD's are their own minimal basis. c) Use the 3NF synthesis algorithm to find a lossless-join, dependency-preserving decomposition of R into 3NF relations. Are any of the relations not in BCNF?
Expert Answer:
Answer rating: 100% (QA)
a The keys for Courses are Course C Teacher T Room R Student S Grade G b To verify that the given FDs are their own minimal basis we need to show that none of the FDs can be removed without losing the ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
In this question assume that p and q are atomic formulae. (a) Compare and contrast path formulae and state formulae in temporal logic. [4 marks] (b) Describe and contrast the meanings of F(G p) and...
-
Given a shaky economy and high heating costs, more and more households are struggling to pay utility bills (The Wall Street Journal, February, 14, 2008). Particularly hard hit are households with...
-
Gamma Corporation was organized in 2014. At December 31, 2014, Gamma Corporation's statement of financial position reported the following shareholders' equity: Shareholders' Equity Share Capital:...
-
Riggs Corp. management is planning to spend $650,000 on a new marketing campaign. They believe that this action will result in additional cash flows of $325,000 over the next three years. If the...
-
A customer sued a pharmacist and the drug store that employed the pharmacist (Walgreens). The pharmacist reviewed the prescription records of a customer (during her shift at work), learned that the...
-
Computing the amount of impairment loss. Tillis Corporation acquired the assets of Kieran Corporation (Kieran) on January 1, 2006, for $2,400,000. On this date the fair values of the assets of Kieran...
-
9. An arrow 2.5 cm high is placed at a distance of 25 cm from a diverging mirror of focal length 20 cm., Find the nature, position and size of the image formed. 10. The image formed by a convex...
-
A 31.5- glass thermometer reads 236C before it is placed in 135 mL of water. When the water and thermometer come to equilibrium, the thermometer reads 392C. What was the original temperature of the...
-
What factors should managers taken into consideration when presented with an employee's request for a work life balance arrangement? What particular needs do female employees face in work-life...
-
Charles Torn and Harvey Beaton go into business together in 1982 when they purchase a real estate sales company located in Truro, Nova Scotia. Charles and Harvey both get their real estate broker's...
-
Tech Case 1 (20 points maximum) Objective: Tech Case 1 is designed to help you apply course content from chapters 2 and 3 to a real world technological innovation. All assignments are to be...
-
Discuss the organisational and individual factors that contribute to political behaviours, and the effect this has on the business environment.
-
QUESTIONS: BRIEF a summary of your reaction and lessons learned from the jury deliberation. Answer these questions: Were you able to come to an agreement? Why or why not? What evidence did others...
-
The distinction between physical examination of assets and examination of documents is dependent on the item being examined. If the object being examined has no inherent value, the evidence is called...
-
Per Bag Direct materials: 25 pounds of CWhiz-2000 @ $0.08/lb. = $ 2.00 Direct labor: 0.05 hour @ $32.00/hr. = $ 1.60 The company manufactured 100,000 bags of Cheese-Be-Good in December and used...
-
Figure 1 was recorded by an instrument operated by the California Department of Mines and Geology at the University Hospital of the University of Southern California in Los Angeles. Use it to...
-
A box with an open top is to be constructed from a rectangular piece of cardboard with dimensions 12 in. by 20 in. by cutting out equal squares of side at each corner and then folding up the sides as...
-
A television camera is positioned 4000 ft from the base of a rocket launching pad. The angle of elevation of the camera has to change at the correct rate in order to keep the rocket in sight. Also,...
-
The costs of putting goods into a saleable condition should be charged to (A) The trading account (B) The profit and loss account (C) The statement of financial position (D) None of these
-
The descending order in which current assets should be shown in the statement of financial position is (A) Inventory, Accounts receivable. Bank, Cash (B) Cash, Bank, Accounts receivable, Inventory...
-
Carriage inwards is charged to the trading account because (A) It is an expense connected with buying goods (B) It should not go in the statement of financial position (C) It is not part of motor...
Study smarter with the SolutionInn App