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

Integrity constraints ensure that change made to the database by authorized users do not result into loss of data consistency. Which of the following…

Integrity constraints ensure that change made to the database by authorized users do not result into loss of data consistency. Which of the following statement (s) is (are) true w.r.t. the examples of integrity constraints? (A) An instructor Id. No. cannot be null, provided Instructor Id No. being primary key. (B) No two citizens have same Adhar-Id (C) Budget of a company must be zero
  1. A(A), (B) and (C) are true
  2. B(A) false, (B) and (C) are true
  3. C(A) and (B) are true; (C) false
  4. D(A), (B) and (C) are false
Show answerHide answer

Correct answer: (C) (A) and (B) are true; (C) false

Explanation

An instructor Id. No. cannot be null when it is the primary key – valid integrity constraint. No two citizens have the same Aadhaar-Id – valid. But 'the budget of a company must be zero' is not a valid integrity constraint. So (A) and (B) are true and (C) is false.

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

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