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
When building a linked list in the ____ manner, a new node is always inserted at the end of the linked list.
Free
(Multiple Choice)
4.8/5
(25)
Correct Answer:
B
Every node in a doubly linked list has two pointers: ____ and ____.
Free
(Multiple Choice)
4.7/5
(42)
Correct Answer:
B
In a linked list, if a new item is always inserted at the beginning or at the end of the list and the data we read is unsorted, the linked list will be unsorted.
Free
(True/False)
4.8/5
(38)
Correct Answer:
True
Each node of a linked list must store the data as well as the ____________________ of the next node in the list.
(Short Answer)
4.7/5
(40)
When you build a linked list in the backward manner, a new node is always inserted at the end of the linked list.
(True/False)
4.9/5
(39)
The steps involved in inserting a new item at the beginning of an unordered linked list are ____.
(Multiple Choice)
4.9/5
(40)
The ____________________ constructor executes when an object is declared and initialized using another object.
(Short Answer)
4.8/5
(40)
-Consider the accompanying statements.The operation returns true if the list is empty; otherwise, it returns false.The missing code is ____.

(Multiple Choice)
4.8/5
(36)
For classes that include pointer data members, the assignment operator must be explicitly ____________________.
(Short Answer)
4.8/5
(44)
Which of the following is a basic operation on singly linked lists?
(Multiple Choice)
4.9/5
(33)
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.9/5
(36)
The ____ deallocates the memory occupied by the nodes of a list when the class object goes out of scope.
(Multiple Choice)
5.0/5
(42)
Because each node of a linked list has two components, we need to declare each node as a(n) ____.
(Multiple Choice)
4.7/5
(46)
You can use the pointer head of a linked list to traverse the list.
(True/False)
4.8/5
(30)
Consider the following code which deletes all the nodes in a linked list.
Which of the following is the missing statement?

(Multiple Choice)
4.9/5
(33)
In a linked list, the order of the nodes is determined by the address, called the ____, stored in each node.
(Multiple Choice)
4.8/5
(31)
Each node of a singly linked list has two components: ____ and ____.
(Multiple Choice)
4.9/5
(34)
Showing 1 - 20 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)