Professional Documents
Culture Documents
Week-16 Questions (DBMS)
Week-16 Questions (DBMS)
(a) (1)
(b) (2)
(c) (3)
(d) (4)
Qus.2 Integrity constraints ensure that changes 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?
(i) An instructor Id. No. cannot be null, provided Instructor Id No. being primary key.
(ii) No two citizens have same Aadhar-Id.
(iii) Budget of a company must be zero.
I: {B}
II: {B, C}
III: {A, D}
IV: {C, D}
If different symbols stand for different values in the table (e.g., d1 is definitely not equal to d2), then which
of the above could not be the candidate key for the database table?
(a) I and III only
(b) III and IV only
(c) II only
(d) I only
Qus.7 R(ABCD) four attributes in R table. If A and B are two candidate keys then find the super keys
(a) 8
(b) 16
(c) 10
(d) 12
Qus.8 Which one of the following is a set of one or more attributes taken collectively to uniquely identify a
record?
(a) Candidate key
(b) Sub key
(c) Super key
(d) Foreign key
Qus.9 The ______ is the one in which the primary key of one relation is used as a normal attribute in
another relation.
(a) Referential relation
(b) Referencing relation
(c) Referenced relation
(d) Referred relation
Qus. 10 An attribute in a relation is a foreign key if the _______ key from one relation is used as an
attribute in that relation.
(a) Candidate
(b) Primary
(c) Super
(d) Alternative
Solutions:
1) B
2) C
3) B
4) B
5) A
6) C
7) D
8) C
9) C
10) B