Relational Design questions

Q33

GATE CS 2021 CS-1Relational DesignMCQ2 marks−2/3 if wrong
Consider the relation R(P,Q,S,T,X,Y,Z,W)R(P, Q, S, T, X, Y, Z, W) with the following functional dependencies.
PQ→X; P→YX; Q→Y; Y→ZWPQ \to X;\ P \to YX;\ Q \to Y;\ Y \to ZW
Consider the decomposition of the relation RR into the constituent relations according to the following two decomposition schemes.
D1D_1: R=[(P,Q,S,T); (P,T,X); (Q,Y); (Y,Z,W)]R = [(P, Q, S, T);\ (P, T, X);\ (Q, Y);\ (Y, Z, W)]
D2D_2: R=[(P,Q,S); (T,X); (Q,Y); (Y,Z,W)]R = [(P, Q, S);\ (T, X);\ (Q, Y);\ (Y, Z, W)]
Which one of the following options is correct?
Show answer without attempting

Answer: A

Q40

GATE CS 2021 CS-2Relational DesignMSQ2 marks
Suppose the following functional dependencies hold on a relation U with attributes P,Q,R,SP, Q, R, S, and TT:

<br>P→QR<br>RS→T<br>\begin{aligned}<br>P & \to QR \\<br>RS & \to T<br>\end{aligned}

Which of the following functional dependencies can be inferred from the above functional dependencies?
More than one option can be correct.
Show answer without attempting

Answer: A, C, D

0/20 correct0 marks

Related topics in Databases