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
When an application begins searching a binary tree, it starts at:
Free
(Multiple Choice)
4.8/5
(84)
Correct Answer:
C
An operation that can be performed on a binary search tree is
Free
(Multiple Choice)
4.8/5
(89)
Correct Answer:
D
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)
Binary trees are commonly used to organize key values that index database records.
(True/False)
4.9/5
(82)
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, each node may point to ____________ other nodes.
(Multiple Choice)
4.8/5
(76)
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)
Binary trees may be implemented as templates, but any data types used with them must support the ______________ operator.
(Multiple Choice)
4.8/5
(79)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)