Discrete Structures - Lecture 26, 27
Discrete Structures - Lecture 26, 27
LECTURE 26, 27
Introduction to
COMBINATORICS
Course Instructor:
1 Rida Memon
COMBINATORICS
2
Basic Counting Principles
3
The SUM Rule
4
Example
Solution:
There are 7+3=10 choices available for the student who
wants to take any one optional course.
5
Task 1
6
The PRODUCT Rule
7
Example
Solution:
There are 7 x 3=21 choices available for the student who
wants to take any one optional course of each subject.
8
Task 3
9
Task 4
10
Task 6
11
Task 7
12
Task 8
13
The SUBTRACTION Rule
14
Example
Solution:
So, number of bit strings
according to the given
criteria is:
= 128+64-32 = 160
15
Practice Questions
1.
2.
3.
4.
16
Practice Questions
5.
6.
7.
17
Reading Assignment
Chapter 6
Section 6.1
Page 385 - 394
18
Thanks
End of Lecture
Q/As
19