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

Size: px
Start display at page:

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

Transcription

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 Name of the person sitting to your left: Name of the person sitting to your right: After the exam starts, please write your student ID or name) on every odd page we will remove the staple when scanning your exam). We will not grade anything on the extra pages Pages 14 16) 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 one single-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 9 questions for a total of 100 points plus 15 bonus points. Use the number of points as a rough guide for the amount of time to allocate to that question. Note that the last two questions 8 and 9) are harder than the rest, so you should attempt it only after you take a good shot at the rest and don t feel bad if you cannot get them). 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 2015, Midterm 1 1

2 1. TRUE or FALSE First Round 8 points, 1 point for each part) For any proposition P,Q,R and x,y R, determine whether the following statements are true or false. Just circle the correct choice. No explanation is required. No partial credit will be given. T F P Q) Q P). T F P P). T F P Q) P Q). T F P Q) Q R)) P R). T F x P) x P). T F y x P x y P. T F x 0 y 0) is true means there exists exactly one of x and y being 0. T F In R, 2015 points can determine a unique polynomial of degree Answer: F,T,T,T,T,F,F,F. 2. Counting Minions and Bananas 6 points, 3 points for each part) For the following two parts, just write down your answers. You do not need to calculate the exact value of a ) b or a!. No explanation is required. No partial credit will be given. Figure 1: They are Kevin, Bob, Stuart,... [ a) There are 7 different minions in the figure. Three of them are going to form a team and find their new master. How many different ways to form the team, where one member has exactly one eye and the other two members have two eyes? Answer: 2 5 1) 2) or 20. b) How many different anagrams of BANANA are there? 6! Answer: 3!2! or 60. 2

3 3. Conceptual Questions 10 points, 1/1/2/3/3 points for each part) a) Kevin and Bob decide to apply the RSA cryptography so that Kevin can send a secret message to Bob. There are several important variables, p,q,n,e,d, defined in the RSA cryptography. Which of them are public? No explanation is required. No partial credit will be given.) Answer: N and e you can also answer N and d with appropriate explanation). b) Following Part a), let s switch to private variables. Are those private variables kept by Kevin only, Bob only, or both Kevin and Bob? No explanation is required. No partial credit will be given.) Answer: Bob. c) Explain why it is difficult for an attacker to break the RSA cryptography. We are expecting only one sentence.) Answer: Factoring N is very difficult. d) Explain why the two primes in RSA must be different. We are expecting two reasons.) Answer: If p q, the correctness is not guaranteed because x e ) d x mod N) is not always true. Besides, the security level is lowered because taking square root of N can easily get the prime. e) Explain why p must be prime in the polynomial secret sharing with mod p. We are expecting two reasons.) Answer: If p is not prime, the correctness is not guaranteed because d + 1 points cannot always determine a unique polynomial of degree at most d. Besides, the security level is lowered because some information about the secret may be revealed, even if there are no sufficient points. 3

4 4. Stable Marriage 8 points, 3/5 points for each part) a) Is the pairing {1,A),2,B),3,C)} stable for the following case? Why? 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 Answer: No. 3,B) is a rogue couple because 3 prefers B to C and B prefers 3 to 2. Note: It is the only rogue couple in the pairing. b) Find a stable pairing for the following case. Answer: Run the men-proposing SMA: Men Preference Lists Women Preference Lists 1 D > B > A > C A 1 > 4 > 2 > 3 2 A > D > B > C B 4 > 3 > 2 > 1 3 D > C > B > A C 1 > 3 > 2 > 4 4 D > A > B > C D 3 > 1 > 2 > 4 Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 A 2 2, ,4 1 1 B 1 1 1,2 2 2,4 4 C 2 D 1,3,4 3 2, The stable pairing: {1,A),2,C),3,D),4,B)}. Note 1: If you run the women-proposing SMA, you will get the same stable pairing. Note 2: You can ignore 3,D) first because they must be paired together each of them is the favorite partner of the other). 4

5 5. Minions Using RSA 8 points, 5/3 points for each part) Kevin and Bob decide to apply the RSA cryptography so that Kevin can send a secret message to Bob. a) Assuming p 3, q 11, and e 7, what is d? Calculate the exact value. Answer: 3 1)11 1) 20, so d is the multiplicative inverse of 7 mod 20. Run egcd20,7) and get 1 1) ) 7, so d 3. Note: You can also try d 1,2,3,... and get d 3. b) Following Part a), what is the original message if Bob receives 4? Calculate the exact value. Answer: N d mod 33). 5

6 6. Minions Using Error Correction Codes 10 points, 5 points for each part) a) Kevin wants to send a message of 4 packets to Stuart and guard against 1 lost packet. Working over GF7), he finds the unique polynomial Px) that passes through the points he wants to send, and sends Stuart 5 packets: 0,P0)), 1,P1)), 2,P2)), 3,P3)), 4,P4)). Stuart receives the following packets: 0,3), 1,0), 2,0), 4,0). What is the value of the missing packet? Calculate the exact value. Answer: 0 x) x 1)x 2)x 4) 1) 2) 4) x 1)x 2)x 4) 8 x 1)x 2)x 4) mod 7); Px) 3 0 x) 3x 1)x 2)x 4) 4x 1)x 2)x 4) mod 7); P3) 42)1) 1) 6 mod 7). Note: You do not need to calculate 1 x), 2 x), or 4 x) as they will be multiplied by 0. 6

7 Figure 2: Minions using error correction codes [ b) Kevin wants to send a message of 60 ordered packets to Stuart. Those packets will first go through a hungry dragon who will eat at most 1 of all packets do not ask why the dragon loves eating packets). 5 The remaining packets will then go through a powerful but malicious witch who will change the data of at most 1 of all packets. Given this scenario, how many packets should Kevin send so that Stuart can 8 recover the message? Answer: We observe that the worst case is when 1/5 packets are missing and then 1/8 packets are corrupted. Assume m is the number of all packets, m must satisfy )) )) m) 8 5 m) 60. Solving the inequality can get m 100. Note: Students can get bonus points by trying to minimize the number of packets and answering 97. This is true because the more precise inequality is m) m) 60. Note: Students can also solve the problem by interpreting at most 1 8 of all packets as at most 1 8 of all original packets. This will result in 4 5 m) 1 ) ) 1 8 m) 8 m) 60. Solving the inequality can get m 110. The optimal solution for this is

8 7. TRUE or FALSE Second Round 40 points, 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 e.g., provide a counterexample). a) a is an odd number if and only if a 2 is an odd number. TRUE FALSE Answer: TRUE or FALSE, see Note below). It is an if and only if statement, so proving two directions is required. Use direct proof to prove if a is an odd number, then a 2 is an odd number. If a is an odd number, a 2k + 1 for some integer k. Then, a 2 2k + 1) 2 4k 2 + 4k k 2 + 2k) + 1, which is an odd number. Use proof by contraposition to prove if a 2 is an odd number, then a is an odd number. If a is not an odd number, a 2k for some integer k. Then, a 2 2k) 2 4k 2 22k 2 ), which is not an odd number. We prove the claim by proving its contrapositive. After proving the two directions, the statement is proved. Note: Students can get bonus points by answering FALSE with counterexample a 3. 8

9 b) If a 0 0; a 1 1; then a n 2 n 1 for any integer n 0. a n a n 1 + 2a n for any integer n 2, TRUE FALSE Answer: TRUE. Use strong induction with two base cases to prove the statement. Base case n 0 and n 1): a ; a Inductive hypothesis: assume a i 2 i 1 for all i, 0 i k. Inductive step: a k+1 a k + 2a k k k 1 1) k k k+1 1. By the principle of induction, the statement is proved. 9

10 c) For all integers a,b,c where c > 0, if a has no multiplicative inverse mod c, then ax b mod c) has no solution. TRUE FALSE Answer: FALSE. Let a 2, b 0, c 4. 2 has no multiplicative inverse mod 4 because gcd2, 4) 2 1, but 2x 0 mod 4) has two solutions, 0 and 2. 10

11 d) Given n n 1) integers x 1,x 2,...,x n and a prime p, x 1 + x x n ) p x p 1 + xp xp n mod p). TRUE FALSE Answer: TRUE. First, to prove, for any integer a, a p a mod p). If a 0 mod p), then a p 0 p 0 a mod p). If a 0 mod p), then, by the Fermat s Little Theorem, a p a p 1 a 1 a a mod p). As a result, LHS x 1 + x x n ) p x 1 + x x n mod p); RHS x p 1 + xp xp n x 1 + x x n mod p). Therefore, LHS RHS mod p). 11

12 8. Simple But Not Easy 10 points) Prove that, for any positive integer n, 3 + ) n n is divisible by 2 n. Answer: Use strong induction with two base cases to prove the statement. Base case n 1 and n 2): 3 + ) is divisible by 2 1 2; 28 is divisible by Inductive hypothesis: assume Inductive step: 3 + ) i i is divisible by 2 i for all i, 1 i k. 3 + ) ) k ) k k + 3 ) k 3 + ) )) 5 3 ) ) k ) 5 3 ) k 5 ) 2 k a 6) 3 ) ) ) k ) 5 3 ) 5 3 k 1 for some integer a 2 k+1) 3a) ) k k 1 for some integer a 2 k+1) 3a) ) k ) ) k 1 5 for some integer a 2 k+1) ) 3a) 4 2 k 1 b for some integers a,b 2 k+1) 3a) 2 k+1) b) for some integers a,b 2 k+1) 3a b) for some integers a,b. By the principle of induction, the statement is proved. 12

13 9. TRUE or FALSE Ultimate and Bonus Round 15 bonus points) For the following statement, claim TRUE or FALSE first. If you claim TRUE, prove it. If you claim FALSE, disprove it. For any preference lists of 3 men and 3 women, it is impossible to have 5 or more stable pairings in the stable marriage problem. TRUE FALSE Answer: TRUE. There are total 3! 6 possible pairings. We will use proof by contradiction to prove the statement. Assume there are 5 or more stable pairings. Given the assumption, we first claim that, for any pair of a man and a woman, it must be in at least one stable pairing. We can prove this claim by another proof by contradiction: Assume the pair is not in any stable pairing. Then, there are only 4 possible pairings remaining 2 possible pairings are canceled out). For example, if 1,A) is not in any stable pairing, then there are only 4 possible pairings {1,A),2,B),3,C)} and {1,A),2,C),3,B)} are canceled out). It is a contradiction, so the claim is proved given the original assumption). By the claim, a man is paired with each woman in at least one stable pairing, so his optimal woman is the first woman in his preference list, and his pessimal woman is the last woman in his preference list. Without loss of generality we can switch the labels between 1,2,3 or between A,B,C), we can assign the preference lists left) and determine the rest preference lists right) as follows: Men Preference Lists Men Preference Lists 1 A >? > B 1 A > C > B 2 B >? >? 2 B > A > C 3 C >? >? 3 C > B > A Similarly, by the claim, a woman is paired with each man in at least one stable pairing, so her optimal man is the first man in her preference list, and her pessimal man is the last man in her preference list. To match preference lists of men, we can determine the preference lists as follows: Women Preference Lists A 3 > 2 > 1 B 1 > 3 > 2 C 2 > 1 > 3 However, {1,A),2,C),3,B)}, {1,B),2,A),3,C)}, and {1,C),2,B),3,A)} are not stable pairings because 2,A), 1,C), and 3,B) are rogue couples, respectively. As a result, it is a contradiction, so it is impossible to have 5 or more stable pairings. 13

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

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 2 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

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

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

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

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

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 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

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

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

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

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

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

University of New Mexico Department of Computer Science. Midterm Examination. CS 261 Mathematical Foundations of Computer Science Spring, 2010

University of New Mexico Department of Computer Science. Midterm Examination. CS 261 Mathematical Foundations of Computer Science Spring, 2010 University of New Mexico Department of Computer Science Midterm Examination CS 261 Mathematical Foundations of Computer Science Spring, 2010 Name: Email: Nothing is true. All is permitted - Friedrich Nietzsche.

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

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

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

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

Name: Mathematics 1C03

Name: Mathematics 1C03 Name: Student ID Number: Mathematics 1C03 Day Class Instructor: M. Harada Duration: 2.5 hours April 2018 McMaster University PRACTICE Final Examination This is a PRACTICE final exam. The actual final exam

More information

Assignment 3 Logic and Reasoning KEY

Assignment 3 Logic and Reasoning KEY Assignment 3 Logic and Reasoning KEY Print this sheet and fill in your answers. Please staple the sheets together. Turn in at the beginning of class on Friday, September 8. Recall this about logic: Suppose

More information

MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics

MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics Class Meetings: MW 9:30-10:45 am in EMS E424A, September 3 to December 10 [Thanksgiving break November 26 30; final

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

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

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

MATH UN Midterm 2 November 10, 2016 (75 minutes)

MATH UN Midterm 2 November 10, 2016 (75 minutes) Name: UNI: Instructor: Shrenik Shah MATH UN3025 - Midterm 2 November 10, 2016 (75 minutes) This examination booklet contains 6 problems. There are 10 sheets of paper including the front cover. This is

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

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

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

Discrete Math I Exam II (2/9/12) Page 1

Discrete Math I Exam II (2/9/12) Page 1 Discrete Math I Exam II (/9/1) Page 1 Name: Instructions: Provide all steps necessary to solve the problem. Simplify your answer as much as possible. Additionally, clearly indicate the value or expression

More information

1 Recommended Reading 1. 2 Public Key/Private Key Cryptography Overview RSA Algorithm... 2

1 Recommended Reading 1. 2 Public Key/Private Key Cryptography Overview RSA Algorithm... 2 Contents 1 Recommended Reading 1 2 Public Key/Private Key Cryptography 1 2.1 Overview............................................. 1 2.2 RSA Algorithm.......................................... 2 3 A Number

More information

Math 223, Spring 2009 Final Exam Solutions

Math 223, Spring 2009 Final Exam Solutions Math 223, Spring 2009 Final Exam Solutions Name: Student ID: Directions: Check that your test has 16 pages, including this one and the blank one on the bottom (which you can use as scratch paper or to

More information

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction

CSC 344 Algorithms and Complexity. Proof by Mathematical Induction CSC 344 Algorithms and Complexity Lecture #1 Review of Mathematical Induction Proof by Mathematical Induction Many results in mathematics are claimed true for every positive integer. Any of these results

More information

a 2 = ab a 2 b 2 = ab b 2 (a + b)(a b) = b(a b) a + b = b

a 2 = ab a 2 b 2 = ab b 2 (a + b)(a b) = b(a b) a + b = b Discrete Structures CS2800 Fall 204 Final Solutions. Briefly and clearly identify the errors in each of the following proofs: (a) Proof that is the largest natural number: Let n be the largest natural

More information

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018 MAT246H1S - Concepts In Abstract Mathematics Solutions to Term Test 1 - February 1, 2018 Time allotted: 110 minutes. Aids permitted: None. Comments: Statements of Definitions, Principles or Theorems should

More information

1/ 17 2/20 3/19 4/12 5/14 6/13 7/10 Total /105. Please do not write in the spaces above.

1/ 17 2/20 3/19 4/12 5/14 6/13 7/10 Total /105. Please do not write in the spaces above. 1/ 17 2/20 3/19 4/12 5/14 6/13 7/10 Total /105 % Please do not write in the spaces above. Directions: You have 50 minutes in which to complete this exam. Please make sure that you read through this entire

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

Ma/CS 6a Class 1. Course Details

Ma/CS 6a Class 1. Course Details Ma/CS 6a Class 1 By Adam Sheffer Course Details Adam Sheffer. adamsh@caltech.edu 1:00 Monday, Wednesday, and Friday. http://www.math.caltech.edu/~2014-15/1term/ma006a/ 1 Course Structure No exam! Grade

More information

MATH 158 FINAL EXAM 20 DECEMBER 2016

MATH 158 FINAL EXAM 20 DECEMBER 2016 MATH 158 FINAL EXAM 20 DECEMBER 2016 Name : The exam is double-sided. Make sure to read both sides of each page. The time limit is three hours. No calculators are permitted. You are permitted one page

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

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

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. March 1, :00 pm Duration: 1:15 hs University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura March 1, 2012 1:00 pm Duration: 1:15 hs Closed book, no calculators THIS MIDTERM AND ITS SOLUTION IS SUBJECT TO COPYRIGHT; NO PARTS OF

More information

First Midterm Examination

First Midterm Examination 2015-2016 Fall Semester First Midterm Examination 1) 6 students will sit at a round table. Anıl, Sümeyye and Tahsin are in section 1 and Bora, İpek and Efnan are in section 2. They will sit such that nobody

More information

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques

CS 360, Winter Morphology of Proof: An introduction to rigorous proof techniques CS 30, Winter 2011 Morphology of Proof: An introduction to rigorous proof techniques 1 Methodology of Proof An example Deep down, all theorems are of the form If A then B, though they may be expressed

More information

Lecture 21: Midterm 2 Review.

Lecture 21: Midterm 2 Review. Lecture 21: Midterm 2 Review. Professor Walrand. Wrapping up his lectures for other course this week. Will take over lectures next week. Rao will continue co-teaching. Office hours. See you on Piazza.

More information

Solutions to the Midterm Test (March 5, 2011)

Solutions to the Midterm Test (March 5, 2011) MATC16 Cryptography and Coding Theory Gábor Pete University of Toronto Scarborough Solutions to the Midterm Test (March 5, 2011) YOUR NAME: DO NOT OPEN THIS BOOKLET UNTIL INSTRUCTED TO DO SO. INSTRUCTIONS:

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

then the hard copy will not be correct whenever your instructor modifies the assignments.

then the hard copy will not be correct whenever your instructor modifies the assignments. Assignments for Math 2030 then the hard copy will not be correct whenever your instructor modifies the assignments. exams, but working through the problems is a good way to prepare for the exams. It is

More information

Modular Arithmetic Inverses and GCD

Modular Arithmetic Inverses and GCD Lecture 21: Midterm 2 Review. Professor Walrand. Wrapping up his lectures for other course this week. Will take over lectures next week. Rao will continue co-teaching. Office hours. See you on Piazza.

More information

Homework 1 Submission

Homework 1 Submission Homework Submission Sample Solution; Due Date: Thursday, May 4, :59 pm Directions: Your solutions should be typed and submitted as a single pdf on Gradescope by the due date. L A TEX is preferred but not

More information

Number Theory Math 420 Silverman Exam #1 February 27, 2018

Number Theory Math 420 Silverman Exam #1 February 27, 2018 Name: Number Theory Math 420 Silverman Exam #1 February 27, 2018 INSTRUCTIONS Read Carefully Time: 50 minutes There are 5 problems. Write your name neatly at the top of this page. Write your final answer

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

Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

Do not open this exam until you are told to begin. You will have 75 minutes for the exam. Math 2603 Midterm 1 Spring 2018 Your Name Student ID # Section Do not open this exam until you are told to begin. You will have 75 minutes for the exam. Check that you have a complete exam. There are 5

More information

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page.

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page. Formal Methods Midterm 1, Spring, 2007 Name Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page. 1. Use truth

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

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya

Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 5: Arithmetic Modulo m, Primes and Greatest Common Divisors Lecturer: Lale Özkahya Resources: Kenneth Rosen,

More information

Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April Give your name, TA and section number:

Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April Give your name, TA and section number: Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April 6 2018 Give your name, TA and section number: Name: TA: Section number: 1. There are 6 questions for a total of 100 points. The value of

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

SUMMER MATH PACKET. Geometry A COURSE 227

SUMMER MATH PACKET. Geometry A COURSE 227 SUMMER MATH PACKET Geometry A COURSE 7 MATH SUMMER PACKET INSTRUCTIONS Attached you will find a packet of exciting math problems for your enjoyment over the summer. The purpose of the summer packet is

More information

Exam Security January 19, :30 11:30

Exam Security January 19, :30 11:30 Exam Security January 19, 2016. 8:30 11:30 You can score a maximum of 100. Each question indicates how many it is worth. You are NOT allowed to use books or notes, or a (smart) phone. You may answer in

More information

Number theory (Chapter 4)

Number theory (Chapter 4) EECS 203 Spring 2016 Lecture 12 Page 1 of 8 Number theory (Chapter 4) Review Compute 6 11 mod 13 in an efficient way What is the prime factorization of 100? 138? What is gcd(100, 138)? What is lcm(100,138)?

More information

Math 13, Spring 2013, Lecture B: Midterm

Math 13, Spring 2013, Lecture B: Midterm Math 13, Spring 2013, Lecture B: Midterm Name Signature UCI ID # E-mail address Each numbered problem is worth 12 points, for a total of 84 points. Present your work, especially proofs, as clearly as possible.

More information

Ma/CS 6a Class 3: The RSA Algorithm

Ma/CS 6a Class 3: The RSA Algorithm Ma/CS 6a Class 3: The RSA Algorithm By Adam Sheffer Reminder: Putnam Competition Signup ends Wednesday 10/08. Signup sheets available in all Sloan classrooms, Math office, or contact Kathy Carreon, kcarreon@caltech.edu.

More information

Practice Final Exam Winter 2017, CS 485/585 Crypto March 14, 2017

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

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

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

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

Seunghee Ye Ma 8: Week 1 Notes September 29, 2016

Seunghee Ye Ma 8: Week 1 Notes September 29, 2016 Week Notes Summary This week, we will learn about mathematical proofs. We start by defining what we mean by a mathematical proof and look at a few important things to avoid/keep in mind when writing mathematical

More information

Fall 2017 Test II review problems

Fall 2017 Test II review problems Fall 2017 Test II review problems Dr. Holmes October 18, 2017 This is a quite miscellaneous grab bag of relevant problems from old tests. Some are certainly repeated. 1. Give the complete addition and

More information

Computer Science Foundation Exam

Computer Science Foundation Exam Computer Science Foundation Exam May 6, 2016 Section II A DISCRETE STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question Max Pts Category Passing

More information

Math 261 Spring 2014 Final Exam May 5, 2014

Math 261 Spring 2014 Final Exam May 5, 2014 Math 261 Spring 2014 Final Exam May 5, 2014 1. Give a statement or the definition for ONE of the following in each category. Circle the letter next to the one you want graded. For an extra good final impression,

More information

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography

Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography Course 2BA1: Trinity 2006 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2006 Contents 9 Introduction to Number Theory and Cryptography 1 9.1 Subgroups

More information

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points.

All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. Math 152, Problem Set 2 solutions (2018-01-24) All variables a, b, n, etc are integers unless otherwise stated. Each part of a problem is worth 5 points. 1. Let us look at the following equation: x 5 1

More information

CS1800 Discrete Structures Fall 2017 October, CS1800 Discrete Structures Midterm Version A

CS1800 Discrete Structures Fall 2017 October, CS1800 Discrete Structures Midterm Version A CS1800 Discrete Structures Fall 2017 October, 2017 CS1800 Discrete Structures Midterm Version A Instructions: 1. The exam is closed book and closed notes. You may not use a calculator or any other electronic

More information

Johns Hopkins Math Tournament 2018 Proof Round: Sequences

Johns Hopkins Math Tournament 2018 Proof Round: Sequences Johns Hopkins Math Tournament 2018 Proof Round: Sequences February 17, 2018 Section Total Points Score 1 5 2 20 3 15 4 25 Instructions The exam is worth 60 points; each part s point value is given in brackets

More information

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography

Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography Course MA2C02, Hilary Term 2013 Section 9: Introduction to Number Theory and Cryptography David R. Wilkins Copyright c David R. Wilkins 2000 2013 Contents 9 Introduction to Number Theory 63 9.1 Subgroups

More information

Midterm. CS265/CME309, Fall Instructor: Gregory Valiant. Name: SUID Number:

Midterm. CS265/CME309, Fall Instructor: Gregory Valiant. Name: SUID Number: CS265/CME309, Fall 2016. Instructor: Gregory Valiant Name: Midterm SUID Number: [This is a closed-notes/closed-computer exam, though you may refer to 1 page (or 2 sides) of 8.5 x 11 notes that you have

More information

and problem sheet 1

and problem sheet 1 21-128 and 15-151 problem sheet 1 Solutions to the following seven exercises and optional bonus problem are to be submitted through gradescope by 11:30PM on Wednesday 5th September 2018. Problem 1 Suppose

More information

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8 Mathematics 220 Midterm Practice problems from old exams Page 1 of 8 1. (a) Write the converse, contrapositive and negation of the following statement: For every integer n, if n is divisible by 3 then

More information

Ma/CS 6a Class 2: Congruences

Ma/CS 6a Class 2: Congruences Ma/CS 6a Class 2: Congruences 1 + 1 5 (mod 3) By Adam Sheffer Reminder: Public Key Cryptography Idea. Use a public key which is used for encryption and a private key used for decryption. Alice encrypts

More information

Proof by Contradiction

Proof by Contradiction Proof by Contradiction MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Proof by Contradiction Fall 2014 1 / 12 Outline 1 Proving Statements with Contradiction 2 Proving

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

Private Key Cryptography. Fermat s Little Theorem. One Time Pads. Public Key Cryptography

Private Key Cryptography. Fermat s Little Theorem. One Time Pads. Public Key Cryptography Fermat s Little Theorem Private Key Cryptography Theorem 11 (Fermat s Little Theorem): (a) If p prime and gcd(p, a) = 1, then a p 1 1 (mod p). (b) For all a Z, a p a (mod p). Proof. Let A = {1, 2,...,

More information

Fermat's Little Theorem

Fermat's Little Theorem Fermat's Little Theorem CS 2800: Discrete Structures, Spring 2015 Sid Chaudhuri Not to be confused with... Fermat's Last Theorem: x n + y n = z n has no integer solution for n > 2 Recap: Modular Arithmetic

More information

Do not start until you are given the green signal

Do not start until you are given the green signal SOLUTIONS CSE 311 Winter 2011: Midterm Exam (closed book, closed notes except for 1-page summary) Total: 100 points, 5 questions. Time: 50 minutes Instructions: 1. Write your name and student ID on the

More information

University of Regina Department of Mathematics & Statistics Final Examination (April 21, 2009)

University of Regina Department of Mathematics & Statistics Final Examination (April 21, 2009) Make sure that this examination has 10 numbered pages University of Regina Department of Mathematics & Statistics Final Examination 200910 (April 21, 2009) Mathematics 124 The Art and Science of Secret

More information

Math 299 Supplement: Modular Arithmetic Nov 8, 2013

Math 299 Supplement: Modular Arithmetic Nov 8, 2013 Math 299 Supplement: Modular Arithmetic Nov 8, 2013 Numbers modulo n. We have previously seen examples of clock arithmetic, an algebraic system with only finitely many numbers. In this lecture, we make

More information

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively 6 Prime Numbers Part VI of PJE 6.1 Fundamental Results Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively D (p) = { p 1 1 p}. Otherwise

More information

CSC 125 :: Final Exam May 3 & 5, 2010

CSC 125 :: Final Exam May 3 & 5, 2010 CSC 125 :: Final Exam May 3 & 5, 2010 Name KEY (1 5) Complete the truth tables below: p Q p q p q p q p q p q T T T T F T T T F F T T F F F T F T T T F F F F F F T T 6-15. Match the following logical equivalences

More information

Ma/CS 6a Class 2: Congruences

Ma/CS 6a Class 2: Congruences Ma/CS 6a Class 2: Congruences 1 + 1 5 (mod 3) By Adam Sheffer Reminder: Public Key Cryptography Idea. Use a public key which is used for encryption and a private key used for decryption. Alice encrypts

More information

Math 230 Final Exam, Spring 2008

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

More information

Fall 2014 CMSC250/250H Midterm II

Fall 2014 CMSC250/250H Midterm II Fall 2014 CMSC250/250H Midterm II Circle Your Section! 0101 (10am: 3120, Ladan) 0102 (11am: 3120, Ladan) 0103 (Noon: 3120, Peter) 0201 (2pm: 3120, Yi) 0202 (10am: 1121, Vikas) 0203 (11am: 1121, Vikas)

More information

CMSC Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005

CMSC Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005 CMSC-37110 Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005 Instructor: László Babai Ryerson 164 e-mail: laci@cs This exam contributes 20% to your course grade.

More information

Attempt QUESTIONS 1 and 2, and THREE other questions. penalised if you attempt additional questions.

Attempt QUESTIONS 1 and 2, and THREE other questions. penalised if you attempt additional questions. UNIVERSITY OF EAST ANGLIA School of Mathematics Main Series UG Examination 2017 18 CRYPTOGRAPHY MTHD6025A Time allowed: 3 Hours Attempt QUESTIONS 1 and 2, and THREE other questions. penalised if you attempt

More information

Today. Couple of more induction proofs. Stable Marriage.

Today. Couple of more induction proofs. Stable Marriage. Today. Couple of more induction proofs. Stable Marriage. Strengthening: need to... Theorem: For all n 1, n i=1 1 2. (S i 2 n = n i=1 1.) i 2 Base: P(1). 1 2. Ind Step: k i=1 1 2. i 2 k+1 i=1 1 i 2 = k

More information

CS1800 Discrete Structures Fall 2016 Profs. Gold & Schnyder April 25, CS1800 Discrete Structures Final

CS1800 Discrete Structures Fall 2016 Profs. Gold & Schnyder April 25, CS1800 Discrete Structures Final CS1800 Discrete Structures Fall 2016 Profs. Gold & Schnyder April 25, 2017 CS1800 Discrete Structures Final Instructions: 1. The exam is closed book and closed notes. You may not use a calculator or any

More information

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong Midterm Sample Introduction to Higher Math Fall 018 Instructor: Linh Truong Name: Instructions: Print your name in the space above. Show your reasoning. Write complete proofs. You have 75 minutes. No notes,

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

ECS 189A Final Cryptography Spring 2011

ECS 189A Final Cryptography Spring 2011 ECS 127: Cryptography Handout F UC Davis Phillip Rogaway June 9, 2011 ECS 189A Final Cryptography Spring 2011 Hints for success: Good luck on the exam. I don t think it s all that hard (I do believe I

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

Contribution of Problems

Contribution of Problems Exam topics 1. Basic structures: sets, lists, functions (a) Sets { }: write all elements, or define by condition (b) Set operations: A B, A B, A\B, A c (c) Lists ( ): Cartesian product A B (d) Functions

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