CS FundamentalsHardProduct-company MCQ pattern
R(A, B, C) with AB → C and C → B is decomposed into R1(A, C) and R2(B, C) to reach BCNF. Which statement is correct?
- A. It is both lossless and dependency preserving
- B. The decomposition is lossy but dependency preserving
- C. The decomposition is lossless but does not preserve AB → C
- D. It is neither lossless nor dependency preserving
Correct answer: C. The decomposition is lossless but does not preserve AB → C
Common attribute C → B, so C is a key of R2 and the join is lossless. But AB → C spans both tables and cannot be checked in either one. This is why BCNF decomposition can lose dependencies while 3NF synthesis never does.
More DBMS and SQL questions
- Schedule: R2(A), R1(B), W2(A), R3(A), W1(B), W3(A), R2(B), W2(B). Which statement is correct?
- Schedule: R1(A), W2(A), W1(A), W3(A). Which statement is correct?
- Classify the schedule W1(A), W2(A), C1, C2 (C = commit; T2 does not read A).
- How many of the following statements are correct? 1. Strict 2PL holds all exclusive locks until commit or abort and so avoids cascading…
- Deadlock prevention with timestamps: T1 (timestamp 5) is older than T2 (timestamp 10). T2 holds a lock on X and T1 requests it…
- Immediate-update recovery with a checkpoint. Log (oldest first): <T1 start>, <T1 commit>, <T2 start>, <checkpoint, active = {T2}>, <T3…