CS FundamentalsHardGATE CS · PSU (ISRO/BARC)
R(A, B, C, D) has functional dependencies AD → C, A → D, AC → D, D → A. What is the highest normal form R satisfies?
- A. BCNF
- B. 2NF but not 3NF
- C. 3NF but not BCNF
- D. 1NF but not 2NF
Correct answer: D. 1NF but not 2NF
Candidate keys: {AB, BD}. A → C is a partial dependency: A is a proper subset of key AB and C is non-prime, so 2NF fails.
More DBMS and SQL questions
- R occupies 600 blocks and S occupies 400 blocks. Ignoring the cost of writing the result, what is the cost of a hash join (partitioning…
- In a B+ tree every internal node can have at most 101 children and every leaf can hold at most 80 keys. With exactly 3 levels (root at…
- R(A, B) = {(3, 2), (5, 2), (8, 1), (11, 1), (14, 2)}. What does πA(R) − π{R1.A}(σ{R1.A > R2.A}(ρ{R1}(R) × ρ{R2}(R))) return?
- Table Score(name, pts) rows: ('a', 90), ('b', 85), ('c', 90), ('d', 70), ('e', 85), ('f', 60). What does this query return? sql SELECT…
- The system crashes after the last record of this log (immediate database modification; <Ti, X> denotes an update with old and new values…
- Classify the schedule R3(A), W2(A), W3(B), R2(B), W3(A), W1(A), R1(B), W1(B).