Exam 15: Linked Data Structures
Exam 1: Getting Started45 Questions
Exam 2: Console Input and Output29 Questions
Exam 3: Flow of Control44 Questions
Exam 4: Defining Classes I45 Questions
Exam 5: Defining Classes II46 Questions
Exam 6: Arrays46 Questions
Exam 7: Inheritance43 Questions
Exam 8: Polymorphism and Abstract Classes43 Questions
Exam 9: Exception Handling45 Questions
Exam 10: File IO46 Questions
Exam 11: Recursion44 Questions
Exam 12: Uml and Patterns22 Questions
Exam 13: Interfaces and Inner Classes32 Questions
Exam 14: Generics and the Arraylist Class32 Questions
Exam 15: Linked Data Structures43 Questions
Exam 16: Collections,maps,and Iterators44 Questions
Exam 17: Swing I37 Questions
Exam 18: Swing II31 Questions
Exam 19: Java Never Ends26 Questions
Exam 20: Applets25 Questions
Select questions type
To use the Java Iterator Interface you must import the ____________ package.
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
D
A _____________ copy of an object is a copy that has references in common with the original object.
Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
C
A ____________ copy of an object is a copy that has no references in common with the original object.
(Multiple Choice)
4.8/5
(36)
Redraw the diagram created in number 3 above,after deleting the node containing Chicago.
(Essay)
4.8/5
(33)
Given the Node class created in number 6 above,write Java statements to delete a node from the beginning of the list.
(Essay)
4.8/5
(45)
Forgetting to set the reference instance variable of the last node in a linked list to null will cause a logic error.
(True/False)
4.8/5
(37)
The _________ node is the first node in the tree data structure.
(Multiple Choice)
4.8/5
(42)
What is the result of a preorder traversal of the binary search tree created in question 12 above?
(Essay)
4.9/5
(45)
A ____________ linked list has nodes that contain two references to Nodes.
(Multiple Choice)
4.8/5
(38)
Write a method called displayList that displays the data items in the Node class created in number 6 above.
(Essay)
4.8/5
(37)
A common exception that occurs when using linked lists is the:
(Multiple Choice)
4.9/5
(43)
Create a generic Node class to represent the linked list depicted in your diagrams above.
(Essay)
4.8/5
(35)
Redraw the diagram created in number 2 above after inserting a node containing Chattanooga,27.6.
(Essay)
4.9/5
(37)
Draw the resulting binary search tree inserting the following values in the given order: 7,10,5,12,1,3,9.
(Essay)
4.8/5
(36)
What is the result of a postorder traversal of the binary search tree created in question 12 above?
(Essay)
4.7/5
(40)
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.7/5
(43)
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
(29)
Showing 1 - 20 of 43
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)