

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Fall 2009 cs127 homework assignment #4 for a database systems course. The assignment focuses on functional dependencies and normalization, including suggesting candidate keys, normalizing relations to bcnf, and calculating closures and canonical covers. Students are also asked to determine if certain decompositions are dependency preserving and allow lossless joins.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Fall 2009 CS127 Homework #4 Due October 26, 2009
Suppose you are given a relation R(A, B, C, D). For each of the following sets of FD’s that hold over R, do the following: (i) Suggest a candidate key for R. (ii) Suggest a normalization to BCNF, and whether or not it is Dependency Preserving.
Suppose we have a relation R(A, B, Y, V ) and the set of FD’s F = {B → Y, V A → Y, Y A → V, BY → V }. Note that when calculating closures of in the problems that follow, you don’t need to include trivial functional dependencies.
(i) Calculate F +. (ii) Calculate B+. (iii) Calculate a canonical cover for R.
Given the following relation R(A, B, C, D, E, F ) and the set of FD’s {A → CD, CB → E, F → A} state whether the following decompositions... (i)... are Dependency Preserving (ii)... allow Lossless Joins
Give informal arguments, using the definition of functional dependencies, that each of Armstrong’s Axioms are true.
Fall 2009 CS127 Homework #4 Due October 26, 2009
Consider the following proposed rule for functional dependencies: If α → β and γ → β, then α → γ. Prove that this rule is not true by showing a relation R that satisfies α → β, γ → β, α does not imply γ.
Concisely (3 or 4 lines) give an example of when you may want to use a non- normalized database.