Exam 15: Linked Data Structures

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

A linked data structure contains nodes and links.

(True/False)
4.9/5
(40)

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.8/5
(31)

A binary tree has exactly _________ link instance variables.

(Multiple Choice)
4.8/5
(38)

Making the Node class a private inner class of a linked data structure is an example of:

(Multiple Choice)
4.9/5
(41)

The first node in a linked list is commonly referred to as the ________ node.

(Multiple Choice)
4.7/5
(46)

A deep copy of an object is a copy that has references in common with the original object.

(True/False)
4.7/5
(32)

A _________________ maps a data value such as a String into a number:

(Multiple Choice)
4.9/5
(38)

Discuss the differences between a queue and a stack.

(Essay)
4.9/5
(41)

If you define a clone method,the class should implement the Cloneable interface.

(True/False)
4.8/5
(37)

A queue is a last-in/first-out structure.

(True/False)
4.7/5
(50)

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

(Multiple Choice)
4.8/5
(42)

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

(Multiple Choice)
4.9/5
(33)

In Java,a node is a/an:

(Multiple Choice)
4.8/5
(40)

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)

Redraw the diagram created in number 4 above after deleting the head node.

(Essay)
4.8/5
(39)

What is the result of an inorder traversal of the binary search tree created in question 12 above?

(Essay)
4.7/5
(39)

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

(True/False)
4.9/5
(49)

An iterator is any object that allows you to step through the list one item at a time.

(True/False)
4.9/5
(34)

Linked lists introduce the possibility of a privacy leak occurring.

(True/False)
4.9/5
(40)

Java does not come with a LinkedList library class.

(True/False)
4.9/5
(29)
Showing 21 - 40 of 43
close modal

Filters

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