GATE CS 2019 · Question 42 · Databases · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer
Let the set of functional dependencies F = {QR → S, R → P, S → Q} hold on a relation schema X = (PQRS). X is not in BCNF. Suppose X is decomposed into two schemas Y and Z, where Y = (PR) and Z = (QRS).
Consider the two statements given below.
I. Both Y and Z are in BCNF
II. Decomposition of X into Y and Z is dependency preserving and lossless
Which of the above statements is/are correct?
- (A) Both I and II
- (B) I only
- (C) II only
- (D) Neither I nor II
Answer
Answer (C)
Answer from the official GATE CS 2019 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes