Professional KnowledgeHardIBPS SO IT
R(A,B,C,D) has candidate keys AB and CD only. Number of superkeys?
- A. 8
- B. 7
- C. 9
- D. 6
Correct answer: B. 7
Supersets of AB: 4; of CD: 4; overlap ABCD counted twice, giving 7.
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
- 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?
- A view defined with GROUP BY and aggregate functions is generally: