CS FundamentalsHardProduct-company MCQ pattern
R(A, B, C) has functional dependencies AB → C and C → B. What is the highest normal form of R?
- A. 3NF but not BCNF
- B. 2NF
- C. BCNF
- D. 1NF
Correct answer: A. 3NF but not BCNF
Candidate keys are AB and AC, so all attributes are prime. C → B: C is not a superkey, so BCNF fails; but B is prime, so 3NF holds. This is the textbook 3NF-but-not-BCNF shape.
More DBMS and SQL questions
- R(A, B, C) with A → B and B → C. Which decomposition is lossless?
- Is the schedule R1(A), R2(A), W1(A), W2(A) conflict serializable?
- Which isolation level prevents dirty reads and non-repeatable reads but may still allow phantom reads (in the SQL standard)?
- Which statement about basic two-phase locking (2PL) is correct?
- A B+ tree is built on a key of 9 bytes. A block is 1024 bytes and a block pointer is 6 bytes. What is the maximum order p (number of child…
- R(A, B, C, D) has A as its only candidate key. How many superkeys does R have?