Questions: Las Vegas vs Monte Carlo Algorithms

4 questions to test your understanding

Score: 0 / 4
Question 1 Multiple Choice

A Monte Carlo algorithm for a decision problem has one-sided error: it never says 'yes' incorrectly but says 'no' incorrectly with probability at most 1/3. After running the algorithm k independent times on the same input, what is the best strategy and resulting error probability?

ATake a majority vote; error drops to (1/3)^k
BIf ANY run says 'yes,' output 'yes'; otherwise output 'no' — error drops to (1/3)^k for true-yes instances
CAverage the outputs; error drops to 1/(3k)
DRun once — repetition cannot help with one-sided error
Question 2 True / False

Every Las Vegas algorithm can be converted to a Monte Carlo algorithm, but the reverse is not always true.

TTrue
FFalse
Question 3 True / False

The complexity class ZPP (Zero-error Probabilistic Polynomial time) equals RP ∩ coRP. This means ZPP algorithms are exactly Las Vegas polynomial-time algorithms.

TTrue
FFalse
Question 4 Short Answer

Explain the practical implications of the Las Vegas vs Monte Carlo distinction when composing randomized subroutines inside larger algorithms.

Think about your answer, then reveal below.