Exam 21: Binary Trees

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

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

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

B

The shape of a binary tree is

Free
(Multiple Choice)
4.9/5
(28)
Correct Answer:
Verified

D

Select all that apply. Binary trees may be implemented as templates, but any data types used with them must support the __________ operator.

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

A, B, D

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

(Multiple Choice)
4.8/5
(35)

Deleting a leaf node from a binary tree is not difficult but deleting a non-leaf node requires several steps.

(True/False)
4.8/5
(30)

A binary tree with a height of three has

(Multiple Choice)
4.9/5
(31)

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

(Multiple Choice)
4.8/5
(36)

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

(True/False)
4.9/5
(30)

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

(True/False)
4.8/5
(30)

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

(True/False)
4.7/5
(38)

Select all that apply. The head pointer, anchored at the top of a binary tree, may be called the

(Multiple Choice)
5.0/5
(39)

Select all that apply. Which of the following are methods of traversing a binary tree?

(Multiple Choice)
4.9/5
(32)

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)
4.9/5
(37)

The intBinaryTree class has a public member function, findNode, that returns true if a value is not found and False if the value is found.

(True/False)
4.8/5
(33)

A good reason to use the binary tree structure is

(Multiple Choice)
4.8/5
(31)

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

(Multiple Choice)
4.7/5
(36)

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

(Multiple Choice)
4.9/5
(40)

In a binary tree class you usually have a pointer as a member that is set to the

(Multiple Choice)
5.0/5
(42)

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

(Multiple Choice)
4.9/5
(31)

The first node in a binary tree list is called the

(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 39
close modal

Filters

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