Exam 15: Linked Data Structures
Exam 1: Getting Started46 Questions
Exam 2: Console Input and Output29 Questions
Exam 3: Flow of Control43 Questions
Exam 4: Defining Classes I44 Questions
Exam 5: Defining Classes Ii46 Questions
Exam 6: Arrays47 Questions
Exam 7: Inheritance43 Questions
Exam 8: Console Input and Output43 Questions
Exam 9: Exception Handling45 Questions
Exam 10: File IO46 Questions
Exam 12: Uml and Patterns22 Questions
Exam 13: Interfaces and Inner Classes32 Questions
Exam 14: Generics and the Arraylist Class31 Questions
Exam 15: Linked Data Structures43 Questions
Exam 16: Collections and Iterators44 Questions
Exam 17: Swing I37 Questions
Exam 18: Swing II31 Questions
Exam 19: Java Never Ends18 Questions
Exam 11: Recursion43 Questions
Exam 20: Applets25 Questions
Select questions type
Java does not come with a LinkedList library class.
Free
(True/False)
4.9/5
(34)
Correct Answer:
False
Recursively visiting the root node,left subtree and then the right subtree describes:
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
A
What is the result of a postorder traversal of the binary search tree created in question 12 above?
Free
(Short Answer)
4.9/5
(35)
Correct Answer:
1,3,5,9,12,10,7
A deep copy of an object is a copy that has references in common with the original object.
(True/False)
4.8/5
(33)
What is the function of the variable head when used with a linked list? What is the data type of the head variable?
(Essay)
4.9/5
(33)
The _________ node is the first node in the tree data structure.
(Multiple Choice)
4.7/5
(39)
If the head instance variable of a linked list contains a reference to null,this means the list is:
(Multiple Choice)
4.9/5
(33)
When using a linked list,you do not need to know when the end of the list has been reached.
(True/False)
4.8/5
(35)
A copy constructor and a clone method should normally make a deep copy whenever possible.
(True/False)
4.9/5
(38)
What is the result of a preorder traversal of the binary search tree created in question 12 above?
(Short Answer)
4.9/5
(40)
The first node in a linked list is commonly referred to as the ________ node.
(Multiple Choice)
4.9/5
(32)
A _____________ copy of an object is a copy that has references in common with the original object.
(Multiple Choice)
4.9/5
(42)
A ____________ linked list has nodes that contain two references to Nodes.
(Multiple Choice)
4.8/5
(39)
Draw a diagram of a linked list that contains nodes with data items of type String that contains the name of a city and type double that contains a pollution index.Include an instance variable named head to indicate the beginning of the list.Insert the following nodes: Franklin,15.7,Chicago,23.2,Denver,7.2.
(Essay)
4.9/5
(34)
Java contains a mechanism that automatically reclaims memory.This mechanism is called:
(Multiple Choice)
4.8/5
(34)
Showing 1 - 20 of 43
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)