Chapter 10 Revision: Randomness in Computing
Randomness transforms computation: probabilistic algorithms often discover elegant, polynomial-time solutions to problems that remain stubborn or exponentially complex for deterministic machines.
Use these flashcards for active recall. Try to answer the question out loud before clicking the card to flip it.
Flashcards 🎴
What is a Probabilistic Turing Machine (PTM)?
What is the difference between Las Vegas and Monte Carlo algorithms?
• Monte Carlo: Guaranteed deterministic execution time; output has a bounded probability of error (e.g., Miller-Rabin primality test).
What are the probabilistic complexity classes BPP, RP, and ZPP?
• RP (Randomized Polynomial): One-sided error; never false positives (if x ∉ L, always rejects; if x ∈ L, accepts with probability ≥ 1/2).
• ZPP (Zero-error Probabilistic Polynomial): Expected polynomial time with zero error (ZPP = RP ∩ co-RP).
What is a Cryptographically Secure PRNG (CSPRNG)?
What is the P = BPP conjecture (Derandomization)?