CS FundamentalsVery hardGATE CS · PSU (ISRO/BARC)
R(A, B, C, D, E, F) has functional dependencies B → ACDEF. What is the highest normal form R satisfies?
- A. BCNF
- B. 1NF but not 2NF
- C. 3NF but not BCNF
- D. 2NF but not 3NF
Correct answer: A. BCNF
Candidate keys: {B}. The left side of every non-trivial dependency in F+ is a superkey, so R is in BCNF.
More DBMS and SQL questions
- Which isolation anomaly is still possible at the SQL REPEATABLE READ level (as defined by the SQL standard)?
- A B-tree (not B+ tree) stores a record pointer with every key in every node. With 2048-byte blocks, 16-byte keys, 8-byte tree pointers and…
- Table P(x) rows: (1), (2), (2), (3), (NULL). Table Q(x) rows: (2), (3), (3), (NULL), (4). What does this query return? sql SELECT (SELECT…
- R(A, B) = {(1, 4), (2, 4), (3, 3), (4, 1), (4, 3)} and S(B, C) = {(1, 6), (2, 5), (2, 6), (3, 5), (4, 5)}. How many tuples are in πA(R ⋈…
- Table Staff(id, name, dept, pay, boss) rows: (1, 'Anu', 'Ops', 40, NULL), (2, 'Bala', 'Ops', 55, 1), (3, 'Chitra', 'Tech', 70, 1), (4…
- R(A, B, C, D, E) has functional dependencies B → AC, C → B, AC → B, A → B. How many prime attributes does R have?