Exam 20: Binary Trees

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

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

(Multiple Choice)
4.9/5
(70)

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

(Multiple Choice)
4.9/5
(86)

A node that has no children is a

(Multiple Choice)
4.9/5
(83)

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

(Multiple Choice)
4.8/5
(82)

Methods of traversing a tree are:

(Multiple Choice)
4.9/5
(68)

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

(True/False)
4.9/5
(81)

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

(True/False)
4.9/5
(80)

Output will be the same if you use inorder, postorder, or preorder traversals of the same binary tree.

(True/False)
4.9/5
(78)

A tree with a height of three has:

(Multiple Choice)
4.9/5
(83)

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

(True/False)
4.8/5
(84)

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

(Multiple Choice)
4.9/5
(66)

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

(True/False)
4.8/5
(71)

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

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

(Multiple Choice)
4.9/5
(74)

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

(Multiple Choice)
4.8/5
(65)

Inorder, Preorder, and Postorder traversals can be accomplished using _____.

(Multiple Choice)
4.9/5
(94)

Stepping through the nodes of a tree is known as:

(Multiple Choice)
4.8/5
(72)

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

(True/False)
4.8/5
(78)
Showing 21 - 38 of 38
close modal

Filters

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