CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
How many of these statements are correct? 1. A BCNF decomposition obtained by the standard algorithm is always lossless. 2. A BCNF decomposition that preserves all dependencies always exists. 3. The 3NF synthesis algorithm always gives a lossless, dependency-preserving decomposition. 4. Every relation in 3NF is also in 2NF.
- A. 3
- B. 1
- C. 4
- D. 2
Correct answer: A. 3
1, 3 and 4 are true. Statement 2 fails: for R(A, B, C) with AB → C and C → B, every BCNF decomposition loses AB → C.
More DBMS and SQL questions
- R(A, B, C, D, E, F) has functional dependencies AD → BF, BD → F, F → A. How many superkeys does R have?
- R(A, B, C, D, E) with functional dependencies A → E, D → C, C → DE is decomposed into R1(C, D, E), R2(A, B, C). Which statement is correct?
- Which statement about linear hashing is correct?
- R(A, B, C, D, E, F) has functional dependencies AC → BE, D → E, C → A, AB → F. What is the closure {BC}⁺?
- Σ = {B → A, D → B, AD → C, A → D}. Consider the FD AD → C while computing a canonical cover. Which statement about extraneous attributes…
- Table Acct(no, branch, bal) rows: (101, 'Agra', 500), (102, 'Agra', 1500), (103, 'Bhopal', 700), (104, 'Bhopal', 700), (105, 'Cuttack'…