Exam 13: Advanced Implementations of Tables

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A node in a red-black tree requires less storage than a node in a 2-3-4 tree.

(True/False)
4.9/5
(39)

A 2-3 tree is never taller than a minimum-height binary tree.

(True/False)
4.8/5
(40)

In a 2-3-4 tree,a leaf may contain ______ data items.

(Multiple Choice)
4.8/5
(36)

Insertions and deletions on a 2-3 tree requires fewer steps than insertions and deletions on a 2-3-4 tree.

(True/False)
4.9/5
(35)

The condition that occurs when a hash function maps two or more distinct search keys into the same location is called a(n)______.

(Multiple Choice)
4.8/5
(37)

In a 2-3 tree,a leaf may contain ______ data item(s).

(Multiple Choice)
4.9/5
(39)

In a 2-3 tree,how is the search key of a 2-node related to the search keys in the left subtree and the right subtree of the 2-node?

(Essay)
4.7/5
(30)

What are the two types of approaches for resolving collisions in a hash table design?

(Essay)
4.9/5
(29)

What makes 2-3-4 trees more attractive than 2-3 trees?

(Essay)
4.8/5
(36)

What are the two types of rotations possible in an AVL tree?

(Essay)
4.8/5
(46)

Suppose we have already inserted the values 5,10 and 15 into an empty 2-3-4 tree.Explain what happens when we insert the value 20 into this tree.

(Essay)
4.8/5
(37)

What is a perfect hash function?

(Essay)
4.8/5
(39)

A 2-3-4 tree is always balanced.

(True/False)
4.9/5
(31)

A 4-node contains ______ data item(s).

(Multiple Choice)
4.7/5
(35)

A red-black representation of a 2-3-4 tree is unique.

(True/False)
4.9/5
(36)

______ is a collision-resolution scheme that searches the hash table sequentially,starting from the original location specified by the hash function,for an unoccupied location.

(Multiple Choice)
4.8/5
(34)

In a 2-3 tree,how is the search key of a 3-node related to the search keys in the left subtree,the middle subtree,and the right subtree of the 3-node?

(Essay)
4.8/5
(39)

In a 4-node,the largest search key is found in the ______ subtree.

(Multiple Choice)
4.8/5
(35)

A 2-3 implementation of a table is ______ for all table operations.

(Multiple Choice)
4.8/5
(43)

Suppose we want to delete a node from an AVL tree.If this node does not have any children,is it possible that removing this node would require us to perform a rotation operation? Explain.

(Essay)
4.8/5
(35)
Showing 41 - 60 of 60
close modal

Filters

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