Exam 13: Advanced Implementations of Tables

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

A(n)______ maps the search key of a table item into a location that will contain the item.

(Multiple Choice)
4.8/5
(41)

The sequence of locations in a hash table that a collision resolution scheme examines is known as a(n)______ sequence.

(Multiple Choice)
4.8/5
(37)

A 2-3-4 tree requires more storage than a binary search tree.

(True/False)
4.9/5
(34)

What is a bucket?

(Essay)
4.9/5
(47)

What is a disadvantage of a 2-3-4 tree when compared with a binary search tree?

(Essay)
4.9/5
(37)

Suppose we wanted to use a hash table to store people's names.Each name is a String object.What is wrong with using the length of the string as the hash value of each name?

(Essay)
4.8/5
(40)

______ is a collision-resolution scheme that searches the hash table for an unoccupied location beginning with the original location that the hash function specifies and continuing at increments of 12,22,32,and so on.

(Multiple Choice)
4.9/5
(27)

The maximum height of a binary search tree of n nodes is ______.

(Multiple Choice)
4.7/5
(40)

Locating a particular item in a binary search tree of n nodes requires at most ______ comparisons.

(Multiple Choice)
4.9/5
(37)

What is meant by clustering? How does clustering affect the overall efficiency of hashing?

(Essay)
4.8/5
(39)

A 4-node is found in a(n)______.

(Multiple Choice)
4.9/5
(38)

A 2-3 tree of height h always has at least ______ nodes.

(Multiple Choice)
4.9/5
(33)

Searching a 2-3 tree is ______.

(Multiple Choice)
4.8/5
(31)

Which of the following is NOT true about a red-black tree?

(Multiple Choice)
4.8/5
(34)

A node that contains two data items and has three children is called a ______.

(Multiple Choice)
4.9/5
(45)

A 2-3 tree is a binary tree.

(True/False)
4.8/5
(35)

In the binary search tree implementation of the ADT table,the maximum number of comparisons required by the tableInsert operation is equal to ______.

(Multiple Choice)
5.0/5
(40)

A(n)______ is a tree in which each internal node has either two or three children,and all leaves are at the same level.

(Multiple Choice)
4.8/5
(45)

What is the advantage of using a variation of a binary search tree,such as a 2-3 tree or a 2-3-4 tree,instead of a binary search tree?

(Essay)
4.9/5
(38)

In a 2-3-4 tree,when is a 4-node split during an insertion operation?

(Essay)
4.7/5
(38)
Showing 21 - 40 of 60
close modal

Filters

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