Deck 14: Databases
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/18
Play
Full screen (f)
Deck 14: Databases
1
You want to create a relation called New that contains tuples that belong to both relation A and relation B. For this, you can use the _______ operation.
A) select
B) union
C) project
D) intersection
A) select
B) union
C) project
D) intersection
D
2
Each column in a relation is called _______.
A) an attribute
B) a tuple
C) a union
D) an attitude
A) an attribute
B) a tuple
C) a union
D) an attitude
A
3
If you want to change the value of an attribute of a tuple, you use the _______ operation.
A) project
B) join
C) update
D) select
A) project
B) join
C) update
D) select
C
4
In a three-level DBMS architecture, the layer that interacts directly with the hardware is the _______ level.
A) external
B) conceptual
C) internal
D) physical
A) external
B) conceptual
C) internal
D) physical
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
5
_______ is a declarative language used on relational databases.
A) PDQ
B) SQL
C) LES
D) PBJ
A) PDQ
B) SQL
C) LES
D) PBJ
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
6
Of the various database models, the _______ model is the most prevalent today.
A) hierarchical
B) network
C) relational
D) linked list
A) hierarchical
B) network
C) relational
D) linked list
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following is a unary operator?
A) intersection
B) union
C) join
D) project
A) intersection
B) union
C) join
D) project
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
8
The _______ level of a three-level DBMS architecture defines the logical view of the data.
A) external
B) conceptual
C) internal
D) physical
A) external
B) conceptual
C) internal
D) physical
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
9
The operation that takes two relations and combines them based on common attributes is the _________ operation.
A) join
B) project
C) union
D) intersection
A) join
B) project
C) union
D) intersection
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
10
A binary operator is applied to _______ relations (s) and creates an output of ________ relation(s).
A) one, one
B) one, two
C) two, one
D) two, two
A) one, one
B) one, two
C) two, one
D) two, two
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
11
In a three-level DBMS architecture, the _______ level determines where data is actually stored on the storage devices.
A) external
B) conceptual
C) internal
D) physical
A) external
B) conceptual
C) internal
D) physical
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following is a binary operator?
A) select
B) update
C) difference
D) all of the above
A) select
B) update
C) difference
D) all of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
13
If you need to delete an attribute in a relation, you can use the _______ operation.
A) join
B) project
C) union
D) intersection
A) join
B) project
C) union
D) intersection
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
14
In a three-level DBMS architecture, the _______ level interacts directly with the users.
A) external
B) conceptual
C) internal
D) physical
A) external
B) conceptual
C) internal
D) physical
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
15
A unary operator is applied to _______ relation(s) and creates an output of ________ relation(s).
A) one, one
B) one, two
C) two, one
D) two, two
A) one, one
B) one, two
C) two, one
D) two, two
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
16
The unary _______ operation always results in a relation that has exactly one more row than the original relation.
A) insert
B) delete
C) update
D) select
A) insert
B) delete
C) update
D) select
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
17
Each row in a relation is called _______.
A) an attribute
B) a tuple
C) a union
D) an attitude
A) an attribute
B) a tuple
C) a union
D) an attitude
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
18
The data model and the schema of a DBMS are often defined at the _______ level.
A) external
B) conceptual
C) internal
D) physical
A) external
B) conceptual
C) internal
D) physical
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck