Question 63Asked in UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)

Which of the following statements is TRUE? D₁ : The decomposition of the schema R(A, B, C) into R₁(A, B) and R₂ (A, C) is always lossless. D₂ : The…

Which of the following statements is TRUE? D₁ : The decomposition of the schema R(A, B, C) into R₁(A, B) and R₂ (A, C) is always lossless. D₂ : The decomposition of the schema R(A, B, C, D, E) having AD →B, C →DE, B → AE and AE →C, into R₁ (A, B, D) and R₂ (A, C, D, E) is lossless.
  1. ABoth D₁ and D₂
  2. BNeither D₁ nor D₂
  3. COnly D₁
  4. DOnly D₂
Show answerHide answer

Correct answer: (D) Only D₂

Explanation

D₂: R₁ ∩ R₂ = {A, D}, and AD → B, so AD is a key of R₁ (A, B, D); the decomposition is lossless. D₁ is not always lossless since no FDs are given: if B → A and C → A, then the common attribute A is not a key of either table, so the decomposition is lossy. Hence only D₂.

From UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions)

This is question 63 of UGC NET Computer Science PYQ, June 2016 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.