Exam 19: Binary Trees

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

The in a binary tree is analogous to the head pointer in a linked list.

(Multiple Choice)
4.9/5
(30)

In certain types of binary trees, the number of leaves can be greater than the number of nodes.

(True/False)
4.7/5
(34)

The shape of a binary search tree is

(Multiple Choice)
4.9/5
(41)

Binary tree are called "trees" because they resemble an upside- down tree.

(True/False)
4.9/5
(39)

A subtree is the collection of some node, together with all its descendants.

(True/False)
4.7/5
(26)

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

(Multiple Choice)
4.8/5
(43)

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

(Multiple Choice)
4.7/5
(35)

Implementing a binary tree in a class requires a structure for representing the nodes of the binary tree, as well as a pointer to the structure as a class member. This pointer will be set to

(Multiple Choice)
5.0/5
(41)

One method of traversing a binary tree is

(Multiple Choice)
4.9/5
(41)

A binary tree node with no parent is called the

(Multiple Choice)
4.8/5
(35)

The height of a binary tree describes how many levels there are in the tree.

(True/False)
4.8/5
(43)

The inorder method of traversing a binary tree involves traversing the left subtree, processing the data in the root, and then traversing the right subtree.

(True/False)
4.8/5
(32)

Visiting all nodes of a binary tree in some methodical fashion is known as

(Multiple Choice)
4.9/5
(39)

A strong reason to use a binary search tree is

(Multiple Choice)
4.9/5
(34)

A child node that has no parent is

(Multiple Choice)
4.8/5
(29)

A program keeps track of a binary tree using a pointer to

(Multiple Choice)
4.8/5
(36)

Values are commonly stored in a binary search tree so that a node's _ child holds data that is less than the _ _ data, while the node's data is less than the data in the other child.

(Multiple Choice)
4.7/5
(40)
Showing 21 - 37 of 37
close modal

Filters

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