Exam 5: Linked Lists
Exam 1: Review of Java Fundamentals60 Questions
Exam 2: Principles of Programming and Software Engineering60 Questions
Exam 3: Recursion: the Mirrors60 Questions
Exam 4: Data Abstraction: The Walls60 Questions
Exam 5: Linked Lists60 Questions
Exam 6: Problem Solving With Abstract Data Types60 Questions
Exam 7: Stacks60 Questions
Exam 8: Queues60 Questions
Exam 9: Advanced Java Topics60 Questions
Exam 10: Algorithm Efficiency and Sorting60 Questions
Exam 11: Trees60 Questions
Exam 12: Tables and Priority Queues60 Questions
Exam 13: Advanced Implementations of Tables60 Questions
Exam 14: Graphs60 Questions
Exam 15: External Methods30 Questions
Select questions type
Which of the following will be true when the reference variable curr references the last node in a linear linked list?
(Multiple Choice)
4.7/5
(43)
To delete a node N from a linear linked list,you will need to ______.
(Multiple Choice)
4.7/5
(42)
What are two advantages of using a reference-based implementation of the ADT list instead of an array-based implementation?
(Essay)
4.8/5
(37)
_______ is a process that transforms an object into a stream of bytes that can be saved to and restored from a file.
(Multiple Choice)
4.7/5
(30)
The constant null can be used as the value of a reference to any type of object.
(True/False)
4.8/5
(36)
When you declare a variable that refers to an object of a given class,you are creating a(n)______ to the object.
(Multiple Choice)
4.9/5
(33)
A reference variable whose sole purpose is to locate the first node in a linked list is called ______.
(Multiple Choice)
4.9/5
(39)
Write the code fragment to delete the node that the reference variable curr references in a circular doubly linked list?
(Essay)
4.9/5
(43)
In a circular doubly linked list,inserting into the first position of the list is a special case.
(True/False)
4.8/5
(35)
What are the three high-level steps to delete a node from a linear linked list?
(Essay)
4.8/5
(36)
A _______ can be used to facilitate adding nodes to the end of a linear linked list.
(Multiple Choice)
4.9/5
(35)
What are the three high-level steps to insert a new node into a linear linked list?
(Essay)
4.9/5
(33)
Write the code fragment to insert a new node that the reference variable newNode references before the node referenced by the reference variable curr in a doubly linked list.
(Essay)
4.9/5
(33)
No node in a circular linked list contains the value null in its next reference.
(True/False)
4.7/5
(31)
In the following code segment: Integer maxNum;
MaxNum = new Integer (15);
______ is a reference variable.
(Multiple Choice)
4.9/5
(34)
Showing 21 - 40 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)