3.WIMS 2021_Discrete Structures for Computer Science HANDOUT-16 SESSIONS
3.WIMS 2021_Discrete Structures for Computer Science HANDOUT-16 SESSIONS
COURSE HANDOUT
Course Description
Introduction to discrete mathematical structures; Formal logic and predicate calculus; Sets, relations
and functions; Proof techniques; Graphs and trees; Primes, factorization, greatest common divisor,
residues and application to cryptology; Permutations, combinations and partitions; Recurrence
relations.
Course Objectives
No Objective
CO3 To learn the basics required for cryptology and Graph Theory
Text Book(s)
No Author(s), Title, Edition, Publishing House
T1 Kenneth H. Rosen, Discrete Mathematics and its Applications, Tata McGraw Hill, 7th Ed.,
2011.
Content Structure
No Title of the Module References
M1 Module1: Logic
Propositional Logic, Propositional Equivalence, Predicate Logic
Introduction to logic; basic concepts in propositional logic, operators on
propositions, knowledge representation in propositional logic,
propositional equivalence using truth tables, equivalence laws, and
fundamentals of predicate logic, quantifier expressions, knowledge
representation in predicate logic.
M2
Module 2: Proof Methods
Inference Rules, Proof Methods, Strong & Weak induction
Inference rules, proof methods – direct proof, indirect proof, vacuous
proof, trivial proof, proof by cases, proof by contradiction and strong /
weak induction.
M3 Module 3:Sets, Functions and Relations
Set theory, Functions, Relations – Equivalence Relations, Partial Order
Relations, Lattices.
Introduction to set theory, set relations, set operators, cardinality of sets,
Cartesian product of sets, fundamentals of functions – range, domain,
injection, surjection, bijection of functions, fundamentals of relations,
reflexive, symmetric and transitive properties in relations, representing
relations, applications of relations, equivalence relations, partial order
relations, lattices.
M4 Module 4: Combinatory, Recursion, Recurrence relation
Combinatorics, Pigeonhole principle, Recursion, Recursively defined
functions, Recurrence relations
Combinatorics: sum and product rules, inclusion/exclusion principle,
pigeonhole principle, recursion, recursively defined functions, recurrence
relations.
M5 Module 5:Graph Theory
Introduction to graph theory, Trees, Minimum Spanning Trees.
Introduction to graph theory, directed and undirected graphs, handshaking
theorem, special graph structures, graph representations and isomorphism
of graphs, connectedness, components, Euler, Hamilton paths and cycles,
trees, binary trees, binary search tree, spanning trees, minimum spanning
trees – Prim’s and Kruskal’s algorithms.
M6 Module 6:Introduction to Cryptography
Basic Number Theory, Introduction to Cryptography, RSA Algorithm
Basic concepts in number theory, prime factorization theorem, division
algorithm, primality, modular congruence, Euclid’s algorithm for GCD,
hash functions, modular exponential problem, Chinese remainder
theorem, RSA algorithm.
Learning Outcomes:
No Learning Outcomes
LO1 Student will be able to understand the logic behind the validation of statements in programming
L02 Student should be confident of analyzing algorithms in particular using recurrence relations
LO3 Students are confident of Graph theory concepts so that understanding data structures becomes
very simple
Course Contents
During CS-1 CS-1 Discuss Examples: T1 – 1.1: 7, 8, 9, 10,12,18,19, 14, 15,18,19 T1 – 1.1, 1.2.
Solve Exercises: T1 – 1.1 - 3,7,17,31,55,56,57,58,59.
Discuss Examples: T1 – 1.2: 5, 6, 7, 8.
Post-CS-1 HW Exercises of T1 – 1.1: 5, 13,19, 21, 33, 35, 37, 43,47, 63 T1 –1.1, 1.2.
Exercises of T1 – 1.2: 7, 11, 15, 17, 25, 27.
Post-CS-2 HW Exercises of T1 – 1.3: 3, 6, 11, 13, 29, 34, 37, 39, 43, 57 T1 – 1.3,1.4, 1.5
Exercises of T1 – 1.4: 4,12,13,23,31,33,40,45
Exercises of T1 – 1.5: 5, 7, 11, 13, 17, 19, 23, 25, 29, 31
Contact Session-3, Module 2: Proof Methods -Inferences
Time Type Description Reference
Pre-CS-3 RL 2.1,RL 2.2 Inference Rules, Introduction to proofs. T1 – 1.6,1.7
During CS- CS-3 Discuss examples T1 – 1.6: 2, 4, 6,7,8, 9, 11, 12,14, 15, 18 T1 – 1.6,1.7
3 Solve Exercises: T1 – 1.6: 5,11,22,27,28,39
Discuss examples T1 – 1.7: 1, 4, 8, 9, 12,13,14, 17, 18
Solve Exercises: T1 – 1.7: 4,12,23,26,29,35,41
Post-CS-9 HW ExercisesT1 – 6.1 :16,17, ,23,35, 39, 45, 47,49,52,60 T1 - 6.1, 6.2
Exercises T1 – 6.2: 5, 7, 11, 12,15, 20,22,25,31,34,45