Exam 16: 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 Classes44 Questions
Exam 13: Operator Overloading and Templates41 Questions
Exam 14: Exception Handling43 Questions
Exam 15: Recursion43 Questions
Exam 16: Linked Lists40 Questions
Exam 17: Stacks and Queue43 Questions
Exam 18: Searching and Sorting Algorithms40 Questions
Exam 19: Binary Trees43 Questions
Exam 20: Graph Algorithms48 Questions
Exam 21: Standard Template Library41 Questions
Select questions type
In a linked list, the link component of each node is a(n) ____________________.
(Short Answer)
4.8/5
(41)
Every node (except of the last node) in a singly linked list contains ____.
(Multiple Choice)
4.9/5
(36)
We deallocate the memory for a linked list by calling the operator clear.
(True/False)
4.7/5
(32)
A(n) ____________________ linked list is a linked list in which every node has a next pointer and a back pointer.
(Short Answer)
4.8/5
(43)
Consider the statements above.The list is empty if the pointer first is ____.
(Multiple Choice)
4.8/5
(39)
Linked lists allow you to overcome the size limitations of an array data type.
(True/False)
4.8/5
(39)
Consider the following code:The statement that provides the length of the linked list is ____. 

(Multiple Choice)
4.9/5
(32)
Data can be organized and processed sequentially using an array, called a(n) ____ list.
(Multiple Choice)
4.8/5
(35)
In a linked list, the address of the first node in the list is stored in a separate location, called the ____ or first.
(Multiple Choice)
4.9/5
(36)
Which of the following statements appears in the insert function of a doubly linked list?
(Multiple Choice)
4.7/5
(36)
-Consider the accompanying code.What is the effect of the following statement? newNode->info = 50;

(Multiple Choice)
4.9/5
(44)
Memory for the components of an array does not need to be contiguous.
(True/False)
4.9/5
(37)
Suppose that the pointer head points to the first node in the list, and the link of the last node is nullptr.The first node of the linked list contains the address of the ____ node.
(Multiple Choice)
4.7/5
(28)
The ____________________ operator advances the iterator to the next node in the linked list.
(Short Answer)
4.8/5
(36)
Which of the following correctly initializes a doubly linked list in the default constructor?
(Multiple Choice)
4.8/5
(43)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)