
DBI202_PART2
Authored by Phạm Ngân
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
120 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=17 (6831) What is a primary key?
a. A primary key is the field(s) in a table that uniquely defines that table in a database
b. A primary key is the field(s) in a table that is used to establishes a relationship between two tables
c. A primary key is the field(s) in a table that uniquely defines the row in the table
d. A primary key is the field(s) in a table that is used to establishes a relationship between two databases
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=19 (6822) Which statement is used to add a column named D into the relation R?
a. ALTER TABLE R ADD D [DataType];
b. ALTER TABLE R ADD ATTRIBUTE D [DataType];
c. ALTER TABLE R ADD PROPERTY D [DataType];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=20 (6821) Which one of the following is NOT a DML command?
a. DELETE
b. GRANT
c. INSERT
d. UPDATE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=22 (6811) The relational operator that adds all possible pairs of rows from two tables is known as the .... operator.
a. union
b. product
c. join
d. selection
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=23 (7956) Let R(ABCDEFGH) satisfies the following functional dependencies:
A -> B,
CH -> A,
B -> E,
BD -> C,
EG -> H,
DE -> F.
Which of the following FDs is also guaranteed to be satisfied by R?
a. CGH -> BF
b. ACG -> DH
c. ADG -> CH
d. BCD -> FH
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=25 (7969) Consider a relation with schema R(A, B, C, D) and FD's BC -> D, D -> A, A -> B. Which of the following is the key of R?
a. BD
b. BC
c. D
d. AB
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=26 (7963) Given the relation schema R(A,B,C) and functional dependencies
F = {AB-> C, B->A, C->B}.
Which attribute(s) is/are prime?
a. only A
b. only B
c. A and B
d. B and C
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?