Exam 9: Searching and Sorting
Exam 1: Introduction36 Questions
Exam 2: Analysis of Algorithms31 Questions
Exam 3: Introduction to Collections - Stacks49 Questions
Exam 4: Linked Structures - Stacks51 Questions
Exam 5: Queues28 Questions
Exam 6: Lists42 Questions
Exam 7: Iterators32 Questions
Exam 8: Recursion57 Questions
Exam 9: Searching and Sorting54 Questions
Exam 10: Trees47 Questions
Exam 11: Binary Search Trees50 Questions
Exam 12: Heaps and Priority Queues29 Questions
Exam 13: Sets and Maps47 Questions
Exam 14: Multi-Way Search Trees47 Questions
Exam 15: Graphs29 Questions
Exam 16: UML16 Questions
Exam 17: Object-Oriented Design54 Questions
Select questions type
The simulated link strategy does not allow array positions to be allocated contiguously regardless of the completeness of the tree.
(True/False)
4.8/5
(37)
The simulated link strategy allows array positions to be allocated contiguously regardless of the _________ of the tree.
(Multiple Choice)
4.9/5
(39)
What are the advantages and disadvantages of the computational strategy?
(Essay)
4.7/5
(34)
Preorder traversal means visit the left child, then the right child, then the node.
(True/False)
4.7/5
(35)
In the computational strategy to implement a tree with an array, the children of node n are stored at 2n + 1 and 2(n + 1) respectively.
(Multiple Choice)
4.9/5
(37)
A collection where each node can have from 0 to 2 children is called a ___________.
(Multiple Choice)
4.8/5
(43)
-A ______ is a nonlinear structure whose elements are organized into a hierarchy.

(Short Answer)
4.8/5
(31)
A collection where each node can have from 0 to 3 children is called a Binary Tree.
(True/False)
5.0/5
(43)
-The ______ strategy allows array positions to be allocated contiguously regardless of the completeness of the tree.

(Short Answer)
4.8/5
(37)
In general, a balanced n-ary tree with m elements will have height lognm.
(True/False)
4.9/5
(33)
Level-order traversal means visit the nodes at each level, one level at at time, starting with the root.
(True/False)
4.8/5
(34)
A node that does not have a ______ is called the root of a tree.
(Short Answer)
4.8/5
(37)
_________ traversal means visit the node, then the left child, then the right child.
(Multiple Choice)
4.8/5
(43)
In the computational strategy to implement a tree with an array, the children of node n are stored at 2n + 1 and 2(n + 1) respectively.
(True/False)
4.8/5
(27)
A node that has both a parent and at least one child is called a(n) ______ node.
(Short Answer)
4.9/5
(37)
A tree is a nonlinear structure whose elements are organized into a __________.
(Multiple Choice)
4.8/5
(41)
Showing 21 - 40 of 54
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)