Exam 17: Linked Lists
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C Plus Plus40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions40 Questions
Exam 5: Looping40 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays40 Questions
Exam 9: Searching, Sorting, Algorithm Analysis40 Questions
Exam 10: Pointers62 Questions
Exam 11: More About Classes and Object-Oriented Programming70 Questions
Exam 12: More on C-Strings and the String Class40 Questions
Exam 13: Advanced File and Io Operations40 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions22 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl40 Questions
Exam 17: Linked Lists38 Questions
Exam 18: Stacks and Queues36 Questions
Exam 19: Binary Trees38 Questions
Select questions type
The defining characteristic of a linked list is that
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
C
In a doubly-linked list, each node contains a pointer to the next node in the list, as well as a pointer to
Free
(Multiple Choice)
4.9/5
(23)
Correct Answer:
D
A new node must always be made the last node in the list.
Free
(True/False)
4.9/5
(33)
Correct Answer:
False
The values stored in the value portion of a node of a linked list can be simple data types, structures, objects of classes, or any other data type.
(True/False)
4.9/5
(38)
If the head pointer points to NULL, it is an indication that
(Multiple Choice)
4.7/5
(28)
Deleting an entire linked list requires a call to the delete operator for each node in the list.
(True/False)
4.8/5
(28)
A ________ is used to step through a linked list and search for data.
(Multiple Choice)
4.8/5
(36)
Moving through a linked list is referred to as ________ the list.
(Multiple Choice)
4.8/5
(26)
If a node is not the first node in a linked list, deleting it may require setting the successor pointer in its predecessor.
(True/False)
4.9/5
(40)
The ________ of a linked list points to the first node in the list.
(Multiple Choice)
4.8/5
(41)
Each node in a ________ list contains pointers to the nodes before and after it.
(Multiple Choice)
4.9/5
(29)
Adding a new node in the middle or at the end of a singly-linked list requires a pointer to the node after which the new node will be added.
(True/False)
4.8/5
(32)
The successor pointer in the last node of a linked list should have its value set to
(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)