Exam 20: Binary Trees

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

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

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

C

An operation that can be performed on a binary search tree is

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

D

Binary trees can be divided into

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

C

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

(Multiple Choice)
4.9/5
(79)

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

(True/False)
5.0/5
(63)

The shape of a binary tree is:

(Multiple Choice)
5.0/5
(72)

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

(True/False)
4.9/5
(82)

The root node points to two other nodes, referred to as

(Multiple Choice)
4.9/5
(80)

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

(True/False)
4.9/5
(80)

In a binary tree, a node that has more than two children:

(Multiple Choice)
5.0/5
(87)

In a binary tree, each node may point to ____________ other nodes.

(Multiple Choice)
4.8/5
(76)

Dereferencing a pointer to a pointer gives you another pointer.

(True/False)
4.7/5
(82)

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

(Multiple Choice)
4.9/5
(85)

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

(Multiple Choice)
4.8/5
(79)

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

(True/False)
4.8/5
(67)

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

(True/False)
4.8/5
(88)

A strong reason to use the binary tree structure is:

(Multiple Choice)
4.8/5
(88)

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

(Multiple Choice)
4.8/5
(79)

The first node in a binary tree list is called the

(Multiple Choice)
4.7/5
(92)

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

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

Filters

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