Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
710 views
in Programming by (106k points)
closed by
Consider the schema R (A, B, C, D) and the functional dependencies  A → B and C → D. If the decomposition is made as R1 (A, B) and R2 (C, D), then which of the following is TRUE ?
1. Preserves dependency but cannot perform lossless join
2. Preserves dependency and performs lossless join
3. Does not preserve dependency and cannot perform lossless join 
4. Does not preserve dependency but performs lossless join

1 Answer

0 votes
by (106k points)
selected by
 
Best answer
Correct Answer - Option 1 : Preserves dependency but cannot perform lossless join

The correct answer is option 1.

Dependency preserving decomposition:

The Decomposition R with the dependency F into R1 and R2 with the dependency F1 and F2 is said to be dependency preserving if and only if Fl=( F1F2 )+

i.e every dependency of R we can determine using the decomposed relation.

                                           R: Fl 
R1 (A, B) : (F1 R2 (C, D) : (F2)

A→B

A→ A

B→B

C→D

C→C

D→D

 

Here reflexive functional dependency removed because they obtain other attributes. So here Fl=( F1F2 ) will be A→B and C→D will satisfy the Fl. So It Preserves dependency.

Lossless join Decomposition:

The Decomposition R into R1 and R2 is said to be lossless if R1  R=R. 

Decomposition R into R1 and R2 is said to lossless if and only if the attribute common must be a key in either  R1 or  Ror Both otherwise it lossy Decomposition or not lossless join.

The schema R (A, B, C, D) key is AC. R1 (A, B) and R2 (C, D) common attribute is empty so It not a key in  R1 or  Ror Both relation. Hence It is not lossless join decomposition.
∴ Hence the correct answer is Preserves dependency but cannot perform the lossless join.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...