Exam 17: Linked Lists
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C++40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions37 Questions
Exam 5: Looping38 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays37 Questions
Exam 9: Searching, Sorting, and Algorithm Analysis36 Questions
Exam 10: Pointers50 Questions
Exam 11: More About Classes and Object-Oriented Programming64 Questions
Exam 12: More on C-Strings and the String Class38 Questions
Exam 13: Advanced File and Io Operations38 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions20 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 Trees37 Questions
Select questions type
A new node cannot become the first node in the list.
Free
(True/False)
4.9/5
(40)
Correct Answer:
False
If new information needs to be added to a linked list, the program simply and inserts it into the list.
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
B
Nodes in a linked list are stored in contiguous memory.
Free
(True/False)
4.8/5
(33)
Correct Answer:
False
A non- empty linked list of items can be reversed by removing the head, reversing what is left, and then adding the (original)head at the end of the reversed tail.
(True/False)
4.9/5
(43)
Inserting an item into a linked list requires that all the items past the point of the insertion be shifted to make room for the new item.
(True/False)
4.7/5
(32)
Deleting an entire linked list requires a call to the delete operator for each node in the list.
(True/False)
4.8/5
(37)
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.9/5
(38)
In a non- empty list, there must be exactly one list item with no successor.
(True/False)
4.8/5
(43)
When an item stored in a linked list is removed, all list items stored after it have to be moved down to plug up the hole.
(True/False)
4.9/5
(28)
Deleting an entire list requires traversing the list to delete the nodes.
(True/False)
4.9/5
(37)
A list that contains pointers to the previous node, the next node, and a node in the third dimension is known as a triple- linked list.
(True/False)
4.7/5
(43)
If the head pointer points to NULL, it is an indication that
(Multiple Choice)
4.7/5
(33)
Showing 1 - 20 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)