Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 2

Size: px
Start display at page:

Download "Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 2"

Transcription

1 CS 70 Discrete Mathematics and Probability Theory Summer 201 Chung-Wei Lin Midterm 2 PRINT Your Name:, (last (first SIGN Your Name: PRINT Your Student ID: CIRCLE Your Exam Room: 200 VLSB 10 EVANS OTHER Name of the person sitting to your left: Name of the person sitting to your right: The discussion section you usually attend: # Time TA # Time TA # Time TA am Caroline 4 4 pm Jerry 1 6pm Lexing pm Favian 4 pm Kunal 6 6pm Akshay pm Nathan Z. 7 4 pm Nathan M. 8 6pm Anna pm Diana After the exam starts, please write your student ID (or name on every odd page (we will remove the staple when scanning your exam. You should not write anything, including your SID or name, after time is up. We will not grade anything on the extra pages (Page 12 and Pages or outside of the space provided for a problem unless we are clearly told in the space provided for the question to look there. Except special notices, you must show your work to get credits. You may consult two single-sided sheets (or one double-sided sheet of notes. Apart from that, you may not look at books, notes, etc. Calculators, phones, and computers are not permitted. You have 110 minutes. There are 10 questions for a total of 100 points plus 1 bonus points. Use the number of points as a rough guide for the amount of time to allocate to that question. There are 16 pages (sides on the exam. Notify a proctor immediately if a page is missing. Do not turn this page until your instructor tells you to do so. CS 70, Summer 201, Midterm 2 1

2 1. Probability + Stable Marriage (4 points Men Preference Lists Women Preference Lists 1 C > A > B A 2 > 1 > 3 2 B > C > A B 3 > 1 > 2 3 B > C > A C 3 > 2 > 1 Given the preference lists above, if we randomly and uniformly decide a pairing, what is the probability that the pairing is stable and optimal for men or women? Answer: 1 6. There are totally 3! = 6 possible pairings. Run the men-proposing Stable Marriage Algorithm (SMA and get the male optimal pairing {(1,A,(2,C,(3,B}; run the women-proposing SMA and get the female optimal pairing {(1,A,(2,C,(3,B}. The two pairings are the same, so there is only one stable pairing and it is male optimal or female optimal. Since we randomly and uniformly decide a pairing, the probability is Probability + Polynomial (4 points P(x is a polynomial of degree at most 1, and each coefficient is decided randomly and uniformly from {0,1,2,3}. If we consider mod 4, observe P(0 = 2, and let random variable X be P(2. What is the distribution of X? Answer: Pr[X = 0] = 1 2 ; Pr[X = 2] = 1 2 or Pr[X = 0] = 1 2 ; Pr[X = 1] = 0; Pr[X = 2] = 1 2 ; Pr[X = 3] = 0. Since P(0 = 2, P(x must be ax + 2 where a {0,1,2,3} with probability 1 4 for each possible value. If a = 0,1,2,3, P(x = 2,x + 2,2x + 2,3x + 2 and P(2 = 2,0,2,0, respectively. Therefore, Pr[X = 0] = 1 2 ; Pr[X = 2] =

3 3. Apples (8 points, 4 points for each part (a You want to distribute 10 indistinguishable apples to Margo, Edith, Agnes, and Lucy. How many different ways are there? (You do not need to calculate the exact value of ( a b or a!. ( ( Answer: or It is exactly the number of non-negative integer solutions to x 1 + x 2 + x 3 + x 4 = 10. Therefore, it is ( 13 3 or ( (b Following Part (a, you also want to make sure Agnes gets at least 3 apples and Lucy gets at least 1 apple. How many different ways are there? (You do not need to calculate the exact value of ( a b or a!. ( ( 9 9 Answer: or. 3 6 Replace x 3,x 4 by y 3 + 3,y 4 + 1, respectively. It is exactly the number of non-negative integer solutions to x 1 + x 2 + (y (y = 10, which is equivalent to x 1 + x 2 + y 3 + y 4 = 6. Therefore, it is ( 9 3 or. ( 9 6 3

4 4. Superheros and Gifts (10 points, 4/6 points for each part (a Nick has gifts (we do not know they are distinguishable or indistinguishable. For each gift, he randomly and uniformly gives it to one of the three superheroes: Hulk, Iron Man, and Captain America (each superhero has a 1/3 probability to get the gift. However, Hulk will become angry if he does not get any gift. What is the probability that Hulk stays calm (not angry? (Show your work and write down your answer as an integer divided by another integer. (They may be useful: 2 2 = 4,2 3 = 8, 2 4 = 16, 2 = 32, 3 2 = 9, 3 3 = 27, 3 4 = 81, 3 = 243. Answer: 211 The probability that Hulk does not get any gift it ( 2 3 = Subtract it from 1: = = 211 (b Following Part (a, Hulk will also become angry if he finds one or both of Iron Man and Captain America get more gifts than him. What is the probability that Hulk stays calm? (Show your work and write down your answer as an integer divided by another integer. (They may be useful: ( ( 2 1 = 2, 3 ( 1 = 3, 4 ( 1 = 4, 4 ( 2 = 6, ( 1 =, 2 = Answer: There are four cases: 1. Hulk gets gifts: the probability is ( 1 ( 2 0 ( 3 3 = 1 2. Hulk gets 4 gifts: the probability is ( 1 4 ( 2 1 4( 3 3 = Hulk gets 3 gifts: the probability is ( 1 3 ( 2 2 3( 3 3 = Hulk gets 2 gifts and one of the other two gets 2 gifts (so the last one gets 1 gift: the probability is ( ( 2 (2 3 ( 1 2 ( 1 2 ( = Note that the (2 is to select one of Iron Man and Captain American to get 2 gifts. Take the summation and get 111 Note: you can also consider Case 4 and get the probability of distribution (do not care who gets 2 gifts or 1 gift is ( 3 2 ( = most gifts, so the probability is 1 3 ( The remaining cases have exactly one superhero getting the = 111 4

5 . Traffic Dilemma (10 points, 6/4 points for each part (a Your favorite team plays 0% games at Memorial Stadium, 40% games at AT&T Park, and 10% games at Coliseum. Its winning percentages are 80%, 0%, and 100% at Memorial Stadium, AT&T Park, and Coliseum, respectively. When driving, you hear news that the team just won a game. However, you forget where the game was, so you are not sure if you should detour to avoid traffic near Memorial Stadium. What is the probability that the game was at Memorial Stadium? Answer: 4 7. Let M,A,C be the events that the team plays at Memorial Stadium, AT&T Part, and Coliseum, respectively, and W be the event that the team wins a game. Pr[M W] = Pr[M W] Pr[W] = Pr[M W] Pr[M W] + Pr[A W] + Pr[C W] = Pr[W M] Pr[M] Pr[W M]Pr[M] + Pr[W A]Pr[A] + Pr[W C]Pr[C] = = = 4 7. (b Following Part (a, your friend reminds you that, although the driving time (from your current location to your destination without detouring will be increased from 3 minutes to 70 minutes if there is a game at Memorial Stadium, the driving time (also from your current location to your destination with detouring still needs 0 minutes. Given this information, should you detour? Justify your answer. Answer: Yes. Let random variable X be the driving time (from your current location to your destination without detouring. E(X = =, which is larger than 0. Therefore, detouring is better.

6 6. TRUE or FALSE First Round (18 points, 8/10 points for each part For any of the following statements, claim TRUE or FALSE first. If you claim TRUE, prove it. If you claim FALSE, disprove it. (a You roll a fair dice twice. Let A be the event that you get the same outcome on both rolls and B be the event that you get on your first roll. Statement: A and B are dependent events. TRUE FALSE Answer: FALSE. There are totally 36 sample points, and 6 sample points ((1,1,(2,2,(3,3,(4,4,(,,(6,6 have the same outcome on both rolls, so Pr[A] = There are also 6 sample points ((,1,(,2,(,3,(,4,(,,(,6 having on the first roll, so Pr[B] = There is only 1 sample point ((, having the same outcome on both rolls and having on the first roll, so Pr[A B] = Check Pr[A B] = 1 36 = Pr[A] Pr[B] and prove they are independent. 6

7 (b Assume each regrade request is submitted and processed independently and the probability that a request is determined as an invalid one is 4/. Every student can have 3 non-penalized invalid requests (an invalid request means the corresponding number of points not changed, but the 4th one will result in 4-point penalty. You want to submit 4 requests where 1 request is for points (the decision will be either more points or no change and each of the other 3 requests is for 1 point (the decision will be either 1 more point or no change. Statement: submitting those 4 requests is advantageous. TRUE FALSE (They may be useful: ( 4 2 = 0.64; ( 4 3 = 0.12; ( 4 4 = ; ( 4 = Answer: FALSE. Let random variable X be the total point gain, Y i be the point gain of request i, Z be the point deduction. E(Y 1 = = 1; E(Y 2 = = 0.2; E(Y 3 = = 0.2; E(Y 4 = E(Z = 4 ( 4 = 0.2; ( E(X = E(Y 1 +Y 2 +Y 3 +Y 4 Z ( 4 4 = ; = E(Y 1 + E(Y 2 + E(Y 3 + E(Y 4 E(Z = = , which is smaller than 0, meaning it is disadvantageous. 7

8 7. Combinatorial Proof (10 points Use a combinatorial proof to prove the following statement: ( 3n 1 2n = n 1 n i=1 ( i ( n i ( 2n i Answer: There are n males and 2n females applying for the CS major at UC Berkeley. The CS department has n seats available and 1 fellowship for a female student. Both of LHS and RHS are counting the number of ways giving admissions and the fellowship. LHS: First pick one female fellowship recipient from 2n female applicants (2n. Then, pick the other n 1 students from 3n 1 remaining applicants ( ( 3n 1 n 1. RHS: Pick i male applicants that are not admitted ( ( n i. The number is exactly the same as that of picking n i male applicants that are admitted. Then, pick i female applicants that are admitted ( ( 2n i. Note that there are n i+i students now. Next, pick a fellowship recipient from the i female students that are admitted (i. Lastly, take summation over all choices of i, where i cannot be 0 because at least one female must be picked ( n i=1. Since LHS and RHS count the same thing, they are equal.. 8

9 8. TRUE or FALSE Second Round (24 points, 12 points for each part For any of the following statements, claim TRUE or FALSE first. If you claim TRUE, prove it. If you claim FALSE, disprove it (e.g., provide a counterexample. (a There are 4 bins, and each bin has some black balls and some white balls. When you draw a ball from Bin i, the probability of getting a black ball is p i, where i = 1,2,3,4, and you are given that p 1 p 2 and p 3 p 4. Now, you put all balls in Bin 1 and Bin 3 to an empty bin, Bin, and you also put all balls in Bin 2 and Bin 4 to an empty bin, Bin 6. Define p, p 6 as the probabilities of getting a black ball from Bin and Bin 6, respectively. Statement: p p 6. TRUE FALSE Answer: FALSE. Let Bin 1 have 1 black ball and 2 white balls, so p 1 = 1 3. Let Bin 2 have 1000 black ball and 1000 white ball, so p 2 = 1 2. Let Bin 3 have 2000 black balls and 1000 white balls, so p 3 = 2 3. Let Bin 4 have 3 black balls and 1 white ball, so p 3 = 3 4. We can see p 1 p 2 and p 3 p 4. Bin has 2001 black balls and 1002 white balls, so p = Bin 6 has 1003 black balls and 1001 white balls, so p 6 = It is trivial that 2001, and this is a counterexample >

10 (b Statement: for any three events A 1,A 2,A 3 where 0 < Pr[A i ] < 1 for i = 1,2,3, if Pr[A 1 A 2 A 3 ] = Pr[A 1 ] Pr[A 2 ] Pr[A 3 ], then A 1,A 2,A 3 are pairwise independent. TRUE FALSE Answer: FALSE. Flip a fair coin; if H, flip another coin with H probability 1 4 ; if T, flip another coin with H probability 3 4. Let A 1 be the event getting H on the first time. Let A 2 be the event getting H on the first time (same as A 1. Let A 3 be the event getting H on the second time. Pr[A 1 ] = 1 2 ; Pr[A 2] = 1 2 ; Pr[A 3] = = 1 2 (HH or T H. Pr[A 1 A 2 A 3 ] = = 1 8 (HH. Pr[A 1 A 2 A 3 ] = 1 8 = Pr[A 1] Pr[A 2 ] Pr[A 3 ], but A 1 and A 2 dependent since Pr[A 1 A 2 ] = = Pr[A 1 ] Pr[A 2 ]. This is a counterexample. Note: here is another counterexample: Roll a fair 6-sided dice. Let A 1 be the event of rolling 1 3. Let A 2 be the event of rolling 3 6. Let A 3 be the event of rolling odds. Pr[A 1 ] = 1 2 ; Pr[A 2] = 2 3 ; Pr[A 3] = 1 2. The intersection of these events, A 1 A 2 A 3, is when we roll a 3. Pr[A 1 A 2 A 3 ] = 1 6 = Pr[A 1] Pr[A 2 ] Pr[A 3 ]. However, A 1 and A 2 are dependent, since Pr[A 1 A 2 ] = = Pr[A 1] Pr[A 2 ]. 10

11 9. Secret Sharing (12 points The United Nations consists of n countries (n > 3, and they are working with Thor and Loki. A vault can be opened with a secret s, and it should only be opened in any one of three situations: 1. All n countries in the UN help. 2. At least m countries (0 < m < n 2 get together with Thor. 3. At least m + 2 countries (0 < m < n 2 get together with Loki. Odin works over GF(p where p is sufficiently large and uses only one polynomial to implement a secret sharing scheme. In the scheme, P(x is with degree at most n 1, P(0 is the secret, the i-th country gets a point P(i, Thor gets (n m points P(n + 1,P(n + 2,...,P(n +(n m, and Loki gets (n m 2 points P(n + (n m + 1,P(n + (n m + 2,...,P(n + (n m + (n m 2. Does this scheme work? Hints: given n > 3 and 0 < m < n 2, we suggest you follow one of the following three paths: 1. Always Works! Claim the scheme works for all n,m and justify your claim. 2. Sometimes Works! Claim the scheme works for some (but not all n,m, provide the condition that it works, and justify your claim and condition. 3. Never Works! Claim the scheme does not work for all n,m and justify your claim. Answer: It never works. Thor and Loki can get together and have (n m+(n m 2 = 2n 2m 2 points (note that both of them have at least 1 point. There are two cases: 1. If 2n 2m 2 n, then they have enough points to reconstruct P(x, but this does not satisfy any of the three situations (note that there must be at least m countries, where m > If 2n 2m 2 < n, then they can work with n + 2m + 2 countries and get n points to reconstruct P(x, but this does not satisfy any of the three situations because n + 2m + 2 < m (note that this is equivalent to m < n 2, which is given in the question. 11

12 10. Probability + Error Correction (1 bonus points Figure 1: Minions using error correction codes [ Kevin wants to send a message of 10 ordered packets to Stuart. Each packet will first go through a hungry dragon. For each packet, there is a 1/10 probability to be eaten by the dragon. Each remaining packet will then go through a witch. For each remaining packet, there is a 8/9 probability to be changed by the witch. Given this scenario, how many packets should Kevin send so that the probability that Stuart can recover the message is maximized? Justify your answer (some approximation or estimation is encouraged for this question. The following table of ( n k may be useful. Answer: 14. n k The basic idea here is: having more packets going through the witch tends to be disadvantageous, but there should be enough packets so that Stuart receives fewer than 10 packets. Let n be the number of packets that Kevin sends. Following the idea above, n should be at least 10. Let A be the event that Stuart can recover the message, i be the number of packets eaten by the dragon, and j be the number of packets changed by the witch. From the perspective of Kevin, the probabilities that a packet is correct, eaten, and changed are 0.1, 0.1, and 0.8, respectively, so Pr[A] = n 10 i=0 n i 10 2 j=0 ( n i ( n i j 0.1 n i j 0.1 i 0.8 j. Following the idea again, we can start from n = 10. Pr[A] tends to first increase as n increases (when n is around 10, the probability that Stuart receives fewer than 10 packets is significant and then decrease as n increases (when n is larger, the probability that Stuart receives fewer than 10 packets is insignificant, and thus having more packets tends to be disadvantageous. 12

13 If n = 10, there must be 10 correct packets (10/0/0: Pr[A] = = If n = 11, there must be 11 correct packets or 10 correct packets and 1 eaten packet (11/0/0 or 10/1/1: ( 11 Pr[A] = = If n = 12, possible scenarios are 12/0/0, 11/1/0, 11/0/1 or 10/2/0: ( ( Pr[A] = ( = If n = 13, possible scenarios are 13/0/0, 12/1/0, 12/0/1, 11/2/0, 11/1/1 or 10/3/0: ( ( ( ( ( Pr[A] = ( = At this point, 12 is a reasonable answer. However, 14 is the best (most accurate answer because, if n = 14, Pr[A] = , and the probability drops significantly when n > 14. Note 1: you can approximate ( n k to help your calculation, e.g., ( or ( Note 2: the probabilities (10 10 from n = 1: 1.42, , , , , 0.10,... 13

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1 CS 70 Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1 PRINT Your Name:, last) first) SIGN Your Name: PRINT Your Student ID: CIRCLE your exam room: 2050 VLSB 10 EVANS OTHER

More information

Midterm 2. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

Midterm 2. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You: CS70 Discrete Mathematics and Probability Theory, Fall 2018 Midterm 2 8:00-10:00pm, 31 October Your First Name: SIGN Your Name: Your Last Name: Your SID Number: Your Exam Room: Name of Person Sitting on

More information

EECS 70 Discrete Mathematics and Probability Theory Fall 2015 Walrand/Rao Final

EECS 70 Discrete Mathematics and Probability Theory Fall 2015 Walrand/Rao Final EECS 70 Discrete Mathematics and Probability Theory Fall 2015 Walrand/Rao Final PRINT Your Name:, (last) SIGN Your Name: (first) PRINT Your Student ID: CIRCLE your exam room: 220 Hearst 230 Hearst 237

More information

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Midterm 2 Solutions

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Midterm 2 Solutions CS 70 Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Midterm 2 Solutions PRINT Your Name: Oski Bear SIGN Your Name: OS K I PRINT Your Student ID: CIRCLE your exam room: Pimentel

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam

Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam CS 70 Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam Friday August 15, 2014, 5:10pm-8:10pm. Instructions: Do not turn over this page until the proctor tells you to. Don t

More information

Midterm 1. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

Midterm 1. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You: CS70 Discrete Mathematics and Probability Theory, Fall 2018 Midterm 1 8:00-10:00pm, 24 September Your First Name: SIGN Your Name: Your Last Name: Your Exam Room: Name of Person Sitting on Your Left: Name

More information

CS 70 Discrete Mathematics and Probability Theory Summer 2016 Dinh, Psomas, and Ye Final Exam

CS 70 Discrete Mathematics and Probability Theory Summer 2016 Dinh, Psomas, and Ye Final Exam CS 70 Discrete Mathematics and Probability Theory Summer 2016 Dinh, Psomas, and Ye Final Exam PRINT Your Name:, (last) By signing below, I agree that (a) I will not give or receive help from others during

More information

Prob. 1 Prob. 2 Prob. 3 Total

Prob. 1 Prob. 2 Prob. 3 Total EECS 70 Discrete Mathematics and Probability Theory Spring 2013 Anant Sahai MT 1 PRINT your student ID: PRINT AND SIGN your name:, (last) (first) (signature) PRINT your Unix account login: cs70- PRINT

More information

CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 Solutions

CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 Solutions CS 70 Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand Midterm 1 Solutions PRINT Your Name: Answer: Oski Bear SIGN Your Name: PRINT Your Student ID: CIRCLE your exam room: Dwinelle

More information

Discrete Mathematics and Probability Theory Spring 2017 Rao Midterm 2 Solutions

Discrete Mathematics and Probability Theory Spring 2017 Rao Midterm 2 Solutions CS 70 Discrete Mathematics and Probability Theory Spring 2017 Rao Midterm 2 Solutions PRINT Your Name: Oski Bear SIGN Your Name: OS K I PRINT Your Student ID: CIRCLE your exam room: Pimentel 1 GPB 100

More information

Prob. 1 Prob. 2 Prob. 3 Total

Prob. 1 Prob. 2 Prob. 3 Total EECS 70 Discrete Mathematics and Probability Theory Spring 2013 Anant Sahai MT 1 Solution PRINT your student ID: PRINT AND SIGN your name:, (last) (first) (signature) PRINT your Unix account login: cs70-

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B)

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B) CS 70 Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B) Instructions: Do not turn over this page until the proctor tells you to. Don t write any answers on the backs

More information

CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Final

CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Final CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Final PRINT Your Name:, (Last) (First) READ AND SIGN The Honor Code: As a member of the UC Berkeley community, I act with

More information

Discrete Mathematics and Probability Theory Spring 2015 Vazirani Midterm #2 Solution

Discrete Mathematics and Probability Theory Spring 2015 Vazirani Midterm #2 Solution CS 70 Discrete Mathematics and Probability Theory Spring 015 Vazirani Midterm # Solution PRINT your name:, (last) SIGN your name: (first) PRINT your student ID: CIRCLE your exam room: 3106 Etcheverry 3108

More information

Midterm 1. Total. CS70 Discrete Mathematics and Probability Theory, Spring :00-9:00pm, 1 March. Instructions:

Midterm 1. Total. CS70 Discrete Mathematics and Probability Theory, Spring :00-9:00pm, 1 March. Instructions: CS70 Discrete Mathematics and Probability Theory, Spring 2012 Midterm 1 7:00-9:00pm, 1 March Your Name: Person on Your Left: Person on Your Right: Your Section: Instructions: (a) There are five questions

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 CS 70 Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 Thursday July 17, 2014, 12:40pm-2:00pm. Instructions: Do not turn over this page until the proctor tells you to. Don t

More information

4. What is the probability that the two values differ by 4 or more in absolute value? There are only six

4. What is the probability that the two values differ by 4 or more in absolute value? There are only six 1. Short Questions: 2/2/2/2/2 Provide a clear and concise justification of your answer. In this problem, you roll two balanced six-sided dice. Hint: Draw a picture. 1. What is the probability that the

More information

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Final Solutions

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Final Solutions CS 70 Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Final Solutions CS 70, Fall 2017, Final Solutions 1 1. Discrete Math: True/False (2pts/part,9 parts. 18 points) 1. (True/False)

More information

Math 51 Midterm 1 July 6, 2016

Math 51 Midterm 1 July 6, 2016 Math 51 Midterm 1 July 6, 2016 Name: SUID#: Circle your section: Section 01 Section 02 (1:30-2:50PM) (3:00-4:20PM) Complete the following problems. In order to receive full credit, please show all of your

More information

2. Polynomials. 19 points. 3/3/3/3/3/4 Clearly indicate your correctly formatted answer: this is what is to be graded. No need to justify!

2. Polynomials. 19 points. 3/3/3/3/3/4 Clearly indicate your correctly formatted answer: this is what is to be graded. No need to justify! 1. Short Modular Arithmetic/RSA. 16 points: 3/3/3/3/4 For each question, please answer in the correct format. When an expression is asked for, it may simply be a number, or an expression involving variables

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam

Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam CS 70 Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam Friday August 15, 2014, 5:10pm-8:10pm. Instructions: Do not turn over this page until the proctor tells you to. Don t

More information

Midterm 1. Name: TA: U.C. Berkeley CS70 : Algorithms Midterm 1 Lecturers: Anant Sahai & Christos Papadimitriou October 15, 2008

Midterm 1. Name: TA: U.C. Berkeley CS70 : Algorithms Midterm 1 Lecturers: Anant Sahai & Christos Papadimitriou October 15, 2008 U.C. Berkeley CS70 : Algorithms Midterm 1 Lecturers: Anant Sahai & Christos Papadimitriou October 15, 2008 Name: Midterm 1 TA: Answer all questions. Read them carefully first. Be precise and concise. The

More information

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear.

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear. Probability_Homework Answers. Let the sample space consist of the integers through. {, 2, 3,, }. Consider the following events from that Sample Space. Event A: {a number is a multiple of 5 5, 0, 5,, }

More information

COS 341: Discrete Mathematics

COS 341: Discrete Mathematics COS 341: Discrete Mathematics Final Exam Fall 2006 Print your name General directions: This exam is due on Monday, January 22 at 4:30pm. Late exams will not be accepted. Exams must be submitted in hard

More information

Midterm Exam 1 Solution

Midterm Exam 1 Solution EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2015 Kannan Ramchandran September 22, 2015 Midterm Exam 1 Solution Last name First name SID Name of student on your left:

More information

Math 407: Probability Theory 5/10/ Final exam (11am - 1pm)

Math 407: Probability Theory 5/10/ Final exam (11am - 1pm) Math 407: Probability Theory 5/10/2013 - Final exam (11am - 1pm) Name: USC ID: Signature: 1. Write your name and ID number in the spaces above. 2. Show all your work and circle your final answer. Simplify

More information

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1 EECS 70 Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1 Exam location: 10 Evans, Last name starting with A-B or R-T PRINT your student ID: PRINT AND SIGN your name:, (last)

More information

1 Basic continuous random variable problems

1 Basic continuous random variable problems Name M362K Final Here are problems concerning material from Chapters 5 and 6. To review the other chapters, look over previous practice sheets for the two exams, previous quizzes, previous homeworks and

More information

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 275

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 275 Carleton University Final Examination Fall 2017 DURATION: 2 HOURS No. of students: 275 Department Name & Course Number: Computer Science COMP 2804A Course Instructor: Michiel Smid Authorized memoranda:

More information

ECE 302, Final 3:20-5:20pm Mon. May 1, WTHR 160 or WTHR 172.

ECE 302, Final 3:20-5:20pm Mon. May 1, WTHR 160 or WTHR 172. ECE 302, Final 3:20-5:20pm Mon. May 1, WTHR 160 or WTHR 172. 1. Enter your name, student ID number, e-mail address, and signature in the space provided on this page, NOW! 2. This is a closed book exam.

More information

Math 51 First Exam October 19, 2017

Math 51 First Exam October 19, 2017 Math 5 First Exam October 9, 27 Name: SUNet ID: ID #: Complete the following problems. In order to receive full credit, please show all of your work and justify your answers. You do not need to simplify

More information

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

MATH 3C: MIDTERM 1 REVIEW. 1. Counting MATH 3C: MIDTERM REVIEW JOE HUGHES. Counting. Imagine that a sports betting pool is run in the following way: there are 20 teams, 2 weeks, and each week you pick a team to win. However, you can t pick

More information

STAT/MA 416 Midterm Exam 3 Monday, November 19, Circle the section you are enrolled in:

STAT/MA 416 Midterm Exam 3 Monday, November 19, Circle the section you are enrolled in: STAT/MA 46 Midterm Exam 3 Monday, November 9, 27 Name Purdue student ID ( digits) Circle the section you are enrolled in: STAT/MA 46-- STAT/MA 46-2- 9: AM :5 AM 3: PM 4:5 PM REC 4 UNIV 23. The testing

More information

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 2050 VLSB, Last Name: Tong-Zzz

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 2050 VLSB, Last Name: Tong-Zzz EECS 16A Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1 Exam location: 2050 VLSB, Last Name: Tong-Zzz PRINT your student ID: PRINT AND SIGN your name:,

More information

Designing Information Devices and Systems I Fall 2017 Midterm 2. Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ

Designing Information Devices and Systems I Fall 2017 Midterm 2. Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ EECS 16A Designing Information Devices and Systems I Fall 2017 Midterm 2 Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ PINT your student ID: PINT AND SIGN your name:, (last name) (first name) (signature)

More information

Midterm Exam 1 (Solutions)

Midterm Exam 1 (Solutions) EECS 6 Probability and Random Processes University of California, Berkeley: Spring 07 Kannan Ramchandran February 3, 07 Midterm Exam (Solutions) Last name First name SID Name of student on your left: Name

More information

Coding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1

Coding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1 EECS 121 Coding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1 PRINT your student ID: PRINT AND SIGN your name:, (last) (first) (signature) PRINT your Unix account login: ee121- Prob.

More information

STAT 516 Midterm Exam 2 Friday, March 7, 2008

STAT 516 Midterm Exam 2 Friday, March 7, 2008 STAT 516 Midterm Exam 2 Friday, March 7, 2008 Name Purdue student ID (10 digits) 1. The testing booklet contains 8 questions. 2. Permitted Texas Instruments calculators: BA-35 BA II Plus BA II Plus Professional

More information

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ). CS 70 Discrete Mathematics for CS Spring 2006 Vazirani Lecture 8 Conditional Probability A pharmaceutical company is marketing a new test for a certain medical condition. According to clinical trials,

More information

Discrete Mathematics and Probability Theory Fall 2010 Tse/Wagner MT 2 Soln

Discrete Mathematics and Probability Theory Fall 2010 Tse/Wagner MT 2 Soln CS 70 Discrete Mathematics and Probability heory Fall 00 se/wagner M Soln Problem. [Rolling Dice] (5 points) You roll a fair die three times. Consider the following events: A first roll is a 3 B second

More information

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS 6.0/6.3 Spring 009 Quiz Wednesday, March, 7:30-9:30 PM. SOLUTIONS Name: Recitation Instructor: Question Part Score Out of 0 all 0 a 5 b c 5 d 5 e 5 f 5 3 a b c d 5 e 5 f 5 g 5 h 5 Total 00 Write your solutions

More information

CS280, Spring 2004: Final

CS280, Spring 2004: Final CS280, Spring 2004: Final 1. [4 points] Which of the following relations on {0, 1, 2, 3} is an equivalence relation. (If it is, explain why. If it isn t, explain why not.) Just saying Yes or No with no

More information

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 1. Exam location: 1 Pimentel (Odd SID + 61C)

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 1. Exam location: 1 Pimentel (Odd SID + 61C) EECS 16B Designing Information Devices and Systems II Spring 16 Anant Sahai and Michel Maharbiz Midterm 1 Exam location: 1 Pimentel (Odd SID + 61C) PRINT your student ID: PRINT AND SIGN your name:, (last)

More information

Statistics 100 Exam 2 March 8, 2017

Statistics 100 Exam 2 March 8, 2017 STAT 100 EXAM 2 Spring 2017 (This page is worth 1 point. Graded on writing your name and net id clearly and circling section.) PRINT NAME (Last name) (First name) net ID CIRCLE SECTION please! L1 (MWF

More information

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 195

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 195 Carleton University Final Examination Fall 15 DURATION: 2 HOURS No. of students: 195 Department Name & Course Number: Computer Science COMP 2804A Course Instructor: Michiel Smid Authorized memoranda: Calculator

More information

CS 170 Algorithms Spring 2009 David Wagner Final

CS 170 Algorithms Spring 2009 David Wagner Final CS 170 Algorithms Spring 2009 David Wagner Final PRINT your name:, (last) SIGN your name: (first) PRINT your Unix account login: Your TA s name: Name of the person sitting to your left: Name of the person

More information

1 Basic continuous random variable problems

1 Basic continuous random variable problems Name M362K Final Here are problems concerning material from Chapters 5 and 6. To review the other chapters, look over previous practice sheets for the two exams, previous quizzes, previous homeworks and

More information

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14 CS 70 Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14 Introduction One of the key properties of coin flips is independence: if you flip a fair coin ten times and get ten

More information

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao 1 True/False 1. True False When we solve a problem one way, it is not useful to try to solve it in a second

More information

Discrete Mathematics for CS Fall 2003 Wagner MT2 Soln

Discrete Mathematics for CS Fall 2003 Wagner MT2 Soln CS 70 Discrete Mathematics for CS Fall 2003 Wagner MT2 Soln PRINT your name:, (last) SIGN your name: (first) PRINT your username on cory.eecs: WRITE your section number (101 or 102): This exam is open-book,

More information

Designing Information Devices and Systems I Fall 2017 Midterm 1. Exam Location: 155 Dwinelle

Designing Information Devices and Systems I Fall 2017 Midterm 1. Exam Location: 155 Dwinelle EECS 16A Designing Information Devices and Systems I Fall 2017 Midterm 1 Exam Location: 155 Dwinelle PRINT your student ID: PRINT AND SIGN your name:, (last name) (first name) (signature) PRINT your discussion

More information

Discrete Mathematics and Probability Theory Fall 2011 Rao Midterm 2 Solutions

Discrete Mathematics and Probability Theory Fall 2011 Rao Midterm 2 Solutions CS 70 Discrete Mathematics and Probability Theory Fall 20 Rao Midterm 2 Solutions True/False. [24 pts] Circle one of the provided answers please! No negative points will be assigned for incorrect answers.

More information

Discrete Mathematics and Probability Theory Spring 2015 Vazirani Final Exam Solution

Discrete Mathematics and Probability Theory Spring 2015 Vazirani Final Exam Solution CS 70 Discrete Mathematics and Probability Theory Spring 2015 Vazirani Final Exam Solution PRINT your name:, (last) SIGN your name: (first) PRINT your student ID: CIRCLE your exam room: Wheeler Auditorium

More information

Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule

Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule The Fall 2012 Stat 225 T.A.s September 7, 2012 1 Monday, 8/27/12, Notes on Independence In general, a conditional probability will change

More information

*Karle Laska s Sections: There is no class tomorrow and Friday! Have a good weekend! Scores will be posted in Compass early Friday morning

*Karle Laska s Sections: There is no class tomorrow and Friday! Have a good weekend! Scores will be posted in Compass early Friday morning STATISTICS 100 EXAM 3 Spring 2016 PRINT NAME (Last name) (First name) *NETID CIRCLE SECTION: Laska MWF L1 Laska Tues/Thurs L2 Robin Tu Write answers in appropriate blanks. When no blanks are provided CIRCLE

More information

Calculator Exam 2009 University of Houston Math Contest. Name: School: There is no penalty for guessing.

Calculator Exam 2009 University of Houston Math Contest. Name: School: There is no penalty for guessing. Calculator Exam 2009 University of Houston Math Contest Name: School: Please read the questions carefully. Unless otherwise requested, round your answers to 8 decimal places. There is no penalty for guessing.

More information

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 223

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 223 Carleton University Final Examination Fall 2016 DURATION: 2 HOURS No. of students: 223 Department Name & Course Number: Computer Science COMP 2804A Course Instructor: Michiel Smid Authorized memoranda:

More information

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 2

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 2 EECS 70 Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 2 Exam location: 10 Evans, Last name starting with A-B or R-T PRINT your student ID: PRINT AND SIGN your name:, (last)

More information

Topic 2 Multiple events, conditioning, and independence, I. 2.1 Two or more events on the same sample space

Topic 2 Multiple events, conditioning, and independence, I. 2.1 Two or more events on the same sample space CSE 103: Probability and statistics Fall 2010 Topic 2 Multiple events, conditioning, and independence, I 2.1 Two or more events on the same sample space Frequently we end up dealing with multiple events

More information

CS 70 Final 9 August NAME (1 pt): SID (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt):

CS 70 Final 9 August NAME (1 pt): SID (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt): CS 70 Final 9 August 2012 NAME (1 pt): SID (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt): Instructions: This is a closed book, closed calculator, closed

More information

HWA CHONG INSTITUTION 2018 JC2 PRELIMINARY EXAMINATION. Monday 17 September hours

HWA CHONG INSTITUTION 2018 JC2 PRELIMINARY EXAMINATION. Monday 17 September hours HWA CHONG INSTITUTION 08 JC PRELIMINARY EXAMINATION MATHEMATICS Higher 9758/0 Paper Monday 7 September 08 hours Additional materials: Answer paper List of Formula (MF6) Cover Page READ THESE INSTRUCTIONS

More information

Previous Exam Questions, Chapter 2

Previous Exam Questions, Chapter 2 ECE 302: Probabilistic Methods in Electrical and Computer Engineering Instructor: Prof. A. R. Reibman Previous Exam Questions, Chapter 2 Reibman (compiled September 2018) These form a collection of 36

More information

Part I: Discrete Math.

Part I: Discrete Math. Part I: Discrete Math. 1. Propositions. 10 points. 3/3/4 (a) The following statement expresses the fact that there is a smallest number in the natural numbers, ( y N) ( x N) (y x). Write a statement that

More information

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 275

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 275 Carleton University Final Examination Winter 2017 DURATION: 2 HOURS No. of students: 275 Department Name & Course Number: Computer Science COMP 2804B Course Instructor: Michiel Smid Authorized memoranda:

More information

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2015 Abhay Parekh February 17, 2015.

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2015 Abhay Parekh February 17, 2015. EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2015 Abhay Parekh February 17, 2015 Midterm Exam Last name First name SID Rules. You have 80 mins (5:10pm - 6:30pm)

More information

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: RSF Fieldhouse, Back Left, last SID 6, 8, 9

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: RSF Fieldhouse, Back Left, last SID 6, 8, 9 EECS 16A Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam Exam location: RSF Fieldhouse, Back Left, last SID 6, 8, 9 PRINT your student ID: PRINT AND SIGN your

More information

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 145 Dwinelle, last SID# 2

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 145 Dwinelle, last SID# 2 EECS 16A Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1 Exam location: 145 Dwinelle, last SID# 2 PRINT your student ID: PRINT AND SIGN your name:, (last)

More information

CS 170 Algorithms Fall 2014 David Wagner MT2

CS 170 Algorithms Fall 2014 David Wagner MT2 CS 170 Algorithms Fall 2014 David Wagner MT2 PRINT your name:, (last) SIGN your name: (first) Your Student ID number: Your Unix account login: cs170- The room you are sitting in right now: Name of the

More information

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran September 23, 2014.

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran September 23, 2014. EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran September 23, 2014 Midterm Exam 1 Last name First name SID Rules. DO NOT open the exam until instructed

More information

UC Berkeley Department of Electrical Engineering and Computer Sciences. EECS 126: Probability and Random Processes

UC Berkeley Department of Electrical Engineering and Computer Sciences. EECS 126: Probability and Random Processes UC Berkeley Department of Electrical Engineering and Computer Sciences EECS 26: Probability and Random Processes Problem Set Spring 209 Self-Graded Scores Due:.59 PM, Monday, February 4, 209 Submit your

More information

Exercises in Probability Theory Paul Jung MA 485/585-1C Fall 2015 based on material of Nikolai Chernov

Exercises in Probability Theory Paul Jung MA 485/585-1C Fall 2015 based on material of Nikolai Chernov Exercises in Probability Theory Paul Jung MA 485/585-1C Fall 2015 based on material of Nikolai Chernov Many of the exercises are taken from two books: R. Durrett, The Essentials of Probability, Duxbury

More information

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 2. Exam Location: 100 Genetics & Plant Bio

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 2. Exam Location: 100 Genetics & Plant Bio EECS 16A Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 2 Exam Location: 100 Genetics & Plant Bio PINT your student ID: PINT AND SIGN your name:, (last

More information

Introduction to Probability 2017/18 Supplementary Problems

Introduction to Probability 2017/18 Supplementary Problems Introduction to Probability 2017/18 Supplementary Problems Problem 1: Let A and B denote two events with P(A B) 0. Show that P(A) 0 and P(B) 0. A A B implies P(A) P(A B) 0, hence P(A) 0. Similarly B A

More information

Practice Exam Winter 2018, CS 485/585 Crypto March 14, 2018

Practice Exam Winter 2018, CS 485/585 Crypto March 14, 2018 Practice Exam Name: Winter 2018, CS 485/585 Crypto March 14, 2018 Portland State University Prof. Fang Song Instructions This exam contains 8 pages (including this cover page) and 5 questions. Total of

More information

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e 1 P a g e experiment ( observing / measuring ) outcomes = results sample space = set of all outcomes events = subset of outcomes If we collect all outcomes we are forming a sample space If we collect some

More information

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018. EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018 Midterm 1 Last Name First Name SID You have 10 minutes to read the exam and

More information

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Midterm 1

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Midterm 1 EECS 70 Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Midterm 1 Exam location: 1 Pimentel, back half: SIDs ending in 0 or 5 PRINT your student ID: PRINT AND SIGN your name:, (last)

More information

f 3 9 d e a c 6 7 b. Umail umail.ucsb.edu

f 3 9 d e a c 6 7 b. Umail umail.ucsb.edu Exam Version: Color in first initial: 0 1 4 5 2 8 f 3 9 d e a c 6 7 b A B C D E F G H I J K L M N O P Q R S T U V W X Y Z section (9,10,11, 12,1,2 ) first name initial last name initial Color in first

More information

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 15. Random Variables: Distributions, Independence, and Expectations

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Note 15. Random Variables: Distributions, Independence, and Expectations EECS 70 Discrete Mathematics and Probability Theory Fall 204 Anant Sahai Note 5 Random Variables: Distributions, Independence, and Expectations In the last note, we saw how useful it is to have a way of

More information

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events Discrete Structures II (Summer 2018) Rutgers University Instructor: Abhishek

More information

Machine Learning: Homework Assignment 2 Solutions

Machine Learning: Homework Assignment 2 Solutions 10-601 Machine Learning: Homework Assignment 2 Solutions Professor Tom Mitchell Carnegie Mellon University January 21, 2009 The assignment is due at 1:30pm (beginning of class) on Monday, February 2, 2009.

More information

TEEN DRIVER ELECTRONIC DEVICE OBSERVATION FORM

TEEN DRIVER ELECTRONIC DEVICE OBSERVATION FORM TEEN OBSERVATION FORM High Schools will count only teen drivers. If your school does not have many teen drivers, please use the Junior High form to count adult drivers. Choose a day to conduct your pre-observations.

More information

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150 Name Student ID # Instructor: SOLUTION Sergey Kirshner STAT 516 Fall 09 Practice Midterm #1 January 31, 2010 You are not allowed to use books or notes. Non-programmable non-graphic calculators are permitted.

More information

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00)

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00) Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00) Name: SID: Please write clearly and legibly. Justify your answers. Partial credits may be given to Problems 2, 3, 4, and 5. The last sheet

More information

Designing Information Devices and Systems I Spring 2018 Midterm 1. Exam Location: 155 Dwinelle Last Name: Cheng - Lazich

Designing Information Devices and Systems I Spring 2018 Midterm 1. Exam Location: 155 Dwinelle Last Name: Cheng - Lazich EECS 16A Designing Information Devices and Systems I Spring 2018 Midterm 1 Exam Location: 155 Dwinelle Last Name: Cheng - Lazich PRINT your student ID: PRINT AND SIGN your name:, (last name) (first name)

More information

CSE 355 Test 2, Fall 2016

CSE 355 Test 2, Fall 2016 CSE 355 Test 2, Fall 2016 28 October 2016, 8:35-9:25 a.m., LSA 191 Last Name SAMPLE ASU ID 1357924680 First Name(s) Ima Regrading of Midterms If you believe that your grade has not been added up correctly,

More information

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017.

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017. EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017 Midterm Exam 2 Last name First name SID Name of student on your left: Name of

More information

2. This exam consists of 15 questions. The rst nine questions are multiple choice Q10 requires two

2. This exam consists of 15 questions. The rst nine questions are multiple choice Q10 requires two CS{74 Combinatorics & Discrete Probability, Fall 96 Final Examination 2:30{3:30pm, 7 December Read these instructions carefully. This is a closed book exam. Calculators are permitted. 2. This exam consists

More information

MAT 271E Probability and Statistics

MAT 271E Probability and Statistics MAT 71E Probability and Statistics Spring 013 Instructor : Class Meets : Office Hours : Textbook : Supp. Text : İlker Bayram EEB 1103 ibayram@itu.edu.tr 13.30 1.30, Wednesday EEB 5303 10.00 1.00, Wednesday

More information

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1 Topic 5: Probability Standard Level 5.4 Combined Events and Conditional Probability Paper 1 1. In a group of 16 students, 12 take art and 8 take music. One student takes neither art nor music. The Venn

More information

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao True/False 1. True False Among the problems we considered in class, a multi-stage process can be encoded (and

More information

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Midterm 1. Exam location: 60 Evans, last digit SID= 6

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Midterm 1. Exam location: 60 Evans, last digit SID= 6 EECS 16A Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Midterm 1 Exam location: 60 Evans, last digit SID= 6 PRINT your student ID: PRINT AND SIGN your name:, (last) (first)

More information

Discrete Structures Prelim 1 Selected problems from past exams

Discrete Structures Prelim 1 Selected problems from past exams Discrete Structures Prelim 1 CS2800 Selected problems from past exams 1. True or false (a) { } = (b) Every set is a subset of its power set (c) A set of n events are mutually independent if all pairs of

More information

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X. Math 10B with Professor Stankova Worksheet, Midterm #2; Wednesday, 3/21/2018 GSI name: Roy Zhao 1 Problems 1.1 Bayes Theorem 1. Suppose a test is 99% accurate and 1% of people have a disease. What is the

More information

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 152

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 152 Carleton University Final Examination Winter 2014 DURATION: 2 HOURS No. of students: 152 Department Name & Course Number: Computer Science COMP 2804B Course Instructor: Michiel Smid Authorized memoranda:

More information

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018 Mathematical Foundations of Computer Science Lecture Outline October 18, 2018 The Total Probability Theorem. Consider events E and F. Consider a sample point ω E. Observe that ω belongs to either F or

More information

Efficient Algorithms and Intractable Problems Spring 2016 Alessandro Chiesa and Umesh Vazirani Midterm 2

Efficient Algorithms and Intractable Problems Spring 2016 Alessandro Chiesa and Umesh Vazirani Midterm 2 CS 170 Efficient Algorithms and Intractable Problems Spring 2016 Alessandro Chiesa and Umesh Vazirani Midterm 2 Name: SID: GSI and section time: Write down the names of the students around you as they

More information

CS154 Final Examination

CS154 Final Examination CS154 Final Examination June 7, 2010, 7-10PM Directions: CS154 students: answer all 13 questions on this paper. Those taking CS154N should answer only questions 8-13. The total number of points on this

More information

Math 55 Second Midterm Exam, Prof. Srivastava April 5, 2016, 3:40pm 5:00pm, F295 Haas Auditorium.

Math 55 Second Midterm Exam, Prof. Srivastava April 5, 2016, 3:40pm 5:00pm, F295 Haas Auditorium. Math 55 Second Midterm Exam, Prof Srivastava April 5, 2016, 3:40pm 5:00pm, F295 Haas Auditorium Name: SID: Instructions: Write all answers in the provided space Please write carefully and clearly, in complete

More information

Math 230 Final Exam, Spring 2009

Math 230 Final Exam, Spring 2009 IIT Dept. Applied Mathematics, May 13, 2009 1 PRINT Last name: Signature: First name: Student ID: Math 230 Final Exam, Spring 2009 Conditions. 2 hours. No book, notes, calculator, cell phones, etc. Part

More information