CS FundamentalsHardGATE CS · Amazon/Microsoft placement
On R(A, B, C, D, E), F = {BE → CD, D → B, AC → D} and G = {B → C, AC → B, E → A}. Which statement is correct? ("F covers G" means every FD of G is in F⁺.)
- A. G covers F, but F does not cover G
- B. F and G are equivalent
- C. Neither covers the other
- D. F covers G, but G does not cover F
Correct answer: C. Neither covers the other
Check each FD of one set by its LHS closure under the other set. F covers G: no; G covers F: no.
More DBMS and SQL questions
- R(A, B, C, D) has FDs A → B, B → C, C → D and D → A. Every attribute is a candidate key. A designer still decomposes R into R1(A, B) and…
- Optimistic (validation-based) concurrency control runs each transaction in three phases. In which order, and when are its writes applied…
- R(A, B, C, D, E) has functional dependencies DE → B, AC → E, AD → E, BD → CE, C → A. How many prime attributes does R have?
- A file has 50,000 records of 200 bytes stored unspanned in 2048-byte blocks, NOT ordered on attribute X. A dense secondary index on X (a…
- A table Teach(course, teacher, book) records that each course is taught by several teachers and uses several books, independently of each…
- How many of these statements are correct? 1. A BCNF decomposition obtained by the standard algorithm is always lossless. 2. A BCNF…