Midterm 2 6:00-8:00pm, 16 April

Similar documents
CSE 312 Midterm Exam May 7, 2014

CMath 55 PROFESSOR KENNETH A. RIBET. Final Examination May 11, :30AM 2:30PM, 100 Lewis Hall

Introduction to Spring 2009 Artificial Intelligence Final Exam

CS 32 Puzzles, Games & Algorithms Fall 2013

Solutions to Problem Set 7

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific

EE 126 Fall 2006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO

Combinatorics: The Fine Art of Counting

1 2-step and other basic conditional probability problems

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r.

CSC/MTH 231 Discrete Structures II Spring, Homework 5

Midterm 1. Total. Name of Student on Your Left: Name of Student on Your Right: EE 20N: Structure and Interpretation of Signals and Systems

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand HW 8

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested.

Combinatorics: The Fine Art of Counting

Dependence. Math Circle. October 15, 2016

Midterm (Sample Version 3, with Solutions)

Foundations of Computing Discrete Mathematics Solutions to exercises for week 12

GCSE LINKED PAIR PILOT 4363/01 METHODS IN MATHEMATICS UNIT 1: Methods (Non-Calculator) FOUNDATION TIER

Probability and the Monty Hall Problem Rong Huang January 10, 2016

There is no class tomorrow! Have a good weekend! Scores will be posted in Compass early Friday morning J

JIGSAW ACTIVITY, TASK # Make sure your answer in written in the correct order. Highest powers of x should come first, down to the lowest powers.

Section Marks Agents / 8. Search / 10. Games / 13. Logic / 15. Total / 46

Discrete probability and the laws of chance

Math 1001: Excursions in Mathematics Final Exam: 9 May :30-4:30 p.m.

Discrete Structures Lecture Permutations and Combinations

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Introduction to Counting and Probability

Independent Events B R Y

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) (a) (b) (c) (d) (e)...

Midterm 2 Practice Problems

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text.

1. Determine whether the following experiments are binomial.

Expected Value, continued

STAT Statistics I Midterm Exam One. Good Luck!

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

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

Math 1070 Sample Exam 2

Intermediate Math Circles November 1, 2017 Probability I

Algebra 1B notes and problems May 14, 2009 Independent events page 1

Name Class Date. Introducing Probability Distributions

out one marble and then a second marble without replacing the first. What is the probability that both marbles will be white?

Section The Multiplication Principle and Permutations

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

1 2-step and other basic conditional probability problems

Junior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times?

Total. STAT/MATH 394 A - Autumn Quarter Midterm. Name: Student ID Number: Directions. Complete all questions.

Numan Sheikh FC College Lahore

1. Theoretical probability is what should happen (based on math), while probability is what actually happens.

M14/5/MATME/SP1/ENG/TZ1/XX MATHEMATICS STANDARD LEVEL PAPER 1. Candidate session number. Tuesday 13 May 2014 (afternoon) Examination code

Here are two situations involving chance:

Tree and Venn Diagrams

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

CSE 21 Practice Final Exam Winter 2016

3 PROBABILITY TOPICS

Making Middle School Math Come Alive with Games and Activities

4.1 Sample Spaces and Events

Directions: Show all of your work. Use units and labels and remember to give complete answers.

Discrete Structures for Computer Science

Date. Probability. Chapter

Lenarz Math 102 Practice Exam # 3 Name: 1. A 10-sided die is rolled 100 times with the following results:

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

Combinatorics and Intuitive Probability

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

3 The multiplication rule/miscellaneous counting problems

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

a) Getting 10 +/- 2 head in 20 tosses is the same probability as getting +/- heads in 320 tosses

Best of luck on the exam!

Making Middle School Math Come Alive with Games and Activities

Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY

Moore, IPS 6e Chapter 05

2 C. 1 D. 2 4 D. 5 3 C. 25 D. 2

(b) In the position given in the figure below, find a winning move, if any. (b) In the position given in Figure 4.2, find a winning move, if any.

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

Most of the time we deal with theoretical probability. Experimental probability uses actual data that has been collected.

Tanning: Week 13 C. D.

CS 188 Introduction to Fall 2014 Artificial Intelligence Midterm

Algebra II- Chapter 12- Test Review

Theory of Probability - Brett Bernstein

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

CS 171, Intro to A.I. Midterm Exam Fall Quarter, 2016

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

Compound Probability. A to determine the likelihood of two events occurring at the. ***Events can be classified as independent or dependent events.

Probability. Misha Lavrov. ARML Practice 5/5/2013

Positive Triangle Game

Probability: Terminology and Examples Spring January 1, / 22

1. Let X be a continuous random variable such that its density function is 8 < k(x 2 +1), 0 <x<1 f(x) = 0, elsewhere.

Finite Mathematics MAT 141: Chapter 8 Notes

CPM Educational Program

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

State Math Contest Junior Exam SOLUTIONS

November 6, Chapter 8: Probability: The Mathematics of Chance

SCHOOL OF EDUCATION (Edgewood Campus) MAIN EXAMINATIONS - NOVEMBER 2015 BACHELOR OF EDUCATION

CS 237: Probability in Computing

Probability and Counting Techniques

Grade 8 Math Assignment: Probability

8: Determine the number of integral values that a side of a triangle can have if the other two sides are 3 and 10. A) 7 B) 5 C) 4 D) 3 E) NOTA

Solutions for Exam I, Math 10120, Fall 2016

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC)

Transcription:

CS70 2 Discrete Mathematics and Probability Theory, Spring 2009 Midterm 2 6:00-8:00pm, 16 April Notes: There are five questions on this midterm. Answer each question part in the space below it, using the back of the sheet to continue your answer if necessary. If you need more space, use the blank sheet at the end. In both cases, be sure to clearly label your answers! None of the questions requires a very long answer, so avoid writing too much! Unclear or long-winded solutions may be penalized. The approximate credit for each question part is shown in the margin (total 60 points). Points are not necessarily an indication of difficulty! Your Name: Your Section: For official use; please do not write below this line! Q1 Q2 Q3 Q4 Q5 Total [exam starts on next page]

1. Coloring Hypercubes Let G = (V, E) be an undirected graph. G is said to be k-vertex-colorable if it is possible to assign one of k colors to each vertex of G so that no two adjacent vertices receive the same color. G is k-edge-colorable if it is possible to assign one of k colors to each edge of G so that no two edges incident on the same vertex receive the same color. For example, the following graph is 4-vertex-colorable (but not 3-vertexcolorable) and 3-edge-colorable (but not 2-edge-colorable). Check that you understand these definitions before proceeding! (a) Show that the n-dimensional hypercube is 2-vertex-colorable for every n. 5pts (b) Show that the n-dimensional hypercube is n-edge-colorable for every n. 5pts

2. Random Graphs A random undirected graph G with n vertices {1, 2,..., n} is formed by including each possible edge {u, v} with probability p, independently of all other edges. Answer the following questions, giving each answer in terms of n and p. (a) A vertex is isolated if it is not connected by an edge to any other vertex. What is the expected number of isolated vertices in G? (b) What is the expected number of vertices with degree exactly 3 in G? (c) A square is a simple cycle of length four with no diagonals present. (E.g., the set of vertices {1, 2, 3, 4} forms a square if G contains edges {1, 2}, {2, 3}, {3, 4}, {4, 1}, and does not contain edges {1, 3} or {2, 4}.) What is the expected number of squares in G?

3. Counting For each of the following problems, simplify your answer as much as possible and circle your final answer. In case the answer is an expression involving factorials or binomial coefficients, you do not need to simplify it further. In each case, you should give a brief explanation of your answer. (a) In Morse code, letters are represented by a sequence of dots and dashes. How many different letters can be formed by using at most 10 symbols? (b) An undirected graph on n labeled vertices is described by specifying, for each unordered pair of vertices {u, v}, whether the graph contains an edge between u and v. How many different undirected graphs are there on n vertices? (c) How many orderings are there of the numbers from 1 to 2n, in which the numbers 1,..., n occur in increasing order (but not necessarily contiguously)? (d) Two committees (say, the Education Committee and the Arts Committee) are to be formed from a group of n citizens. In how many ways can these committees be formed, so that each person serves on at most one committee, and each committee contains at least one member. [HINT: Think about how to solve the problem if we remove the restriction that each committee must contain at least one member.] (e) A Social Security Number is any sequence of nine digits. How many Social Security Numbers have at least eight different digits?

4. Colorful Jelly Beans A candy factory has an endless supply of red, orange and yellow jelly beans. The factory packages the jelly beans into jars of 100 jelly beans each, with each possible combination of colors in the jar being equally likely. (One possible color combination, for example, is a jar of 56 red, 22 orange, and 22 yellow jelly beans.) As a marketing gimmick, the factory claims that the number of possible combinations is so large that there is negligible probability of finding two jars with the same color combination. You are skeptical about this claim and decide to do some calculations to test it. (a) Find N, the number of different possible color combinations of jelly beans in a single jar. (b) In terms of N, write down the probability that two jars of jelly beans have different color combinations. 2pts (c) Again in terms of N, write down the probability that m jars of jelly beans all have different color combinations. [NOTE: You do not need to simplify your expression.] (d) Approximately how many jars of jelly beans would you have to buy until the probability of seeing two jars with the same color combination is at least 1 2? [NOTE: You should state your answer only as an order of magnitude (i.e., 10, 100, 1000,...). You may appeal to any result from class in order to derive your estimate; it should not be necessary to perform a detailed calculation.]

5. Learning and Betting You are given two biased coins, one of which has probability 0.55 of coming up Heads, and the other of which has probability 0.2 of coming up Heads. However, you don t know which is which. (a) You randomly pick one coin and flip it. If the coin comes up Heads you win $1, and if it comes up Tails you lose $1. What is the probability of winning? Would you play this game? (b) Now suppose you get to randomly pick a coin and flip it for free. Then you get to choose a coin for the second flip. Again, you win or lose $1 according to whether the second flip is Heads or Tails. Given that you see Heads on the first flip, which coin would you choose for the second flip? Assuming this strategy, would you bet the $1 on the second flip? Justify your answer with a calculation. (c) Now suppose you get to randomly pick a coin and flip it (the same coin) for free twice. Then you get to choose a coin for the third flip. Suppose you get Heads on both of the first two flips. Would you bet the $1 on the next flip? Again, justify your answer. [The end]