CS200 Algorithms and Data Structures: Quiz 7,8,9
CS200 Algorithms and Data Structures: Quiz 7,8,9
2) A heap is a ______.
a) binary tree b) binary search tree
c) full binary tree d) stack
(A)
5) A sorted implementation of a table can insert a new item into any convenient
location.
(True/False)
(FALSE)
QUIZ 8: Problem 1 ~ 5: 1 pts each
1) The condition that occurs when a hash function maps two or more distinct search
keys into the same location is called a(n) ______.
a) disturbance
b) collision
c) rotation
d) congestion
(B)
(C)
7) All ______ begin and end at the same vertex and do not pass through any other vertices
more than once.
a) paths
b) simple paths
c) cycles
d) edges
(C)
8) A graph is ______ if each pair of distinct vertices has a path between them.
a) complete
b) disconnected
c) connected
d) full
(C)