Algorithmic Combinatorics

Winter 2016-17

FU Berlin, Mathematics and Informatics


Week 14 Quiz

Use this quiz to test your knowledge and understanding of this week's lectures.

Question 1

Suppose we have a Monte Carlo algorithm that never gives false negatives, and the probability of a false positive is at most \(p\). By repeating the algorithm a constant number of times (independent of the size of the input), we can ensure the probability of a false positive will be less than \(0.01\), provided

Question 2

A linear-time Las Vegas algorithm should

Question 3

Suppose a Monte Carlo algorithm has no false positives, and the probability of a false negative is at most \(0.05\). If the algorithm returns NO, the probability that the correct answer is NO is

Question 4

In our matrix multiplication verification algorithm, using test vectors in \( \{0,1\}^n \) is preferable to test vectors in \( \{1,2\}^n \) because

Question 5

Suppose we wish to check if a degree-two polynomial \( f \in \mathbb{R}[x_1, x_2] \) is the zero polynomial. Finding out that \( f \) is zero on all points of which of the following sets guarantees that \( f = 0 \)?

I. \( \{ (-5,0), (-4,-3), (-4,3), (-3, -4), (-3,4), (0,-5), (0,5), (3,-4), (3,4), (4,-3), (4,3), (5,0) \} \)
II. \( \{ (0,0), (0,1), (0,2), (0,3), (1,0), (1,1), (1,2), (1,3), (1,4) \} \)
III. \( \{ (0,0), (0,1), (0,3), (1,1), (1,2), (2,2), (2,3), (3,0), (3,3) \} \)




Submit Reset

 

 

Return to top