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)
5.0/5
(75)

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

(True/False)
4.8/5
(70)

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

(Multiple Choice)
4.8/5
(80)

Methods of traversing a binary tree are:

(Multiple Choice)
4.8/5
(70)

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

(Multiple Choice)
5.0/5
(83)

A binary tree with a height of three has:

(Multiple Choice)
4.7/5
(94)

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

(Multiple Choice)
4.7/5
(83)

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

(True/False)
4.9/5
(80)

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

(Multiple Choice)
4.8/5
(82)

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

(True/False)
5.0/5
(70)

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

(True/False)
4.8/5
(77)

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

(Multiple Choice)
4.8/5
(88)

Dereferencing a pointer to a pointer gives you another pointer.

(True/False)
4.9/5
(80)

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

(Multiple Choice)
4.9/5
(80)

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

(True/False)
4.9/5
(88)

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

(Multiple Choice)
5.0/5
(68)

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

(Multiple Choice)
4.8/5
(88)

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

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

Filters

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