Exam 21: Binary Trees

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

Binary trees can be divided into

(Multiple Choice)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(41)

The InOrder, PreOrder, and PostOrder traversals can be accomplished using

(Multiple Choice)
4.9/5
(37)

The PreOrder method of traversing a binary tree involves processing the node's data, traversing the node's left subtree, and then traversing the node's right subtree.

(True/False)
4.7/5
(43)

Output will be the same if you use InOrder, PostOrder, or PreOrder traversals of the same binary tree.

(True/False)
4.7/5
(39)

Binary trees are commonly used to organize key values that index database records.

(True/False)
4.8/5
(38)

The PostOrder method of traversing a binary tree involves processing the node's data, traversing the node's right subtree, and then traversing the node's left subtree.

(True/False)
4.8/5
(43)

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

(True/False)
4.9/5
(26)

A binary tree can be created using a struct or class containing a data value and

(Multiple Choice)
4.8/5
(38)

A subtree is an entire branch of a tree from one particular node down.

(True/False)
4.8/5
(41)

In a binary tree, each node may point to __________ other node(s).

(Multiple Choice)
4.9/5
(31)

Deleting a node that has two children offers an opportunity to use

(Multiple Choice)
4.9/5
(38)

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

(True/False)
4.8/5
(31)

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

(Multiple Choice)
4.9/5
(34)

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

(Multiple Choice)
4.8/5
(31)

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

(True/False)
4.8/5
(25)

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

(Multiple Choice)
5.0/5
(23)

Select all that apply. Which of the following operations can be performed on a binary search tree?

(Multiple Choice)
4.9/5
(37)

A node that has no children is known as a

(Multiple Choice)
4.9/5
(30)
Showing 21 - 39 of 39
close modal

Filters

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