Exam 18: Linked Lists
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
The last node in a linked list points to
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
A
To insert a new node in ascending order into a list, the list must be
Free
(Multiple Choice)
4.7/5
(39)
Correct Answer:
D
Appending a node means adding it to the end of a list, and __________ a node means putting a new node in the list, but not necessarily at the end.
Free
(Multiple Choice)
4.8/5
(46)
Correct Answer:
D
When you create a linked list you must know in advance how many nodes the list will contain.
(True/False)
4.8/5
(35)
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.8/5
(23)
Deleting an entire list simply requires the use of the delete operator.
(True/False)
4.9/5
(37)
The list container provided by the Standard Template Library is a template version of a
(Multiple Choice)
4.8/5
(39)
If new data needs to be added to a linked list, the program simply __________ and inserts it into the series.
(Multiple Choice)
4.9/5
(32)
If there are no nodes in a linked list, you cannot append a node to the list.
(True/False)
4.7/5
(32)
A linked list class must take care of removing the dynamically allocated nodes and this is done by
(Multiple Choice)
4.7/5
(38)
To delete an entire list, normally you must traverse the list, deleting each node, one by one.
(True/False)
4.8/5
(31)
Select all that apply. Which of the following is a basic list operation?
(Multiple Choice)
4.9/5
(40)
The Standard Template Library (STL) provides a linked list container.
(True/False)
5.0/5
(35)
When working with a linked list one of the basic operations you can perform is to destroy the list.
(True/False)
4.7/5
(40)
Which type of list does not contain a null pointer at the end of the list?
(Multiple Choice)
4.9/5
(30)
Showing 1 - 20 of 41
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)