

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Problem 1. Given a relation R with four attributes ABCD and a set of FDs {A B, BC D, AD C}, compute F+ by (a) first computing all attribute closures. A+ is completed for you. Attribute closure A+ AB B+ C+ D+ AB+ AC+ AD+ BC+ BD+ CD+ ABC+ ABD+ ACD+ BCD+ ABCD+ (b) adding a to the table entry if (the column) is in (the row)+. The first row is completed for you. A B C D A B
(c) What are the candidate key(s) for R? Problem 2 (Exercise 19.2). Consider a relation R with 5 attributes ABCDE. You are given the following dependencies: {A B, BC E, ED A}. (a) List all keys for R. (b) Is R in 3NF? (c) Is R in BCNF? Problem 3 (Exercise 19.8). Consider the attribute set R = ABCDEGH and the FD set F = {AB C, AC B, AD E, B D, BC A, E G}. (a) For each of the following attribute sets, do the following: (i) Compute the set of dependencies that hold over the set and write down a minimal cover. (ii) Name the strongest normal form that is not violated by the relation containing these attributes. (iii) Decompose it into a collection of BCNF relation if it’s not in BNCF.