Exam 20: Binary Trees

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

Deleting a leaf node from a binary tree is not difficult. Deleting a non-leaf node requires several steps.

(True/False)
4.9/5
(36)

Output will be the same if you use inorder, postorder, or preorder traversals of the same binary tree.

(True/False)
4.8/5
(34)

When working with a binary tree, a node that has more than two children:

(Multiple Choice)
4.8/5
(31)

Methods of traversing a binary tree are:

(Multiple Choice)
4.8/5
(35)

When a binary tree is used to facilitate a search, it is referred to as a ________.

(Multiple Choice)
5.0/5
(43)

A binary tree with a height of three has:

(Multiple Choice)
4.8/5
(44)

When an application begins searching a binary tree, it starts at ________.

(Multiple Choice)
4.8/5
(39)

To remove a node that has children, you must first remove the children.

(True/False)
4.9/5
(34)

All node pointers that do not point to other nodes are set to:

(Multiple Choice)
4.8/5
(39)

All nodes to the right of a node hold values greater than the node's value.

(True/False)
5.0/5
(35)

The width of a tree is the largest number of nodes in the same level.

(True/False)
4.8/5
(36)

The inorder, preorder, and postorder traversals can be accomplished using ________.

(Multiple Choice)
4.8/5
(41)

Dereferencing a pointer to a pointer gives you another pointer.

(True/False)
4.8/5
(36)

In a binary tree, each node may point to ________ other nodes.

(Multiple Choice)
4.8/5
(33)

In a binary tree, each node must have a minimum of two children.

(True/False)
4.9/5
(39)

An operation that can be performed on a binary search tree is:

(Multiple Choice)
5.0/5
(31)

The first node in a binary tree list is called the ________.

(Multiple Choice)
4.9/5
(45)

When the root node points to two other nodes, the nodes are referred to as ________.

(Multiple Choice)
4.8/5
(42)
Showing 21 - 38 of 38
close modal

Filters

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