Which of the following relations can not be decomposed in to BCNF with a lossless join and dependency-preserving decomposition ?
R (V, W, X, Y) {VW→X, X→VY}
A relation is in BCNF when the left side of every non-trivial functional dependency is a superkey. BCNF decomposition is always possible losslessly, but dependency preservation can fail when an attribute on the right of one dependency is part of the left side of a key dependency, so splitting on the violating dependency separates the attributes the key dependency needs.
Step 1 — R(V, W, X, Y) with {VW → X, X → VY}: keys are VW (VW → X → Y) and WX (X → V, so WX → V, Y). X → VY violates BCNF because X alone is not a superkey.
Step 2 — To remove the violation, X and its dependents V, Y must go into a table (X, V, Y), leaving (X, W). Then VW → X spans both tables: V is in one, W in the other and no table holds V, W, X together, so VW → X is lost. Any table that keeps V, W and X together also contains X → V with X not a superkey, so it is not in BCNF. Hence this relation cannot be put into BCNF losslessly while preserving dependencies.
Step 3 — R(V, W, X, Y, Z) with {VW → X, WX → V, VX → W, W → Y, Y → Z}: decompose into (W, Y), (Y, Z) and (V, W, X). In (V, W, X) the keys are VW, WX and VX, so all three dependencies there have superkey left sides. Every dependency lives in one table, so the decomposition is lossless, preserving and in BCNF.
Step 4 — R(V, W, X, Y) with {VW → W, X → Y}: VW → W is trivial; X → Y violates BCNF. Decomposing into (X, Y) and (V, W, X) is lossless (X is a key of (X, Y)), both tables are in BCNF and X → Y is kept.
Step 5 — R(V, W, X, Y, Z) with {VW → X, X → Y, Y → Z}: the key is VW. Decompose into (Y, Z), (X, Y) and (V, W, X); each table's dependency has a key on its left, and no dependency links X back to V or W, so (V, W, X) with key VW is in BCNF. All three dependencies are preserved and the joins are lossless.
R (V, W, X, Y) {VW→X, X→VY} option is correct.
Which of the following is false ?
The Relation
Vendor Order (V_no, V_ord_no, V_name, Qty_sup, unit_price)
is in 2NF because :
Select the ‘False’ statement from the following statements about Normal Forms :
Consider the schema
R = {S, T, U, V}
and the dependencies
S → T, T → U, U → V and V → S
If R = (\(R_{1}\) and \(R_{2}\)) be a decomposition such that \(R_{1} \cap R_{2} = \phi\) then the decomposition is
Consider the following relational schemas for a library database :
Book (Title, Author, Catalog_no, Publisher, Year, Price)
Collection(Title, Author, Catalog_no)
with the following functional dependencies :
I. Title, Author → Catalog_no
II. Catalog_no → Title, Author, Publisher, Year
III. Publisher, Title, Year → Price
Assume (Author, Title) is the key for both schemas. Which one of the following is true ?
Which of the following statements is false ?
In a schema R(A, B, C, D, E, F, G, H), each field of R contains only atomic values.
F = {CH→G, A→BC, B→CFH, E→A, F→EG} is a set of functional dependencies so that F+ is exactly the set of FDs that holds R. The relation R is :
Which of the following/s is/are FALSE statement?
A. An all key relation is always in BCNF since it has no FDs.
B. A relation that is not in 4NF due to nontrivial MVD must be decomposed to convert it into a set of relations in 4NF.
C. The decomposition removes the redundancy by the MVD.
D. 3NF is stronger than BCNF.
Choose the correct answer from the options given below:
Fifth normal form is concerned with :
For a database relation R(A, B, C, D) where the domains of A, B, C and D include only atomic values, only the following functional dependencies and those that can be inferred from them are :
A → C
B → D
The relation R is in _______.
Which of the following statement(s) is/are correct regarding a relation in second normal form?
I. It is in first normal form
II. Every non-key attribute is fully and functionally independent on the primary key
Which of the following normal forms specifically addresses and eliminates partial dependencies?
Consider a relational schema team(name, city, owner), with functional dependencies {name $\to$ city, name $\to$ owner}.
The relation team is decomposed into two relations, t1(name, city) and t2(name, owner). Which of the following statement(s) is/are TRUE?
In a relational database, which one of the following is CORRECT:
Which of the following is false ?