Exam 20: Binary Trees

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

Binary trees can be divided into:

Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
Verified

C

Values are typically stored in a binary search tree so that a node's ________ child holds data is less than the ________ data.

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

B

When you dereference a pointer to a pointer, the result is:

Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
Verified

B

The head pointer, anchored at the top of a binary tree, is called the ________.

(Multiple Choice)
5.0/5
(36)

In a binary tree class, you usually have a pointer as a member that is set to ________.

(Multiple Choice)
4.8/5
(44)

Binary trees may be implemented as templates, but any data types used with them must support the ________ operator.

(Multiple Choice)
4.9/5
(46)

In a non-linear linked list, a node can point to:

(Multiple Choice)
4.8/5
(38)

The shape of a binary tree is ________.

(Multiple Choice)
4.8/5
(42)

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

(True/False)
4.9/5
(37)

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

(True/False)
4.8/5
(35)

A node that has no children is known as a ________.

(Multiple Choice)
4.8/5
(30)

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

(Multiple Choice)
4.9/5
(41)

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

(True/False)
4.9/5
(35)

A good reason to use the binary tree structure is:

(Multiple Choice)
4.9/5
(28)

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

(Multiple Choice)
4.9/5
(42)

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

(Multiple Choice)
4.8/5
(43)

The binary tree structure is called a "tree" because it resembles an upside-down tree.

(True/False)
4.9/5
(42)

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

(True/False)
4.8/5
(35)

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

(True/False)
5.0/5
(36)

The process of stepping through the nodes of a binary tree is known as ________.

(Multiple Choice)
4.9/5
(41)
Showing 1 - 20 of 38
close modal

Filters

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