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

Consider the following statement regarding relational database model :

Consider the following statement regarding relational database model : (1) NULL values can be used to opt a tuple out enforcement of a foreign key (2) Suppose that table T has only one candidate key. If Q is in 3NF, then it is also in BCNF (3) The difference between the project operator (Π) in relational algebra and the SELECT keyword in SQL is that if the resulting table/set has more than one occurrences of the same tuple, then Π will return only one of them, while SQL SELECT will return all One can determine that :
  1. A(1) and (2) are true
  2. B(1) and (3) are true
  3. C(2) and (3) are true
  4. D(1), (2) and (3) are true
Show answerHide answer

Correct answer: (D) (1), (2) and (3) are true

Explanation

(1) NULL values can be used to opt a tuple out of enforcement of a foreign key: correct. (2) If a table has only one candidate key and is in 3NF, then it is also in BCNF: correct. (3) Projection (Π) in relational algebra eliminates duplicate tuples while SQL SELECT returns all of them: correct. So (1), (2) and (3) are true.

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

This is question 27 of UGC NET Computer Science PYQ, August 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.