CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

Similar documents
CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

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

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

Intermediate Math Circles November 1, 2017 Probability I

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Sample Spaces, Events, Probability

2.5 Sample Spaces Having Equally Likely Outcomes

4.1 Sample Spaces and Events

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

7.1 Experiments, Sample Spaces, and Events

Name: Exam 1. September 14, 2017

CSE 312 Midterm Exam May 7, 2014

If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics

STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes

4.3 Rules of Probability

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

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

STAT Statistics I Midterm Exam One. Good Luck!

Poker: Probabilities of the Various Hands

Chapter 1. Probability

Chapter 2. Permutations and Combinations

8.2 Union, Intersection, and Complement of Events; Odds

Finite Mathematical Structures A

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

The probability set-up

Mod 21 Test Review GEO

LC OL Probability. ARNMaths.weebly.com. As part of Leaving Certificate Ordinary Level Math you should be able to complete the following.

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm)

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:

Name Instructor: Uli Walther

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Name: Final Exam May 7, 2014

Exam 2 Review (Sections Covered: 3.1, 3.3, , 7.1) 1. Write a system of linear inequalities that describes the shaded region.

Section 7.1 Experiments, Sample Spaces, and Events

Poker: Probabilities of the Various Hands

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

NAME : Math 20. Midterm 1 July 14, Prof. Pantone

The probability set-up

Developed by Rashmi Kathuria. She can be reached at

CSE 21: Midterm 1 Solution

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Applications of Probability

ECE 302 Homework Assignment 2 Solutions

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

MAT 17: Introduction to Mathematics Final Exam Review Packet. B. Use the following definitions to write the indicated set for each exercise below:

Chapter 1. Probability

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

Basic Probability Models. Ping-Shou Zhong

STAT 311 (Spring 2016) Worksheet: W3W: Independence due: Mon. 2/1

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.

Section 7.3 and 7.4 Probability of Independent Events

Unit 9: Probability Assignments

MATH CALCULUS & STATISTICS/BUSN - PRACTICE EXAM #1 - SPRING DR. DAVID BRIDGE

Mutually Exclusive Events

Important Distributions 7/17/2006

Probability and Counting Techniques

SALES AND MARKETING Department MATHEMATICS. Combinatorics and probabilities. Tutorials and exercises

Poker: Further Issues in Probability. Poker I 1/29

19.3 Combinations and Probability

Name: Partners: Math Academy I. Review 6 Version A. 5. There are over a billion different possible orders for a line of 14 people.

Classical vs. Empirical Probability Activity

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

Probability: introduction

commands Homework D1 Q.1.

Whatcom County Math Championship 2017 Probability + Statistics 4 th Grade

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Basic Probability. Let! = # 8 # < 13, # N -,., and / are the subsets of! such that - = multiples of four. = factors of 24 / = square numbers

Chapter 1: Sets and Probability

Chapter 11: Probability and Counting Techniques

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

ECON 214 Elements of Statistics for Economists

Chapter 5 - Elementary Probability Theory

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Theory of Probability - Brett Bernstein

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Compound Probability. Set Theory. Basic Definitions

5.8 Problems (last update 30 May 2018)

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

Math 1313 Section 6.2 Definition of Probability

MGF 1106: Exam 2 Solutions

Best of luck on the exam!

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

7 5 Compound Events. March 23, Alg2 7.5B Notes on Monday.notebook

RANDOM EXPERIMENTS AND EVENTS

FALL 2012 MATH 1324 REVIEW EXAM 4

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

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. C) 1 6

Fall (b) Find the event, E, that a number less than 3 is rolled. (c) Find the event, F, that a green marble is selected.

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague 7 November, CS1800 Discrete Structures Midterm Version C

Suppose you are supposed to select and carry out oneof a collection of N tasks, and there are T K different ways to carry out task K.

ABC High School, Kathmandu, Nepal. Topic : Probability

PROBABILITY. Example 1 The probability of choosing a heart from a deck of cards is given by

Elementary Combinatorics

3 The multiplication rule/miscellaneous counting problems

Conditional Probability Worksheet

Today s Topics. Sometimes when counting a set, we count the same item more than once

MAT104: Fundamentals of Mathematics II Counting Techniques Class Exercises Solutions

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Section 5.4 Permutations and Combinations

Transcription:

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam February 19, 2014. Name: ID: Instructions: Answer the questions directly on the exam pages. Show all your work for each question. Providing more detail including comments and explanations can help with assignment of partial credit. If the answer to a question is a number, you may give your answer using arithmetic operations, such as addition, multiplication, choose notation and factorials (e.g., 9 35! + 2 or 0.5 0.3/(0.2 0.5 + 0.9 0.1) is fine). If you need extra space, use the back of a page. No books, notes, calculators or other electronic devices are allowed. Any cheating will result in a grade of 0. If you have questions during the exam, raise your hand. Question Value Points Earned 1 10 2 10 3 10 4 10 5 10 6 8+2 (Extra Credit) Total 58 1

Question 1. (10 points) Indicate whether each of the following statements is TRUE or FALSE. No justification is required. 1.1 (2 points): For any event A and sample space Ω, P (A Ω) = 1 1.2 (2 points): For any two events A and B where 0 < P (B) < 1, P (A B) P (A B) 1.3 (2 points): For any two events A and B, A c B c = (A B) c 1.4 (2 points): For any three events A, B, and C where P (A) > 0 and P (A B) > 0, P (A B C) = P (A)P (B A)P (C A B) 1.5 (2 points): If A and B are disjoint events then A and B are independent. 2

Question 2. (10 points) Suppose you roll a seven-sided dice to get an outcome from the set: Ω = {1, 2, 3, 4, 5, 6, 7}. You should assume that each of the outcomes are equally likely. Consider the events A = dice roll is odd, B = dice roll is even, C = dice roll is not 7 2.1 (2 points): Enter values for the following probabilities: P (A) = P (B) = P (C) = 2.2 (2 points): Enter values for the following probabilities: P (A C) = P (B C) = 2.3 (2 points): Enter values for the following probabilities. Write answer in the simplest form. P (A C) = P (B C) = 2.4 (1 points): Are the events A and C independent? 2.5 (1 points): Are the events A B and C independent? 2.6 (2 points): If two events are independent, are the complements of the events always independent? Justify your answer. 3

Question 3. (10 points) Every afternoon I have a snack. Either I have a) an apple, b) a banana, c) chips, d) a donut, or e) empanadas. I choose my snack randomly but not all with the same probability. The sample space is Ω = {a, b, c, d, e} and the probability rule satisfies: P ({a}) = 1/3, P ({b}) = 1/6, P ({c}) = 1/3, P ({d}) = 1/12, P ({e}) = 1/12 Let F = {a, b} be the event that I pick a fruit. Let V = {c} be the event that I had a snack that is available in the vending machine. 3.1 (2 points): What is the value of P (F c )? 3.2 (2 points): What is the value of P (F V )? 3.3 (2 points): What s the probability I had an apple conditioned on the event that I had a fruit? 3.4 (1 points): What s the probability I eat a donut or empanadas? 3.5 (1 points): What s the probability I eat a donut and empanadas? 3.6 (2 points): Find a partition of Ω into events such that each event has probability 1/2. 4

Question 4. (10 points) Suppose that 1 in 5 emails I receive are spam. When my computer receives spam it puts it in the junk mail folder with probability 5/6. When my computer receives a message that isn t spam, it puts it in the junk mail folder with probability 1/3. Define the events: S = email is spam, J = email gets put in my junk mail folder 4.1 (2 points): Enter the values for the following probabilities: P (S) = P (S c ) = P (J S) = P (J S c ) = P (J c S) = P (J c S c ) = 4.2 (2 points): What s the probability that the next email is spam and is put in the junk mail folder? 4.3 (2 points): What s the probability that the next email is not spam and is put in the junk mail folder? 4.4 (2 points): What s the probability that the next email gets put in the junk mail folder? 4.5 (2 points): What s the probability that an email in the junk mail folder is actually spam? 5

Question 5. (10 points) Suppose you are designing a new security system for the computer science building. The main door will have a keypad with ten keys: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. To gain entrance, the user needs to enter a code consisting of four numbers. 5.1 (2 points): How many possible codes are there if the numbers are entered one at a time. You should assume that the order in which the numbers are entered matters (e.g., the code 1234 is different from the code 4321), and numbers can be used more than once (e.g., 4233 is a valid code). 5.2 (2 points): How many codes are there if the numbers are entered one at a time and the order matters, but no numbers can appear more than once (e.g., 1231 is not a valid code)? 5.3 (2 points): How many codes are there if the numbers are entered one at a time and the order matters, but no two consecutive numbers are the same (e.g., 1231 is a valid code but 3112 is not)? 5.4 (2 points): How many codes are there if the numbers are entered one at a time and the numbers need to be entered in strictly increasing order (e.g., 1234 is a valid code but 1243 is not)? 5.5 (2 points): How many codes are there if all four numbers need to be pressed simultaneously? 6

Question 6. (10 points) Suppose you pick two cards randomly without replacement from a standard deck of cards. Recall that there are 52 cards and each card has one of four suits. There are 13 hearts, 13 clubs, 13 spaces, and 13 diamonds. 6.1 (2 points): What s the probability that the cards are both hearts? 6.2 (2 points): What s the probability that both cards have the same suit? 6.3 (2 points): What s the probability that the cards have different suits? 6.4 (2 points): What s the probability that there are the same number of hearts and diamonds? Note that if there are zero of both, that still counts as the same number. 7

6.5 (2 points): Extra Credit: Let S be the set of 52 cards in a standard deck. Let a be the number of subsets of size k. Let b be number of subsets of size k that include the ace of spades. Let c be number of subsets of size k that do not include the ace of spades. Using choose notation, what are the values of a, b, and c as a function of k. a = b = c = Write out a formula that relates a, b, and c. Your formula should not depend on k. 8