Exam 21: Binary Trees

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

Binary trees can be divided into

(Multiple Choice)
4.9/5
(84)

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

(Multiple Choice)
4.9/5
(86)

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

(Multiple Choice)
4.9/5
(88)

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

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

(True/False)
4.8/5
(87)

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

(True/False)
4.8/5
(78)

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

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

(True/False)
4.9/5
(76)

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

(Multiple Choice)
4.8/5
(77)

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

(True/False)
4.8/5
(82)

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

(Multiple Choice)
4.8/5
(82)

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

(Multiple Choice)
4.9/5
(85)

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

(True/False)
4.8/5
(81)

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

(Multiple Choice)
4.9/5
(86)

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

(Multiple Choice)
4.8/5
(79)

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

(True/False)
4.8/5
(63)

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

(Multiple Choice)
5.0/5
(68)

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

(Multiple Choice)
4.9/5
(73)

A node that has no children is known as a

(Multiple Choice)
4.8/5
(74)
Showing 21 - 39 of 39
close modal

Filters

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