Exam 21: Binary Trees
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
When you dereference a pointer to a pointer, the result is
Free
(Multiple Choice)
4.7/5
(33)
Correct Answer:
B
Select all that apply. Binary trees may be implemented as templates, but any data types used with them must support the __________ operator.
Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
A, B, D
Deleting a leaf node from a binary tree is not difficult but deleting a non-leaf node requires several steps.
(True/False)
4.8/5
(30)
When the root node points to two other nodes, the nodes are referred to as
(Multiple Choice)
4.8/5
(36)
The width of a tree is the largest number of nodes in the same level.
(True/False)
4.9/5
(30)
The binary tree structure is called a "tree" because it resembles an upside-down tree.
(True/False)
4.8/5
(30)
The height of a tree describes how many levels there are in the tree.
(True/False)
4.7/5
(38)
Select all that apply. The head pointer, anchored at the top of a binary tree, may be called the
(Multiple Choice)
5.0/5
(39)
Select all that apply. Which of the following are methods of traversing a binary tree?
(Multiple Choice)
4.9/5
(32)
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)
4.9/5
(37)
The intBinaryTree class has a public member function, findNode, that returns true if a value is not found and False if the value is found.
(True/False)
4.8/5
(33)
Values are typically stored in a binary search tree so that a node's __________ child holds data that is less than the __________ data.
(Multiple Choice)
4.7/5
(36)
The __________ in a binary tree is similar to the head pointer in a linked list.
(Multiple Choice)
4.9/5
(40)
In a binary tree class you usually have a pointer as a member that is set to the
(Multiple Choice)
5.0/5
(42)
The process of stepping through the nodes of a binary tree is known as
(Multiple Choice)
4.9/5
(31)
Showing 1 - 20 of 39
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)