Exam 19: Binary Trees
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C Plus Plus40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions40 Questions
Exam 5: Looping40 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays40 Questions
Exam 9: Searching, Sorting, Algorithm Analysis40 Questions
Exam 10: Pointers62 Questions
Exam 11: More About Classes and Object-Oriented Programming70 Questions
Exam 12: More on C-Strings and the String Class40 Questions
Exam 13: Advanced File and Io Operations40 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions22 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 Trees38 Questions
Select questions type
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.
Free
(Multiple Choice)
4.7/5
(33)
Correct Answer:
B
In certain types of binary trees, the number of leaves can be greater than the number of nodes.
Free
(True/False)
4.8/5
(32)
Correct Answer:
False
Deleting a leaf node from a binary search tree is not difficult. Deleting a non-leaf node requires several steps.
Free
(True/False)
4.8/5
(35)
Correct Answer:
True
In a binary search tree, all nodes to the right of a node hold values greater than the node's value.
(True/False)
4.7/5
(37)
Binary trees are commonly used to organize key values that index database records.
(True/False)
4.8/5
(28)
A subtree is the collection of some node, together with all its descendants.
(True/False)
4.8/5
(36)
If a node has no successor, the corresponding pointer is set to
(Multiple Choice)
4.9/5
(36)
The main difference between a binary tree and a linked list is that
(Multiple Choice)
4.8/5
(37)
Binary tree are called "trees" because they resemble an upside-down tree.
(True/False)
4.8/5
(36)
The ________ in a binary tree is analogous to the head pointer in a linked list.
(Multiple Choice)
4.9/5
(30)
The preorder method of traversing a binary tree involves processing the root node's data, traversing the left subtree, and then traversing the right subtree.
(True/False)
4.8/5
(37)
Inorder, preorder, and postorder traversals can be accomplished using
(Multiple Choice)
4.9/5
(38)
In a binary search tree where all the stored values are different, the node holding the largest value cannot have two children.
(True/False)
4.7/5
(27)
A binary tree can be created using a structure containing a data value and
(Multiple Choice)
4.7/5
(31)
Visiting all nodes of a binary tree in some methodical fashion is known as
(Multiple Choice)
4.8/5
(39)
The smallest number of levels that a binary tree with three nodes can have is two.
(True/False)
4.9/5
(40)
Showing 1 - 20 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)