Ôn Final
Ôn Final
Number of questions: 60
Multiple choice question:
QN=3 The database language that is used to query and modify the database
is called______:
a. Data Definition Language
b. Data Manipulation Language
c. Data Control Language
d. All of the others
e.
f.
ANSWER: B
MARK: 0.2
UNIT: 6
LO: LO3
MIX CHOICES: yes
QN=4 A rule that states that each foreign key value must match a primary
key value in other relation is called the __________
a. Referential integrity constraint
b. Key match rule
c. Foreign/primary match rule
d. Entity key group rule
e.
f.
ANSWER: A
MARK: 0.2
UNIT: 3
LO: LO2
MIX CHOICES: Yes
QN=7 [file:F04.jpg]
QN=10 The number of entity sets that participate in a relationship is called the
_________
a. Identifying characteristic
b. Degree
c. Entity
d. Entity set
e.
f.
ANSWER: B
MARK: 0.2
UNIT: 4
LO: LO2
MIX CHOICES: yes
QN=16 The normal form which is required every non-key attribute is fully
dependent on the primary key is called
a. 1NF
b. 2NF
c. 3NF
d. BCNF
e.
f.
ANSWER: B
MARK: 0.1
UNIT: 4
LO: LO2
MIX CHOICES: yes
QN=17 Every employee can work in one or more projects and every project has a
lot of worked employees. This relationship is
a. Many to many
b. Many to one
c. One to one
d. One to many
e.
f.
ANSWER: A
MARK: 0.1
UNIT: 4
LO: LO2
MIX CHOICES: yes
QN=18 Suppose there are two relations R(A,B,C) and S(E,F), and a
referential integrity constraint from attribute F of S to attribute A of
R, where A is a primary key of R. Which of the followings can
violate this constraint?
a. Insert a new tuple to the relation R
b. Insert a new tuple to the relation S
c. Delete an exist tuple from the relation S
d. All of the others
e.
f.
ANSWER: B
MARK: 0.2
UNIT: 4
LO: LO2
MIX CHOICES: yes
QN=42 The join, which connects two tuples with the same values on their
same attributes, is called as
a. theta join
b. equal join
c. natural join
d. outer join
e.
f.
ANSWER: C
MARK: 0.1
UNIT: 2
LO: LO1
MIX CHOICES: yes
QN=43 Which of the following may be used to describe the relationship between
two relations
a. Super key
b. Alternate Key
c. Compose key
d. Foreign key
e.
f.
ANSWER: D
MARK: 0.2
UNIT: 7
LO: LO2
MIX CHOICES: yes
QN=58 Given relation R(A, B) with attribute A (nullable) and B (not null),
following queries are used to count the tuples of R
a. SELECT COUNT(*) FROM R
b. SELECT COUNT(A) FROM R
c. SELECT COUNT(B) FROM R
d. A and C
e.
f.
ANSWER: D
MARK: 0.1
UNIT: 6
LO: LO3
MIX CHOICES: yes