Week 116 of 145 ยท TAOCP Vol 3: Sorting and Searching

TAOCP 6.5 Retrieval on Secondary Keys

1 task, 3 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Use inverted lists to answer AND queries on secondary keys.
  • Explain how superimposed coding allows false drops but never false negatives.
  • Compute a Bloom filter's best number of hash functions from bits per key.

Week 116 ยท Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. An inverted file lists records {1, 4, 7, 9} for "cat" and {2, 4, 9, 10} for "dog". Which records match cat AND dog?
  2. A Bloom filter uses 10 bits per stored element. About how many hash functions minimize false positives?
  3. A Bloom filter answers "yes" for a key. What do you know?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 116, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it