Exam 20: Binary Trees
Exam 1: Introduction to Computers and Programming50 Questions
Exam 2: Introduction to C Plus Plus60 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files63 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays58 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 9: Pointers45 Questions
Exam 10: Characters, C-Strings, and More About the String Class45 Questions
Exam 11: Structured Data53 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes47 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions40 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues47 Questions
Exam 19: Recursion22 Questions
Exam 20: Binary Trees38 Questions
Select questions type
Values are typically stored in a binary search tree so that a node's ________ child holds data is less than the ________ data.
Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
B
When you dereference a pointer to a pointer, the result is:
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
B
The head pointer, anchored at the top of a binary tree, is called the ________.
(Multiple Choice)
5.0/5
(36)
In a binary tree class, you usually have a pointer as a member that is set to ________.
(Multiple Choice)
4.8/5
(44)
Binary trees may be implemented as templates, but any data types used with them must support the ________ operator.
(Multiple Choice)
4.9/5
(46)
A subtree is an entire branch of a tree, from one particular node down.
(True/False)
4.9/5
(37)
Binary trees are commonly used to organize key values that index database records.
(True/False)
4.8/5
(35)
The ________ in a binary tree is similar to the head pointer in a linked list.
(Multiple Choice)
4.9/5
(41)
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.9/5
(35)
A binary tree can be created using a struct or class containing a data value and ________.
(Multiple Choice)
4.9/5
(42)
Deleting a node that has two children offers an opportunity to use:
(Multiple Choice)
4.8/5
(43)
The binary tree structure is called a "tree" because it resembles an upside-down tree.
(True/False)
4.9/5
(42)
The height of a tree describes how many levels there are in the tree.
(True/False)
4.8/5
(35)
The inorder method of traversing a binary tree involves traversing the node's left subtree, processing the node's data, and then traversing the node's right subtree.
(True/False)
5.0/5
(36)
The process of stepping through the nodes of a binary tree is known as ________.
(Multiple Choice)
4.9/5
(41)
Showing 1 - 20 of 38
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)