Professional KnowledgeHardIBPS SO IT
R(A,B,C,D,E) with AB->C, C->D, D->E has candidate key(s):
- A. ABC
- B. A and B separately
- C. AB only
- D. ABD
Correct answer: C. AB only
A and B appear on no RHS, so both are in every key; AB+ = ABCDE. Any superset is only a superkey.
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) with FDs AB->C and C->B. Decompose into R1(A,C), R2(B,C). Which is true?
- 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: