Exam 20: Binary Trees
Exam 1: Introduction to Computers and Programming44 Questions
Exam 2: Introduction to C++56 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files62 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays53 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 10: Characters, C++-Strings, and More About the String Class42 Questions
Exam 11: Structured Data43 Questions
Exam 11: Structured Data50 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes46 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions38 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library STL39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues46 Questions
Exam 19: Recursion21 Questions
Exam 20: Binary Trees38 Questions
Select questions type
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)
The head pointer, anchored at the top of a tree, is called the
(Multiple Choice)
4.8/5
(82)
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)