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
Create a generic Node class to represent the linked list depicted in your diagrams above.
(Essay)
4.9/5
(31)
Write a method called displayList that displays the data items in the Node class created in number 6 above.
(Essay)
4.9/5
(32)
Redraw the diagram created in number 2 above after inserting a node containing Chattanooga,27.6.
(Essay)
4.8/5
(35)
Recursively visiting the left subtree,right subtree and then the root describes:
(Multiple Choice)
4.9/5
(34)
Making the Node class a private inner class of a linked data structure is an example of:
(Multiple Choice)
4.7/5
(32)
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
(36)
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.9/5
(40)
A _________________ maps a data value such as a String into a number:
(Multiple Choice)
4.9/5
(30)
Redraw the diagram created in number 3 above,after deleting the node containing Chicago.
(Essay)
4.9/5
(48)
A binary tree has exactly _________ link instance variables.
(Multiple Choice)
4.8/5
(33)
In Java,you indicate the end of a linked list be setting the link instance variable of the last node in the linked list to __________.
(Multiple Choice)
4.9/5
(37)
A common exception that occurs when using linked lists is the:
(Multiple Choice)
4.8/5
(45)
Linked lists introduce the possibility of a privacy leak occurring.
(True/False)
4.8/5
(39)
To use the Java Iterator Interface you must import the ____________ package.
(Multiple Choice)
4.8/5
(38)
If you define a clone method,the class should implement the Cloneable interface.
(True/False)
4.8/5
(37)
Redraw the diagram created in number 4 above after deleting the head node.
(Essay)
4.9/5
(47)
Given the Node class created in number 6 above,write Java statements to insert a new node containing (Chattanooga,23.7)into an empty list.
(Essay)
4.9/5
(46)
Showing 21 - 40 of 43
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)