






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Various situations where counting techniques and probability theory are applied. It covers examples of counting techniques used in casino games, degree requirements, job scheduling, and nested loops. Additionally, it explains the concepts of random processes, sample spaces, and events, and calculates probabilities using the formula p(e) = n(e) / n(s).
Typology: Slides
1 / 12
This page cannot be seen from the preview
Don't miss anything!







1
2
4
There are 4 jobs that should be processed
on the same machine. ( Can’t be processed simultaneously ).
Here is an example of a possible schedule:
Question: What is the number of all possible
schedules?
Job 3 Job 1 Job 4 Job 2
5
Consider the following nested loop:
for i:=1 to 5 for j:=1 to 6 [ Statement 1 ; Statement 2. ] next j next i
Question: How many times the statements in the
inner loop will be executed?
7
A proces s is called random if
A sample space is the set of all possible outcomes
of a random process or experiment.
An event is a subset of a sample space.
8
Probability
If S is a finite sample space
(in which all outcomes are equally likely), E is an event in S,
then the probability of E is
Notation: For any finite set A,
n(A) denotes the number of elements in A.
Then
( )
( ) ( ) n S
n E P E =
Applying the dice example in Monopoly Game
that is owned by you, you collect rent
hotels on your properties because rents are much higher than for unimproved properties
your properties before your opponent rolls the dice
11