Professional Documents
Culture Documents
Principles of Database Design
Principles of Database Design
MODULE 5
1. Primary indexes, secondary indexes and cluster indexes are all types of
a. ordered indexes
b. unordered indexes
c. linear indexes
d. relative search indexes
Answer: a
2. In multilevel indexes, primary index created for its first level is classified as
Answer: c
Answer: a
4. B+ tree follows:
a. Single level index
b. Multi level index
c. Both of the above
d. None of these
Answer: b
5. An internal node of the B+ tree can contain at least ________ record pointers except
the root node.
a. n
b. 2n
c. n/2
d. n2
Answer: c
6. The leaf node of the B+ tree can contain at least __________ key values.
a. n
b. 2n
c. n/2
d. n2
Answer: c
7. B+ tree can support __________
a. Sequential access
b. Random access
c. Both of the above
d. None of these
Answer: c
8. __________ is a data structure technique to efficiently retrieve records from the
database files based on some attributes on which the indexing has been done.
a. Stack
b. Queue
c. Array
d. Indexing
Answer: d
16. Statement 1: When a node is split during insertion, the middle key is promoted to the
parent as well as retained in right half-node.
Statement 2: When a key is deleted from the leaf, it is also deleted from the non-leaf
nodes of the tree.
a) Statement 1 is true but statement 2 is false
b) Statement 2 is true but statement 1 is false
c) Both the statements are true
d) Both the statements are false
Answer: a
17. A primary index is an ordered file whose records are of fixed length
a. Variable length
b. Fixed length
c. In some cases fixed and other cases variable.
d. None of the above.
Answer: b
18. A clustering index is an example of a
a. nondense index
b. dense index
c. secondary index.
d. None of the above
Answer: a
19. Indices whose search key specifies an order different from the sequential order of the
file are called ___________ indices.
a) Nonclustered
b) Secondary
c) All of the mentioned
d) None of the mentioned
Answer: c
20. In a _______ clustering index, the index record contains the search-key value and a
pointer to the first data record with that search-key value and the rest of the records
will be in the sequential pointers.
a) Dense
b) Sparse
c) Straight
d) Continuous
Answer: a