Computer Science 174 - Spring 2000 - Canny - Final Exam

Computer Science 174 - Spring 2000 - Canny - Final Exam -...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS174 Final Exam Solutions Spring 2000 J. Canny May 17 1. (20 points) (a) (4 points) What is the probability that a random permutation of has at least one fixed point? Assume is large. The number of fixed points in a random permutation has Poisson(1) distribution. Hence the probability of no fixed points is and the probability of at least one fixed point is . (b) (4 points) If where , express in terms of , and . Distributing the expression, we get: And the last expression simplifies to . (c) (4 points) Suppose you draw a random card from a pack of cards, look at it, replace it in the pack, and then reshuffle. Repeat times. What is the expected value of until you have seen all the cards? This is the coupon collector’s problem, so we should expect to draw cards. (d) (4 points) Suppose you want to bound the probability of more than heads in tosses of a fair coin. Out of Markov, Chebyshev and Chernoff, which bound would you use and why? Assuming is large, you shouldnt need to compute anything to answer this question. Since all the tosses are independent, we can use Chernoff bounds which are the strongest bounds of the three. (e) (4 points) Suppose you draw cards at random from a deck of cards, with replace- ment. How large should be in terms of so that you have small probability (say less than half) of drawing the same card twice?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Computer Science 174 - Spring 2000 - Canny - Final Exam -...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online