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
Each node in a linear linked list references both its predecessor and its successor.
(True/False)
4.7/5
(38)
According to the principle of information hiding,the data fields of a class must be declared as ______.
(Multiple Choice)
4.9/5
(35)
If a linked list is empty,the statement head.getNext()will throw a(n)______.
(Multiple Choice)
4.7/5
(31)
In the following code segment: final int SIZE = 20;// line 1
Int groupSize;// line 2
GroupSize = SIZE;// line 3
GroupSize = groupSize * 2;// line 4
What is the value of groupSize in line 2?
(Multiple Choice)
4.8/5
(40)
Name two advantages of implementing the ADT list as an array instead of using a linked list (reference based).
(Essay)
4.7/5
(44)
Which of the following exceptions can be thrown if an object cannot be instantiated?
(Multiple Choice)
4.7/5
(35)
What is the difference between a linear linked list and a circular linked list?
(Essay)
4.7/5
(47)
Which of the following is true about all doubly linked lists?
(Multiple Choice)
4.8/5
(42)
If the implementation of a linked list maintains information about only one node,the head of the list,how is it able to be a collection of more than one node? In other words,how can we have a linked list of 20 nodes,if the list implementation only stores information about the head node?
(Essay)
4.8/5
(45)
Which of the following statements deletes the first node of a linear linked list that has 10 nodes?
(Multiple Choice)
4.9/5
(37)
Which of the following CANNOT be used in a linear linked list?
(Multiple Choice)
4.9/5
(32)
A ______ can be used to store global information about a linked list.
(Multiple Choice)
4.8/5
(39)
Which of the following statements deletes the node that curr references?
(Multiple Choice)
4.9/5
(31)
A ______ allows the deletion of a node from a linked list without the need to traverse the list to establish a trailing reference.
(Multiple Choice)
4.9/5
(30)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)