Questions: Bloom Filters: Space-Efficient Probabilistic Set Membership

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A Bloom filter query returns 'yes, this element is present.' What can you conclude?

AThe element is definitely in the set
BThe element is probably in the set, but a false positive is possible
CThe element is definitely not in the set
DThe element was inserted but may have been deleted
Question 2 Multiple Choice

A Bloom filter has a 5% false positive rate. You want to reduce it without changing the number of hash functions. What is the most direct approach?

ARemove elements you know are in the set to clear their bits
BIncrease the bit array size m
CDecrease the bit array size m to make queries faster
DSwitch to a standard hash table for the frequently queried elements
Question 3 True / False

A Bloom filter can return a false negative — reporting that an element is absent when it was actually inserted.

TTrue
FFalse
Question 4 True / False

Increasing the number of hash functions k typically reduces the false positive rate of a Bloom filter.

TTrue
FFalse
Question 5 Short Answer

Why can a Bloom filter guarantee no false negatives but cannot guarantee no false positives?

Think about your answer, then reveal below.