Fill in the blanks in each of the following:
a. A self-_____ class is used to form dynamic data structures that can grow
and shrink at execution time
b. The _____ operator is used to dynamically allocate memory and construct an
object; this operator returns a pointer to the object.
c. A(n)_____ is a constrained version of a linked list in which nodes can be
inserted and deleted only from the start of the list and node values are
returned in last-in, first-out order.
d. A function that does not alter a linked list, but looks at the list to
determine whether it is empty, is an example of a(n)_____ function.
e. A queue is referred to as a(n)_____ data structure, because the first
mnodes inserted are the first nodes removed.
f. The pointer to the next node in a linked list is referred to as a(n) _____.
g. The _____ operator is used to destroy an object and release dynamically
allocated memory.
h. A(n)_____ is a constrained version of a linked list in which nodes can be
inserted only at the end of the list and deleted only from the start of the
list.
i. A(n) _____ is a nonlinear, two-dimensional data structure that contains
nodes with two or more links.
j. A stack is referred to as a(n)_____ data structure, because the last node
inserted is the first node removed.
k. The nodes of a(n)_____ tree contain two link members.
l. The first node of a tree is the _____ node.
m. Each link in a tree node points to a(n) _____ or _____ of that node.
n. A tree node that has no children is called a(n) _____ node.
o. The four traversal algorithms we mentioned in the text for binary search
trees are _____, _____, _____ and ______.