{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Computer Science 70 - Fall 2001 - Wagner - Midterm 2

Computer Science 70 - Fall 2001 - Wagner - Midterm 2 - cs70...

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

View Full Document Right Arrow Icon
cs70, midterm 2, fall 2001 file:///C:/Documents%20and%20Settings/Jason%20Raftery/Desktop/R... 1 of 3 5/12/2006 8:42 PM cs70, fall 2001 midterm 2 professor wagner Problem #1 (18 pts.) Short-answer questions In each of the following, no justification is required. However, if you give a brief explanation of your answer, we may assign partial credit based on your explanation (if your answer is incorrect), and we reserve the right to deduce points for an incorrect explanation (even if your answer is correct). (a) [4 pts.] Alice flips a fair coin n times in a row. What is the probability that she receives exactly i heads? (b) [4 pts.] E and F are events. Also, Pr[E] = 0.2 and Pr[F] = 0.3. What is the smallest value that Pr[E union F] could possibly be? What is the largest it could be? (c) [5 pts.] How many 2001-bit strings are there that do not contain 01 anywhere as a substring? (d) [5 pts.] Let n range over the positive integers such that n = 11 (mod 12), and define z = (n+1)/2. For which n is z invertible modulo n? Problem #2 (12 pts.) Digit sums
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern