Questions: Property Testing

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

The BLR (Blum-Luby-Rubinfeld) linearity test checks whether f: {0,1}^n -> {0,1} is a linear function by sampling random x, y and verifying f(x) + f(y) = f(x+y) (mod 2). If f is epsilon-far from every linear function, the test rejects with probability at least epsilon. Why does this work with O(1/epsilon) repetitions?

AEach test independently has probability epsilon of detecting a nonlinearity, so O(1/epsilon) tests give constant detection probability by the coupon collector argument
BIf f is epsilon-far from linear, then for a random x,y the probability that f(x) + f(y) != f(x+y) is at least epsilon — each random test has at least epsilon probability of catching a violation, and O(1/epsilon) independent tests boost this to constant probability
CThe test exhaustively checks all pairs within a random subset of size 1/epsilon
DThe linearity test requires O(n/epsilon) queries, not O(1/epsilon)
Question 2 True / False

In the dense graph model (adjacency matrix queries), every graph property expressible in first-order logic is testable with query complexity depending only on epsilon.

TTrue
FFalse
Question 3 Short Answer

Explain the difference between one-sided and two-sided error in property testing, and give an example where one-sided error requires more queries than two-sided error.

Think about your answer, then reveal below.
Question 4 True / False

Property testing in the bounded-degree graph model (where each vertex has degree at most d and queries are adjacency list queries) can always be done with query complexity independent of the graph size n.

TTrue
FFalse