Exam 19: Binary Trees
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C++40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions37 Questions
Exam 5: Looping38 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays37 Questions
Exam 9: Searching, Sorting, and Algorithm Analysis36 Questions
Exam 10: Pointers50 Questions
Exam 11: More About Classes and Object-Oriented Programming64 Questions
Exam 12: More on C-Strings and the String Class38 Questions
Exam 13: Advanced File and Io Operations38 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions20 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library STL40 Questions
Exam 17: Linked Lists38 Questions
Exam 18: Stacks and Queues36 Questions
Exam 19: Binary Trees37 Questions
Select questions type
The in a binary tree is analogous to the head pointer in a linked list.
(Multiple Choice)
4.9/5
(30)
In certain types of binary trees, the number of leaves can be greater than the number of nodes.
(True/False)
4.7/5
(34)
Binary tree are called "trees" because they resemble an upside- down tree.
(True/False)
4.9/5
(39)
A subtree is the collection of some node, together with all its descendants.
(True/False)
4.7/5
(26)
When a binary tree is used to facilitate a search, it is referred to as a
(Multiple Choice)
4.8/5
(43)
When an application begins searching a binary search tree, it starts at
(Multiple Choice)
4.7/5
(35)
Implementing a binary tree in a class requires a structure for representing the nodes of the binary tree, as well as a pointer to the structure as a class member. This pointer will be set to
(Multiple Choice)
5.0/5
(41)
The height of a binary tree describes how many levels there are in the tree.
(True/False)
4.8/5
(43)
The inorder method of traversing a binary tree involves traversing the left subtree, processing the data in the root, and then traversing the right subtree.
(True/False)
4.8/5
(32)
Visiting all nodes of a binary tree in some methodical fashion is known as
(Multiple Choice)
4.9/5
(39)
Values are commonly stored in a binary search tree so that a node's _ child holds data that is less than the _ _ data, while the node's data is less than the data in the other child.
(Multiple Choice)
4.7/5
(40)
Showing 21 - 37 of 37
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)