Questions: Randomized Complexity: RP, co-RP, and ZPP

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

An RP algorithm is run 20 times on an input x, and all 20 runs output NO. What can we conclude?

AThe answer is definitely NO — RP algorithms are always correct on NO instances
BThe answer is probably NO, with error probability at most (1/2)^20, but we cannot be certain
CThe answer is definitely YES — if the algorithm said NO 20 times, it must have been on a YES instance and kept making mistakes
DWe cannot conclude anything, because RP algorithms have two-sided error like BPP
Question 2 Multiple Choice

An RP algorithm for problem L is run on input x and outputs YES. What can we conclude?

AThe answer is probably YES, with error probability at most 1/2, but not definite
BThe answer is definitely YES — RP has no false positives, so a YES output is always correct
CWe need to run the algorithm more times to reduce the error probability below 1/2
DThe algorithm may have made an error; we should switch to a co-RP algorithm for confirmation
Question 3 True / False

A problem in ZPP has a randomized algorithm that always outputs the correct answer, but may run for a very long time on some random coin sequences — ZPP does not require polynomial time on every execution, only in expectation.

TTrue
FFalse
Question 4 True / False

The most efficient strategy to reduce the error probability of an RP algorithm is to run it multiple times and take the majority vote, just as with BPP algorithms.

TTrue
FFalse
Question 5 Short Answer

Why is one-sided error more exploitable than two-sided error? Explain using the structure of RP algorithms.

Think about your answer, then reveal below.