Chapter 17: Problem 1
Fill in the blanks in each of the following statements: a) A self- ______ class is used to form dynamic data structures that can grow and shrink at execution time. b) 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. c) A method that does not alter a linked list, but simply looks at it to determine whether it is empty, is referred to as a(n)______ method. d) A queue is referred to as a(n) ______ data structure because the first nodes inserted are the first ones removed. e) The reference to the next node in a linked list is referred to as a(n)_______ . f) Automatically reclaiming dynamically allocated memory in Java is called _______. g) 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. h) A(n)______is a nonlinear, two-dimensional data structure that contains nodes with two or more links. i) A stack is referred to as a(n)______ data structure because the last node inserted is the first node removed. j) The nodes of a(n)______ tree contain two link members. k) The first node of a tree is the______ node. l) Each link in a tree node refers to a(n)______ or______ of that node. m) A tree node that has no children is called a(n)______ node. n) The three traversal algorithms we mentioned in the text for binary search trees are ______, and______. o) Assuming that myArray contains references to Double objects________ occurs when the statement "double number = myArray[ 0 ];" executes. p) Assuming that myArray contains references to Double objects_______, occurs when the statement "myArray[ 0 ] = 1.25;" executes.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.