edited by
131 views
4 4 votes

If $\mathrm{D}=\{\mathrm{R} 1, \mathrm{R} 2\}$ is a decomposition of $\mathrm{R}$, and $\mathrm{F}$ is the set of functional dependencies on $\mathrm{R}$, then which of the following ensures that the decomposition $\mathrm{D}$ is lossless (nonadditive)?

  1. $((\mathrm{R} 1 \cap \mathrm{R} 2) \rightarrow(\mathrm{R} 1-\mathrm{R} 2)) \in \mathrm{F}^{+}$
  2. $((\mathrm{R} 1 \cap \mathrm{R} 2) \rightarrow(\mathrm{R} 1-\mathrm{R} 2)) \notin \mathrm{F}^{+}$
  3. $((\mathrm{R} 1 \cup \mathrm{R} 2) \rightarrow(\mathrm{R} 1-\mathrm{R} 2)) \in \mathrm{F}^{+}$
  4. $((\mathrm{R} 1 \cap \mathrm{R} 2) \rightarrow \mathrm{R} 1) \in \mathrm{F}^{+}$

2 Answers

Best answer
3 3 votes

The decomposition of $R=\left \{ R1,R2 \right \}$ is a lossless or non-additive if atleast one of the dependencies

  • $R1\cap R2\rightarrow R1$
  • $R1\cap R2\rightarrow R2$

belong to $F^{+}$ :- Closure of the set of functional dependencies .

moved by
0 0 votes

The Decomposition D is lossless then it should satisfy any of the below two:

  1. (R1 ∩ R2) → (R1-R2) or 
  2.  R1 ∩ R2) → (R2-R1)

consider the ex: R(ABCDEF) which is decomposed into R1(ABCD) and R2(CDEF) , then this Decomposition becomes lossless when any of the below 2 satisfies:

  1. CD → AB or
  1. CD → EF

Therefore, I can say option A is correct.

edited by
Answer:
Position:
Show:

Related questions

0 0 votes
0 0 answers
41
41 views
Shubham Sharma 2 asked Jun 28
41 views
Which of the following statements is TRUE?The cardinality ratio for a binary relationship specifies the maximum number of relationship instances that an entity can partic...
0 0 votes
0 0 answers
32
32 views
Shubham Sharma 2 asked Jun 28
32 views
Which of the following represents the function of a Multiplexer?$\mathrm{Y}=\mathrm{A}+\mathrm{B}$$\mathrm{Y}=\mathrm{A} \mid \mathrm{B}$$\mathrm{Y}=\mathrm{A} ~\& ~\text...
0 0 votes
0 0 answers
27
27 views
Shubham Sharma 2 asked Jun 28
27 views
The prefix equivalent of the following infix expression is:$a / b-c+d^{*} e-a ^{*}c$$-+-/ a b a^{*} d e^{*} a c$$+ / a b c^{*} d e^{*} a c$$-+/ a b c-^{*} d e^{*} a c$$ +...
0 0 votes
0 0 answers
30
30 views
Shubham Sharma 2 asked Jun 28
30 views
Which of the following file-type arguments is used in fopen $()$ library function to open a new file for both reading and writing, and destroys the file if a file with th...