Exam 21: Binary Trees
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
When working with a binary tree, a node that has more than two children
(Multiple Choice)
4.9/5
(41)
The InOrder, PreOrder, and PostOrder traversals can be accomplished using
(Multiple Choice)
4.9/5
(37)
The PreOrder method of traversing a binary tree involves processing the node's data, traversing the node's left subtree, and then traversing the node's right subtree.
(True/False)
4.7/5
(43)
Output will be the same if you use InOrder, PostOrder, or PreOrder traversals of the same binary tree.
(True/False)
4.7/5
(39)
Binary trees are commonly used to organize key values that index database records.
(True/False)
4.8/5
(38)
The PostOrder method of traversing a binary tree involves processing the node's data, traversing the node's right subtree, and then traversing the node's left subtree.
(True/False)
4.8/5
(43)
In a binary tree, each node must have a minimum of two children.
(True/False)
4.9/5
(26)
A binary tree can be created using a struct or class containing a data value and
(Multiple Choice)
4.8/5
(38)
A subtree is an entire branch of a tree from one particular node down.
(True/False)
4.8/5
(41)
In a binary tree, each node may point to __________ other node(s).
(Multiple Choice)
4.9/5
(31)
Deleting a node that has two children offers an opportunity to use
(Multiple Choice)
4.9/5
(38)
All nodes to the right of a node hold values greater than that node's value.
(True/False)
4.8/5
(31)
When an application begins by searching a binary tree, it starts at
(Multiple Choice)
4.9/5
(34)
All node pointers that do not point to other nodes are set to
(Multiple Choice)
4.8/5
(31)
To remove a node that has children, you must first remove the children.
(True/False)
4.8/5
(25)
When a binary tree is used to facilitate a search, it is referred to as a
(Multiple Choice)
5.0/5
(23)
Select all that apply. Which of the following operations can be performed on a binary search tree?
(Multiple Choice)
4.9/5
(37)
Showing 21 - 39 of 39
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)