Exam 15: Linked Data Structures

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

Java does not come with a LinkedList library class.

Free
(True/False)
4.9/5
(34)
Correct Answer:
Verified

False

Recursively visiting the root node,left subtree and then the right subtree describes:

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

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

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 node contains:

(Multiple Choice)
4.8/5
(36)

A linked data structure contains nodes and links.

(True/False)
4.7/5
(30)

A copy constructor and a clone method should normally make a deep copy whenever possible.

(True/False)
4.9/5
(38)

A stack cannot be represented as a linked list.

(True/False)
4.8/5
(42)

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)

What is the binary search tree storage rule?

(Essay)
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)

following values in the given order: 7,10,5,12,1,3,9.

(Essay)
4.8/5
(43)
Showing 1 - 20 of 43
close modal

Filters

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