3.
Here, the problem requires the option which is not true.
For the first option, on decomposition the relaiton into AB and AC, the following functional dependencies are noted.
The set of functional dependencies with respect to decomposed relation AB is :
A -> B
Here, attribute A is the superkey in decomposed relation AB as attribute closure of A will give the attributes A and B and this follows BCNF definition.
The decomposed relation AC does not have any functional dependencies.
So, the decomposition follows BCNF definition.
For the second option, the set of functional dependencies of R given is :
BC -> A
A -> B
The candidate key of R are BC and AC as the closure of both the attributes will give all the attributes. So, the prime attributes are A, B and C.
A relation is in 3NF if either the left side attribute in every functional dependency is a superkey or the right side attribute of the same functional dependency is a prime attribute.
Since all the attributes are prime, the relation R is in 3NF.
For the third option, it is correct that BC is a candidate key of R as attribute closure of BC gives { A, B, C }.
For the fourth option, it is wrong because in BCNF, the left side attribute of every functional dependency must be a superkey. But in the given relation R, the functional dependency A -> B, the attribute A is not a superkey.
So, the answer is option 4.
4.
Here, the problem requires the option which is not true.
For the first option, the BCNF decomposition is given as :
In Relation AD,
The set of F.D.s is :
A -> D
In Relation BE,
The set of F.D.s is :
B -> E
In Relation ABC,
There are no FDs.
BCNF property is maintained.
In order to check the lossless property, the common attribute between relation BE and ABC is B and B is the candidate key in relation BE. The common attribute between ABCE and AD is A and A is the candidate key in relation AD. So, the BCNF decomposition is lossless.
For the second option, the BCNF decomposition is given as :
In relation DEC,
The set of F.D.s is :
DE -> C
DE is a superkey in DEC and so it follows BCNF.
In relation AD,
The set of F.D.s is :
A -> D
A is a superkey in AD and so it follows BCNF.
In relation AB,
There are no functional dependencies.
In relation BE,
The set of F.D.s is :
B -> E
B is a superkey in BE and so it follows BCNF.
The common attribute between relation AB and BE is B and B is the candidate key in relation BE. The common attribute between relations ABE and AD is A and A is the candidate key in AD. The common attribute between relations ABED and DEC is DE and DE is the candidate key in DEC. So, the given BCNF decomposition is a lossless decomposition.
The closure of the functional dependencies of the decomposed relations is same as the closure of the original functional dependency.
For the third option, the set of functional dependencies of R is :
A -> D
B -> E
DE -> C
The candidate key is AB as the attribute closure of AB is { A, B, D, E, C }.
So, it is correct that every candidate key of R must contain the attributes A and B.
For the fourth option, the candidate key of R is AB.
For the fifth option, the decomposition is :
In relation AD,
The set of F.D.s is :
A -> D
In relation BE,
The set of F.D.s is :
B -> E
In relation CDE,
The set of F.D.s is :
DE -> C
The relations are in 3NF.
The common attribute between relations BE and CDE is E but E is not the candidate key in either BE or CDE. The common attribute between relations AD and CDE is D but D is not the candidate key in either AD and CDE.
The 3NF decomposition is not a lossless decomposition.
So, the answer is option 5.
my choices for these are wrong. 10 points QUESTION 3 Given R=(A, B, C) is a...
The right side of any functional dependency must contain a candidate key. TRUE FALSE » Given a set of functional dependencies F, there always exists a canonical cover of F TRUE FALSE Some schemas cannot be transformed into BCNF FALSE TRUE Every schema can be transformed into 3NF, and the resulting schema is dependency- preserving TRUE FALSE . Any schema that is in BCNF is also in 3NF FALSE TRUE The right side of any functional dependency must contain a...
Dependency Very Good dependency (key dependency) : XA where Table Very good If all dependencies in a table are '"very good", the table is in BCNF X is a candidate key Good Good dependency: X-> A where If all dependencies in a table are "very good" or "good", the table is in 3NF X is not a candidate key X is a part of a candidate key A is prime attribute Bad Bad dependency (Transitive Dependency): X A where If...
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.
Let R(A,B,C,D,E) be a relation with FDs F = {AB-CD, A-E, C-D, DE} The decomposition of R into R1(A, B, C), R2(B, C, D) and R3(C, D, E) is (2 Points) Select one: Lossy and Dependency Preserving. Lossless and Not Dependency Preserving. Lossy and Not Dependency Preserving. Lossless and Dependency Preserving.
Find the decopmosition of R into R1(A, B, C), R2(B, C,D ) and R3(C, D, E) Let R(A,B,C,D,E) be a relation with FDs F = {AB-CDAE, C-D, D-E} The decomposition of R into R1(A, B, C), R2(B, C, D) and RP(C, D, E) is (2 Points) Select one: Lossy and Not Dependency Preserving. Lossless and Not Dependency Preserving. Lossy and Dependency Preserving. Lossless and Dependency Preserving.
Language: SQL - Normalization and Functional Dependencies Part 4 Normalization and Functional Dependencies Consider the following relation R(A, B, C, D)and functional dependencies F that hold over this relation. F=D → C, A B,A-C Question 4.1 (3 Points) Determine all candidate keys of R Question 4.2 (4 Points) Compute the attribute cover of X-(C, B) according to F Question 43 (5 Points) Compute the canonical cover of F.Show each step of the generation according to the algorithm shown in class....
Let R(A,B,C,D,E) be a relation with FDs F = {AB-CD, A-E, C-D, D-E} The decomposition of Rinto R1(A, B, C), R2(B, C, D) and R3(C, D, E) is 2 Points) Select one: Lossless and Dependency Preserving. Lossy and Not Dependency Preserving. Lossless and Not Dependency Preserving. Lossy and Dependency Preserving.
Let R(A,B,C,D,E) be a relation with FDs F = {AB-CD, A-E, C-D, D-E} The decomposition of Rinto R1(A, B, C), R2(B, C, D) and R3(C, D, E) is 2 Points) Select one: Lossless and Dependency Preserving. Lossy and Not Dependency Preserving. Lossless and Not Dependency Preserving. Lossy and Dependency Preserving.
Consider the following relation R= {A, B, C, D, E} and the following set of functional dependencies F={ A → BC CD → E B + D E + A} Give a lossless, dependency-preserving decomposition into 3NF of schema R
Given the following Schema S = (R, FD) where R = (A, B, C, D, E, F) and FD contains the following dependencies: A -> BC B ->C C -> D D ->E C -> E E -> F DE -> F C -> F 1. Find a minimal cover of F 2. Find a key for the schema 3. Find a 3N decomposition of the schema that satisfies the lossless join decomposition and dependency preservation properties 4. Find a...