Wednesday, April 2, 2014

DBMS questions with solution


 1. 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

2. Consider attributes ID , CITY and NAME . Which one of this can be considered as a super key ?
a) NAME
b) ID
c) CITY
d) CITY , ID

Explanation:Superkey means combination of a primary key and another attribute. Here in the above question the only possible key is ID. SO CITY,ID is a superkey.

3. The subset of super key is a candidate key under what condition ?
a) No proper subset is a super key
b) All subsets are super keys
c) Subset is a super key
d) Each subset is a super key


4. A _____ is a property of the entire relation, rather than of the individual tuples in which each tuple is unique.
a) Rows
b) Key
c) Attribute
d) Fields

5. Which one of the following attribute can be taken as a primary key?
a) Name
b) Street
c) Id
d) Department

6. Which one of the following cannot be taken as a primary key ?
a) Id
b) Register number
c) Dept_id
d) Street

7. A 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) Sub

8. The relation with the attribute which is the primary key is referenced in another relation. The relation which has the attribute as primary key is called
a) Referential relation
b) Referencing relation
c) Referenced relation
d) Referred relation

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

10. A _________ integrity constraint requires that the values appearing in specified attributes of any tuple in the referencing relation also appear in specified attributes of at least one tuple in the referenced relation.
a) Referential
b) Referencing
c) Specific
d) Primary



0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home