Problem Points Score Total 100

Similar documents
Problem Points Score Total 100

Problem Points Score Total 100

CS1800 Discrete Structures Spring 2018 February CS1800 Discrete Structures Midterm Version A

Math 1132 Practice Exam 1 Spring 2016

Math 105 Second Midterm March 19, 2015

MA 320 Introductory Probability, Section 1 Spring 2017 Final Exam Practice May. 1, Exam Scores. Question Score Total. Name:

Multiple Choice Answers. MA 110 Precalculus Spring 2016 Exam 1 9 February Question

Page Points Score Total: 100

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

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

Math 230 Final Exam, Spring 2008

2. To receive credit on any problem, you must show work that explains how you obtained your answer or you must explain how you obtained your answer.

CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion

Page Points Score Total 100

Math 300: Final Exam Practice Solutions

CS1800 Discrete Structures Final Version A

One side of each sheet is blank and may be used as scratch paper.

1. Decide for each of the following expressions: Is it a function? If so, f is a function. (i) Domain: R. Codomain: R. Range: R. (iii) Yes surjective.

Multiple Choice Answers. MA 110 Precalculus Spring 2015 Exam 3 14 April Question

MATH 220 CALCULUS I SPRING 2018, MIDTERM I FEB 16, 2018

(b). What is an expression for the exact value of P(X = 4)? 2. (a). Suppose that the moment generating function for X is M (t) = 2et +1 3

Practice Midterm Exam

Page Points Score Total: 100

Turn off all cell phones, pagers, radios, mp3 players, and other similar devices.

Math 160 Calculus for Physical Scientists I Exam 1 February 11, 2016, 5:00-6:50 pm

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

7 = 8 (Type a simplified fraction.)

University of New Mexico Department of Computer Science. Final Examination. CS 561 Data Structures and Algorithms Fall, 2013

Algebra 2 CP Semester 1 PRACTICE Exam

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

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

MATH 114 Fall 2004 Solutions to practice problems for Final Exam

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Math 125 Final Examination Autumn 2015

Part I : Multiple Choice.

Problem Points Score Total 160

Practice Second Midterm Exam III

b) Write the contrapositive of this given statement: If I finish ALEKS, then I get points.

Midterm Exam I for Math 110, Spring Solutions

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

Third Grade Report Card Rubric 1 Exceeding 2 Meeting 3 Developing 4 Area of Concern

1) [3pts] 2. Simplify the expression. Give your answer as a reduced fraction. No credit for decimal answers. ( ) 2) [4pts] ( 3 2 ) 1

University of Georgia Department of Mathematics. Math 1113 Final Exam Fall 2016

Math 151. Rumbos Spring Solutions to Review Problems for Exam 1

MATH Dr. Halimah Alshehri Dr. Halimah Alshehri

MATH 153 FIRST MIDTERM EXAM

SOLUTIONS. Math 130 Midterm Spring True-False: Circle T if the statement is always true. Otherwise circle F.

Problem # Max points possible Actual score Total 100

Math 111, Spring 2009 Final Exam

Section 11.1 Sequences

Name: Mathematics 1C03

QUESTIONS 1-46 REVIEW THE OBJECTIVES OF CHAPTER 2.

North Seattle Community College Math 084 Chapter 1 Review. Perform the operation. Write the product using exponents.

Spring /11/2009

Number Theory: Representations of Integers

MA 110 Algebra and Trigonometry for Calculus Spring 2017 Exam 1 Tuesday, 7 February Multiple Choice Answers EXAMPLE A B C D E.

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

Discrete Structures, Final Exam

Chapter 9: Relations Relations

Pre-Exam. 4 Location of 3. 4 sin 3 ' = b Location of 180 ' = c Location of 315

Math 116 Second Midterm March 20, 2017

0109ia. Integrated Algebra Regents Exam

Exam in Discrete Mathematics

Computations - Show all your work. (30 pts)

University of Connecticut Department of Mathematics

1 Basic Combinatorics

1) (JUNIOR 1 and SENIOR 1) Prove that if n is an even integer then. n(n + 1)(n + 2) 24

CSE 311: Foundations of Computing I Autumn 2014 Practice Final: Section X. Closed book, closed notes, no cell phones, no calculators.

Verulam School Mathematics. Year 9 Revision Material (with answers) Page 1

Page Points Score Total: 100

Page: Total Points: Score:

Practice Problems. 1. The age and weights of six cats are given in the following table:

Math 1101 Chapter 2 Review Solve the equation. 1) (y - 7) - (y + 2) = 4y A) B) D) C) ) 2 5 x x = 5

CS103 Handout 12 Winter February 4, 2013 Practice Midterm Exam

1 Sequences and Summation

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

MAC 1140 FINAL EXAM FORM # 1

2.1 Simplifying Algebraic Expressions

Name Algebra 1 Midterm Review Period. = 10 4x e) x ) Solve for y: a) 6x 3y = 12 b) 4y 8x = 16

MATH 115 FIRST MIDTERM

1 of 10 2/7/ :49 AM

Problems for Putnam Training

MATH 115 SECOND MIDTERM

Evaluate and simplify.

WebAssign hw2.2 (Homework)

Date: October 24, 2008, Friday Time: 10:40-12:30. Math 123 Abstract Mathematics I Midterm Exam I Solutions TOTAL

MATH 1001 R02 MIDTERM EXAM 1 SOLUTION

Name: Student ID: Instructions:

1 Take-home exam and final exam study guide

Math 104 Section 2 Midterm 2 November 1, 2013

MA 301 Test 4, Spring 2007

MATH 116 SECOND MIDTERM EXAM Solutions

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

ECS 20: Discrete Mathematics for Computer Science UC Davis Phillip Rogaway June 12, Final Exam

5.5 Deeper Properties of Continuous Functions

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.


Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary

Chapter12. Relations, Functions, and Induction

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Transcription:

Exam 2 A. Miller Spring 2002 Math 240 0 Show all work. Circle your answer. No notes, no books, no calculator, no cell phones, no pagers, no electronic devices at all. Solutions will be posted shortly after the exam: www.math.wisc.edu/ miller/m240 Name Problem Points Score 1 8 2 8 3 8 4 8 5 8 6 8 7 8 8 8 9 4 10 8 11 8 12 8 13 8 Total 100

Exam 2 A. Miller Spring 2002 Math 240 1 1. (8 pts) How many strings of 8 ASCII characters contain the character % at least once? Note that there are 128 ASCII characters.

Exam 2 A. Miller Spring 2002 Math 240 2 2. (8 pts) Let x be a positive real number and n any positive integer. Show that there is a positive integer j such that the distance from jx and some integer is 1 n. Hint: For each j there are integers k and m with 0 m n 1 so that k + m n jx k + m + 1 n

Exam 2 A. Miller Spring 2002 Math 240 3 3. (8 pts) One hundred tickets numbered 1, 2,..., 100 are to be sold to 100 different people. Eleven prizes are awarded, a grand prize (a scuba diving trip to the Caribbean island of Bonaire), and 10 consolation prizes (a round-trip bus ticket to Milwaukee not including taxes or gratuities). How many ways are there to distribute the prizes? Assume each person can win at most one prize.

Exam 2 A. Miller Spring 2002 Math 240 4 4. (8 pts) Ten sections from a book are to be tested on the second midterm. Each section of the book ends with 20 exercises. The instructor randomly chooses one exercise from each section to put on the exam. (a) What is the probability that every problem chosen is exercise 17? (b) What is the probability that every problem chosen is exercise 17 except exactly one?

Exam 2 A. Miller Spring 2002 Math 240 5 5. (8 pts) How many strings of decimal digits (0-9) are there of length twenty which contain exactly one zero, two ones, and three twos?

Exam 2 A. Miller Spring 2002 Math 240 6 6. (8 pts) Find a recurrence relation for the number, S n, of decimal (0-9) strings of length n which contain at least two consecutive digits which are both 9 s.

Exam 2 A. Miller Spring 2002 Math 240 7 7. (8 pts) Determine values of the constants A and B so that a n = An + B is a particular solution of a n = a n 1 2a n 2 + n.

Exam 2 A. Miller Spring 2002 Math 240 8 8. (8 pts) How many elements are in the union of four sets if the sets have 100,200,300,400 elements respectively, each pair of sets has 50 elements in common, each triple has 10 elements in common, and there is exactly one element in all four sets?

Exam 2 A. Miller Spring 2002 Math 240 9 9. (4 pts) Suppose that the function f from A to B is a one-to-one correspondence. Let R be the relation that equals the graph of f. That is R = {(a, f(a)) : a A}. What is R 1?

10. (8 pts) Let Exam 2 A. Miller Spring 2002 Math 240 10 M R = 1 1 0 1 0 1 0 1 1 represent the relation R. Find a matrix which represents R 2 = R R.

Exam 2 A. Miller Spring 2002 Math 240 11 11. (8 pts) Let R {1, 2, 3, 4} {1, 2, 3, 4} be the following binary relation: R = {(1, 3), (4, 4), (4, 2), (3, 4), (2, 1)} Draw a digraph picture for R. Find a path of length 6 starting at 1 and ending at 2.

Exam 2 A. Miller Spring 2002 Math 240 12 12. (8 pts) For any n = 2, 3, 4,..., 15 define f(n) = p where p is the least prime which divides n. Define the relation x y on this set by x y iff f(x) = f(y). (a) Prove that is an equivalence relation on the set {2, 3, 4,..., 15}. (b) What are its equivalence classes?

Exam 2 A. Miller Spring 2002 Math 240 13 13. (8 pts) Draw the Hasse Diagram for the partial order (P ({a, b, c}, )).

Exam 2 A. Miller Spring 2002 Math 240 14 Answers 1. (4.1-17) There are 128 8 strings all together. 127 8 strings have no occurence of % in them. Hence 128 8 127 8 is the number in which % occurs at least once. 2. ( 4.2-17) The hint is true because for any real number jx there is an integer k with k jx k + 1. We then divide the interval [k, k + 1] into n subintervals of length 1 to see that we must have some m. n By the pidgeon hole principle we can find j < j that have the same m as in the hint, i.e. k + m n jx k + m + 1 n k + m n j x k + m + 1 n for some integers k, k. This is because there are infinitely many j s but only n possible m s. We claim that (j j)x is within 1 of the integer n k k. Since negation reverses inequalities k m + 1 n So that adding the last two inequalities we get: jx k m n k k 1 n (j j)x k k + 1 n So (j j)x is within 1 n of the integer k k. 3. (4.3-17) There are 100 choices for the grand prize. To award the bus tickets we must then choose 10 tickets out of the remaining 99. Hence the answer is ( ) 99 100 10 4. (4.4-??) (a) There are 20 10 possible exams. Only one has problem 17 of each section on it. So 1 20 10 (b) There are 10 19 problems which are not 17. Hence there are 190 exams as described. So 190 20 10 5. (4.6-17)

Exam 2 A. Miller Spring 2002 Math 240 15 ( ) ( ) 20 19 Choose one digit to be the zero, two of the remaining to be ones ( 1 ) 2 17 and three of the remaing to be twos the other 14 digits can be taken arbitrarily 3 from the 7 digits 3-9. There are 7 14 ways to do this. ( ) ( ) ( ) 20 19 17 7 14 1 2 3 6. (5.1-17) The strings of length n + 1 3 which contain at least two consecutive 9 s can divided as follows. Either the first two digits are 99, there are 10 n 1 such strings or the first digit is not a 9, there are 9S n such strings or the first digit is a 9 and the second is not, there are 9S n 1 of these. Hence S n+1 = 10 n 1 + 9S n + 9S n 1 7. (5.2-25) An + B = A(n 1) + B 2(A(n 2) + B) + n An + B = An A + B 2An + 4A 2B + n An + B = (A 2A + 1)n A + B + 4A 2B An + B = ( A + 1)n A + B + 4A 2B 0 = ( 2A + 1)n + (3A 2B) For this to be true for every n we must have that 2A + 1 = 0 and 3A 2B = 0. So A = 1 2 and so B = 3 4. Hence a n = 1 2 n + 3 4 8. (5.5-17) 100 + 200 + 300 + 400 ( 4 2 ) ( 4 50 + 3 ) 10 1 = 739 9. (6.1-17) It is the graph of the inverse function or R 1 = {(f(a), a) : a A} 10. (6.3-9) M R 2 = 1 1 1 1 1 1 1 1 1 11. (6.4-16,17)

Exam 2 A. Miller Spring 2002 Math 240 16 1,3,4,4,4,4,2 is a path of length six. 12. (6.5-6,17) (a) A relation is an equivalence relation iff it is reflexive, symmetric and transitive. x x iff f(x) = f(x) so it is reflexive x y implies f(x) = f(y) implies f(y) = f(x) implies y x so it is symmetric x y and y z imply f(x) = f(y) = f(z) so x z. so this relation is transitive. (b) 2 is the smallest prime. The equivalence classes are {2, 4, 6, 8, 10, 12, 14} {3, 9, 15} {5} {7} {11} {13} 13. (6.6) See text page 421.