Professional KnowledgeHardIBPS SO IT
R(A,B,C) with FDs AB->C and C->B. Decompose into R1(A,C), R2(B,C). Which is true?
- A. Lossy
- B. Lossless but AB->C is not preserved
- C. Lossless and dependency preserving
- D. Neither lossless nor preserving
Correct answer: B. Lossless but AB->C is not preserved
Common attribute C determines B in R2, so lossless. AB->C cannot be derived from projected FDs, so it is lost.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- R(A,B,C,D) has candidate keys AB and CD only. Number of superkeys?
- Which statement about BCNF decomposition is true?
- Let R have 6 tuples and S have 4 tuples. The cardinality of R LEFT OUTER JOIN S (on an attribute) is at least:
- Table T has column X with values (1, 2, NULL, 2, 3). What does SELECT COUNT(X), COUNT(DISTINCT X), COUNT() return?
- For a table with X values (10, 20, NULL), the result of SELECT AVG(X) is:
- Which join returns all rows from both tables with NULLs for non-matches?