For the relation R(A,B,C,D,E) with the following FDs:
A → B, C → D, AB → C, BC → A
1. List all non-trivial FDs following from the above. (2
marks)
2. Generate all possible keys for R. (2 marks)
3. Check whether R is in BCNF. If it is in BCNF, explain the
criteria you used. If it is not in BCNF, convert it into BCNF,
showing the new relations and their FDs. (5 marks)
For the relation R(A,B,C,D,E) with the following FDs: A → B, C → D, AB →...
Consider a relation R with ve attributes A, B, C, D, and E. You are given the following functional dependencies: A->B, BC->E, and ED->A. (a) List all keys for R. (10 points) (b) Is R in BCNF? If it is, explain why. If is not, decompose it into a collection of BCNF relations. (20 points) (c) Is R in 3NF? If it is, explain why. If it is not, convert it into a collection of 3NF relations. (20 points)
Consider a relation R with five attributes A, B, C, D, and E. You are given the following functional dependencies: A → B, BC→E, and ED→A. (a) Is R in BCNF? If it is not, decompose it into a collection of BCNF relations. 2: BCNF and 3NF (3 points) Consider the relation schema R with attributes A, B, C, and D and the following functional dependencies: AB→C, AC→B, B→D, BC→A. (a) Is R in BCNF? If it is not, decompose...
Let R(A,B,C,D,E) be a relation with FDs F = {AB-C, CD-E, E–B} (2 Points) Select one: O Ris in 3NF but not in BCNF. O Ris not in 3NF but in BCNF. O Ris in 3NF and in BCNF. R is not in 3NF and not in BCNF.
Consider the relation R(A,B,C,D) with FDs A -> B, C -> D, AD -> C, BC -> A. Check for both BCNF and 3NF status. Which of the following is the most accurate summary of the results?R is in BCNF and 3NF. No normalization is necessary.R is in 3NF but not in BCNF. We should try normalizing to BCNF, but this results in information being lost. As such, we stay with the original schema.R is in BCNF but not in 3NF....
Question 1: Functional Dependencies [7 marks Consider a relation R on attributes (A, B, C, D, E, F,G, H) and the following functional dependen- cies. B →G C →D DE →GC → EF DEF → H (a) What is the closure of [F, G, Hy? (b) List all of the candidate keys of R under the dependencies above. (c) List all of the FDs above that are 3NF violations (d) List all of the FDs above that are BCNF violations....
Below are two relations. Each relation has a corresponding set of FDs that hold in the relation. For each relation and corresponding FDs. answer these three questions: (i) What are all the nontrivial FDs that follow from the given FDs? List each FD with a single attribute on the right side. (ii) What are the keys of the relation? (iii) What are the superkeys for the relation that are not keys? Schemas and FDs: (a) R(A, B, C, D) with...
For the following relations and set of FDs: 1. give a key for the relation; 2. state whether the relation is in BCNF, and if it is not state why: 3. give a set of relations in 3NF equivalent to the original relation 1. (33 points) What is the closure of (A,B) with respect to R(A,B,C,D,E,F,G)if R has the following functional dependencies? (a) GCDE AF BF - ABC FC G (b) D-AC-D A+B ABC 2 33 points for each of...
Let R(A, B, C, D, E) be a relation wit FDs F = {AB->C,
CD->E, E->B, CE->A}....
Question 4 Not yet answered Marked out of 2.00 P Flag question Let R(A,B,C,D,E) be a relation with FDs F = {AB-C, CD-E, E-B, CE-A} Consider an instance of this relation that only contains the tuple (1, 1, 2, 2, 3). Which of the following tuples can be inserted into this relation without violating the FD's? (2 points) Select one: 0 (0, 1,...
For the following relation schema and set of FD's R(A,B,C,D) with FD's AB->C, B->D, CD->A, AD->B Indicate the BCNF violations, and decompose the relations into relations that are in BCNF.
Consider the relation R with four attributes ABCD. For each of the two following sets of FDs, determine whether or not the R would be in BCNF, and if it is not, then decompose it into BCNF, and prove the result would produce a lossless join. 1. A → B,BC → D, A →C 2. AB → C,AB → DC → A, D + B