csc165

Discrete Structure

Exam Preparation: 20 hours
Deep Understanding: 50 hours
Subject Code CSC 165
Credit Hours 3 Hours
Nature Theory + Lab
Full Marks 60 + 20 + 20
Pass Marks 24 + 8 + 8
Description

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.

Objective

Introduce basic discrete structures,Explore applications of discrete structures in computer science,Understand concepts of Counting, Probability, Relations and Graphs respectively

Course Contents

Basic Discrete Structures

7 Hours

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 and Matrices

6 Hours

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 and Proof Methods

6 Hours

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 and Recursion

5 Hours

Induction: Mathematical Induction, Strong Induction and Well Ordering, Induction in General, Recursive Definitions and Structural Induction, Recursive Algorithms, Proving Correctness of Recursive Algorithms

Counting and Discrete Probability

9 Hours

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 and Graphs

12 Hours

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

Laboratory Works

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.

Books

Textbooks

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, Second Edition, Prentice Hall of India, 2008

Reference Books

Ken Bogart, Scot Drysdale, Cliff Stein: Discrete Mathematics for Computer Scientists, First Edition, Addison-Wesley, 2010