Exam 15: Linked Data Structures

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To use the Java Iterator Interface you must import the ____________ package.

Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
Verified

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:
Verified

C

A node contains:

Free
(Multiple Choice)
4.7/5
(36)
Correct Answer:
Verified

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 stack cannot be represented as a linked list.

(True/False)
4.7/5
(28)

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 binary search tree storage rule?

(Essay)
4.7/5
(44)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)