Exam 12: Heaps and Priority Queues

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

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:
Verified

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:
Verified

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:
Verified

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)

When does a node in a 2-3 tree split?

(Essay)
4.8/5
(32)

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)

Describe the process of deleting an element from a 2-3 tree.

(Essay)
4.9/5
(33)

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)

How can splitting a node in a 2-3 tree affect the rest of the tree?

(Essay)
4.9/5
(34)

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)

Describe the nodes in a 2-4 tree.

(Essay)
5.0/5
(33)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)