retagged by
16,217 views
44 44 votes

Suppose the following functional dependencies hold on a relation $U$ with attributes $P,Q,R,S$, and $T$:

  • $P \rightarrow QR$
  • $RS \rightarrow T$

Which of the following functional dependencies can be inferred from the above functional dependencies?

  1. $PS \rightarrow T$
  2. $R \rightarrow T$
  3. $P \rightarrow R$
  4. $PS \rightarrow Q$

3 Answers

Best answer
44 44 votes
Option A: $(PS)^+ = {P, Q, R, S, T}.$ So, $PS\rightarrow T$ holds.

Option B: $(R)^+ = {R}.$ So, $R\rightarrow T$ does not hold.

Option C: $(P)^+ = {P, Q, R}.$ So, $P\rightarrow R$ holds.

Option D: $(PS)^+ = {P, Q, R, S, T}.$ So, $PS\rightarrow Q$ holds.
edited by
Answer:
Position:
Show:

Related questions

39 39 votes
2 answers 2 answers
14.9k
14.9k views
Arjun asked Feb 18, 2021
14,855 views
The relation scheme given below is used to store information about the employees of a company, where $\textsf{empId}$ is the key and $\textsf{deptId}$ indicates the depar...
32 32 votes
3 answers 3 answers
17.0k
17.0k views
Arjun asked Feb 18, 2021
17,039 views
​​​​​Let $S$ be the following schedule of operations of three transactions $T_1$, $T_2$ and $T_3$ in a relational database system:$$R_2(Y), R_1(X), R_3(Z), R_1(Y)W_1(X), ...
47 47 votes
3 answers 3 answers
16.2k
16.2k views
Arjun asked Feb 18, 2021
16,232 views
For a string $w$, we define $w^R$ to be the reverse of $w$. For example, if $w=01101$ then $w^R=10110$.Which of the following languages is/are context-free?$\{ wxw^Rx^R \...
69 69 votes
5 answers 5 answers
23.9k
23.9k views
Arjun asked Feb 18, 2021
23,929 views
​​​​​​Consider the following multi-threaded code segment (in a mix of C and pseudo-code), invoked by two processes $P_1$ and $P_2$, and each of the processes spawns two t...