CSCI 246 Class 18 PROBABILITIES AND COUNTING Quiz Questions - - PowerPoint PPT Presentation

csci 246 class 18
SMART_READER_LITE
LIVE PREVIEW

CSCI 246 Class 18 PROBABILITIES AND COUNTING Quiz Questions - - PowerPoint PPT Presentation

CSCI 246 Class 18 PROBABILITIES AND COUNTING Quiz Questions Lecture 30: What is the probability of flipping one heads and one tails when flipping two fair coins? Lecture 31: Give the permutations for n = 3 Note, Im not


slide-1
SLIDE 1

CSCI 246 – Class 18

PROBABILITIES AND COUNTING

slide-2
SLIDE 2

Quiz Questions

 Lecture 30:

 What is the probability of flipping one heads and one tails when flipping two fair

coins?

 Lecture 31:

 Give the permutations for n = 3

 Note, I’m not asking for the number of permutations

slide-3
SLIDE 3

Notes and Clarifications

 Finishing remarks from Friday:

 elance.com  udacity.com

 Project Question  Grades  Quiz

slide-4
SLIDE 4

Lessons 30 and 31

 Probability

 Sample Space S  Probabilities: 0 < P(x) < 1; 𝑄 𝑦 =

1 |𝑡|

 𝑄 𝐹𝑤𝑓𝑜𝑢 =

|𝐹| |𝑡|

slide-5
SLIDE 5

Lessons 30 and 31

 Probability

 Monty Hall Game: https://www.youtube.com/watch?v=mhlc7peGlGg

slide-6
SLIDE 6
slide-7
SLIDE 7

Lessons 30 and 31

 Multiplication Rule

 The probability of event A and event B occurring (assuming independence of

each other) = P(A) * P(B)

 Example: Dice

slide-8
SLIDE 8

Lessons 30 and 31

 Permutation

 Say we have 3 chairs and 7 people, what are the number of possible ways to

seat these people?

 Notation notes: 𝟖𝑸𝟒, 𝑸𝟒

𝟖, 𝑸(𝟒, 𝟖)

slide-9
SLIDE 9

Lessons 30 and 31

 Rule of Addition  When two events, A and B, are mutually exclusive, the probability that A

  • r B will occur is the sum of the probability of each event.

P(A or B) = P(A) + P(B) Example: A glass jar contains 1 red, 3 green, 2 blue, and 4 yellow marbles. If a single marble is chosen at random from the jar, what is the probability that it is yellow or green?

slide-10
SLIDE 10

Homework (group)

1.

Assuming a standard playing deck of 4 suits, each with 13 cards, what is the probability of getting a jack? P(jack) = ?

2.

Assuming a standard playing deck of 4 suits, each with 13 cards, what is the probability of getting a jack that is also a heart? P(jack AND heart) = ?

3.

Assuming a standard playing deck of 4 suits, each with 13 cards, what is the probability of getting a jack or a heart? P(jack OR a heart) = ?

4.

Assume you have 13 people and 5 chairs, what are the total possible ways for people to sit in those chairs?

5.

What is the probability of rolling a 4 on the first roll and an even number on the second role when using a fair dice?

6.

A spinner has 4 equal sectors colored yellow, blue, green, and red. What is the probability of landing on red or blue after spinning this spinner?

slide-11
SLIDE 11

Homework (individual)

1.

If a dice is rolled once, what is the probability that it will show a prime number ( 1 is not prime)

2.

If a coin is flipped twice, what is the probability that it will land heads at least once?

3.

Which of these numbers cannot be a probability? a) -0.00001 b) 0.5 c) 1.001 d) 0 e) 1 f) 20%

4.

What are the total number of permutations for 7 people to sit in 7 chairs?