Exam 12: Heaps and Priority Queues
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
A multi-way search tree can have more than two children per node and can store more than one element in each node.
Free
(True/False)
4.8/5
(30)
Correct Answer:
True
How do insertions and deletions in a 2-4 tree compare to insertions and deletions in a 2-3 tree?
Free
(Essay)
4.9/5
(35)
Correct Answer:
Insertions and deletions in a 2-4 tree are exactly like those of a 2-3 tree except that splits occur when there are four elements instead of three as in a 2-3 tree.
Linked lists may provide a better solution both within a B-tree node and for collecting B-tree nodes because they are effective in both primary memory and secondary storage.
Free
(True/False)
4.7/5
(42)
Correct Answer:
False
___________ may provide a better solution both within a B-tree node and for collecting B-tree nodes because they are effective in both primary memory and secondary storage.
(Multiple Choice)
4.7/5
(33)
A ______ extends the concept of 2-3 and 2-4 trees so that nodes can have an arbitrary maximum number of elements.
(Short Answer)
4.9/5
(37)
Access to secondary storage is very slow relative to access to primary storage, which is motivation to use structures such as B-trees.
(True/False)
4.7/5
(37)
Access to secondary storage is very slow relative to access to primary storage, which is motivation to use structures such as ______.
(Short Answer)
4.8/5
(36)
A 2-4 tree expands on the concept a 2-3 tree to include the use of _________.
(Multiple Choice)
4.8/5
(41)
If the propagation effect of a 2-3 tree insertion causes the root to _________, the tree increases in height.
(Multiple Choice)
5.0/5
(34)
Access to ____________ storage is very slow relative to access to primary storage, which is motivation to use structures such as B-trees.
(Multiple Choice)
4.7/5
(43)
A __________ tree extends the concept of 2-3 and 2-4 trees so that nodes can have an arbitrary maximum number of elements.
(Multiple Choice)
4.7/5
(34)
When is rotation no longer an option for rebalancing a 2-3 tree after a deletion?
(Essay)
4.9/5
(35)
Arrays may provide a better solution both within a B-tree ______ and for collecting B-tree nodes because they are effective in both primary memory and secondary storage.
(Short Answer)
4.9/5
(39)
If the propagation effect of a 2-3 tree insertion causes the root to split, the tree decreases in height.
(True/False)
4.8/5
(45)
A 2-3 tree extends the concept of 2-4 trees so that nodes can have an arbitrary maximum number of elements.
(True/False)
4.8/5
(42)
Inserting an element into a 2-3 tree can have a ripple effect up the tree causing the _______ of the tree to increase.
(Multiple Choice)
4.8/5
(35)
Showing 1 - 20 of 29
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)