Exam 17: Linked Lists
Exam 1: An Overview of Computers and Programming Languages40 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Inputoutput40 Questions
Exam 4: Control Structures I Selection40 Questions
Exam 5: Control Structures II Repetition40 Questions
Exam 6: User-Defined Function41 Questions
Exam 7: Namespaces, the Class String, and User-Defined Simple Data Types40 Questions
Exam 8: Arrays40 Questions
Exam 9: Records Structs40 Questions
Exam 10: Classes and Data Abstraction43 Questions
Exam 11: Inheritance and Composition41 Questions
Exam 12: Pointers, Classes, Virtual Functions, and Abstract Classes43 Questions
Exam 13: Overloading and Templates41 Questions
Exam 14: Exception Handling42 Questions
Exam 15: Recursion41 Questions
Exam 16: Searching and Sorting46 Questions
Exam 17: Linked Lists41 Questions
Exam 18: Stacks and Queues42 Questions
Select questions type
Linked lists allow you to overcome the size limitations of an array data type.
(True/False)
4.8/5
(38)
Each node of a singly linked list has two components: ____ and ____.
(Multiple Choice)
4.9/5
(39)
We deallocate the memory for a linked list by calling the operator clear.
(True/False)
5.0/5
(39)
Which of the following statements appears in the insert function of a doubly linked list?
(Multiple Choice)
4.9/5
(41)
Because each node of a linked list has two components, we need to declare each node as a(n) ____.
(Multiple Choice)
4.8/5
(34)
The steps involved in inserting a new item at the beginning of an unordered linked list are ____.
(Multiple Choice)
4.8/5
(28)
Data can be organized and processed sequentially using an array, called a(n) ____ list.
(Multiple Choice)
4.7/5
(32)
Which of the following correctly initializes a doubly linked list in the default constructor?
(Multiple Choice)
4.9/5
(23)
-Consider the accompanying statements. The operation returns true if the list is empty; otherwise, it returns false. The missing code is ____.

(Multiple Choice)
4.9/5
(39)
A(n) ____________________ is an object that produces each element of a container, such as a linked list, one element at a time.
(Short Answer)
4.8/5
(32)
Consider the following code: The statement that provides the length of the linked list is ____.


(Multiple Choice)
4.9/5
(37)
Each node of a linked list must store the data as well as the ____________________ of the next node in the list.
(Short Answer)
4.9/5
(32)
The ____ deallocates the memory occupied by the nodes of a list when the class object goes out of scope.
(Multiple Choice)
4.8/5
(40)
-Consider the statements above. The list is empty if the pointer first is ____.

(Multiple Choice)
4.9/5
(41)
Memory for the components of an array does not need to be contiguous.
(True/False)
4.8/5
(40)
In a linked list, the link component of each node is a(n) ____________________.
(Short Answer)
4.9/5
(33)
-Consider the accompanying code. What is the effect of the following statement? newNode->info = 50;

(Multiple Choice)
4.9/5
(35)
Which of the following is a basic operation on singly linked lists?
(Multiple Choice)
4.8/5
(39)
Showing 21 - 40 of 41
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)