CS FundamentalsHardGATE CS · Amazon/Microsoft placement
R(A, B, C, D, E, F) has the set of functional dependencies Σ = {A → D, E → C, AE → CD, F → B, B → F}. Which of the following FDs is NOT in Σ⁺ (not implied by Σ)?
- A. AE → B
- B. AB → F
- C. BE → F
- D. BD → F
Correct answer: A. AE → B
{AE}⁺ = {ACDE} does not contain B, so AE → B is not implied; each of the other three follows by computing its LHS closure (augmentation and transitivity).
More DBMS and SQL questions
- R(A, B, C, D) has functional dependencies D → AB, A → BC. What is the highest normal form R satisfies?
- A B+ tree index uses 512-byte blocks, 8-byte search keys, 4-byte block pointers and 6-byte record (data) pointers. Each leaf also keeps…
- R(A, B) = {(1, 3), (3, 2), (3, 4), (4, 2)} and S(B, C) = {(2, 5), (2, 7), (3, 6), (3, 7), (4, 5)}. How many tuples does σ{R.B ≠ S.B}(R ×…
- A query optimizer rewrites σ{city='Pune'}(Customer ⋈ Orders) as σ{city='Pune'}(Customer) ⋈ Orders, where city is an attribute of Customer…
- Which change is an example of PHYSICAL data independence in the three-schema architecture?
- Teach(course, teacher, book) satisfies course ↠ teacher | book, and the course DBMS has 3 teachers and 4 books. How many tuples must Teach…