Course Title: Discrete Structures
Course No: CSC160
Nature of the Course: Theory + Lab
Semester: II
Full Marks: 60 + 20 + 20
Pass Marks: 24 + 8 + 8
Credit Hrs: 3
The course covers fundamental concepts of discrete structure like introduce logic, proofs, sets, relations, functions, counting, and probability, with an emphasis on applications in computer science.
The main objective of the course is to introduce basic discrete structures, explore applications of discrete structures in computer science, understand concepts of Counting, Probability, Relations and Graphs respectively.
- Sets: Sets and Subsets, Power Set, Cartesian Product, Set Operations, Venn Diagram, Inclusion-Exclusion Principle, Computer Representation of Sets
- Functions: Basic Concept, Injective and Bijective Functions, Inverse and Composite Functions, Graph of Functions, Functions for Computer Science (Ceiling Function, Floor Function, Boolean Function, Exponential Function), Fuzzy Sets and Membership Functions, Fuzzy Set Operations
- Sequences and Summations: Basic Concept of Sequences, Geometric and Arithmetic Progression, Single and Double Summation
- Integers: Integers and Division, Primes and Greatest Common Divisor, Extended Euclidean Algorithm, Integers and Algorithms, Applications of Number Theory (Linear Congruencies, Chinese Remainder Theorem, Computer Arithmetic with Large Integers)
- Matrices: Zero-One Matrices, Boolean Matrix Operations
- Logic: Propositional Logic, Propositional Equivalences, Predicates and Quantifiers, Negation of Quantified Statements, Proof of quantified statements, Nested Quantifiers, Rules of Inferences
- Proof Methods: Basic Terminologies, Proof Methods (Direct Proof, Indirect Proof, Proof by Contradiction, Proof By Contraposition, Exhaustive Proofs and Proof by Cases), Mistakes in Proof
- Induction: Mathematical Induction, Strong Induction and Well Ordering, Induction in General
- Recursive Definitions and Structural Induction, Recursive Algorithms, Proving Correctness of Recursive Algorithms
- Counting: Basics of Counting, Pigeonhole Principle, Permutations and Combinations, Two Element Subsets, Counting Subsets of a Set, Binomial Coefficients, Generalized Permutations and Combinations, Generating Permutations and Combinations
- Discrete Probability: Introduction to Discrete Probability, Probability Theory, Probability Calculation in Hashing, Expected Value and Variance, Randomized Algorithms
- Advanced Counting: Recurrence Relations, Solving Recurrence Relations (Homogeneous and Non-Homogeneous equations), Introduction to Divide and Conquer Recurrence Relations
- Relations: Relations and their Properties, N-ary Relations with Applications, Representing Relations, Closure of Relations, Equivalence Relations, Partial Ordering
- Graphs: Graphs Basics, Graph Types, Graph Models, Graph Representation, Graph Isomorphism, Connectivity in Graphs, Euler and Hamiltonian Path and Circuits, Matching Theory, Shortest Path Algorithm (Dijkstra’s Algorithm), Travelling Salesman Problem, Graph Coloring
- Trees: Introduction and Applications, Tree Traversals, Spanning Trees, Minimum Spanning Trees (Kruskal’s Algorithm)
- Network Flows: Graph as Models of Flow of Commodities, Flows, Maximal Flows and Minimal Cuts, The Max Flow-Min Cut Theorem
The laboratory work consists of implementing the algorithms and concepts discussed in the class. Students should implement problems with the following concepts:
- Set Operations and Boolean Matrix Operations
- Primality Testing, Number Theory Algorithms, and Operations on Integers
- Counting and Some Recursive Algorithms
- Algorithms for Relations, Graphs
- Kenneth H. Rosen, Discrete Mathematics and its Applications, Seventh Edition, McGraw Hill Publication, 2012.
- Bernard Kolman, Robert Busby, Sharon C. Ross, Discrete Mathematical Structures, Sixth Edition, Pearson Publications, 2015.
- Joe L. Mott, Abraham Kandel, Theodore P. Baker, Discrete Mathematics for Computer Scientists and Mathematicians, Prentice Hall of India, Second Edition, 2008.
- Ken Bogart, Scot Drysdale, Cliff Stein, Discrete Mathematics for Computer Scientists, First Edition, Addison-Wesley, 2010.