English. Discrete Structures introduces the mathematical foundations that underlie computer science: logic, proof techniques, sets, relations, functions, sequences and recurrences, number theory, counting, graphs and trees. Students learn to reason rigorously about software, algorithms and data, and they see how each structure appears in data structures, algorithms, databases, artificial intelligence and cryptography.
Start hereLecture 0 — Discrete vs ContinuousWhy this course is called "Discrete": countable vs measurable, integers vs real numbers, digital vs analog. Easy Roman Urdu.Roman Urdu. Discrete Structures un riyazi (mathematical) buniyadon ka course hai jin par computer science khari hai: logic, proof ke tareeqe, sets, relations, functions, sequences aur recurrences, number theory, counting, graphs aur trees. Is course mein talib-e-ilm software, algorithms aur data ke bare mein sakht (rigorous) andaz mein sochna seekhte hain, aur dekhte hain ke har structure data structures, algorithms, databases, artificial intelligence aur cryptography mein kahan istemal hota hai.
Lectures available now (Weeks 1–4)
Modules 1–2: Mathematical Reasoning, Logic and Proofs. Every lecture has learning objectives, worked examples, a computer science connection, key takeaways in Roman Urdu, five revision questions and homework. Lecture 2 has a free truth-table maker.
Course learning outcomes (CLOs)
| CLO | Learning outcome | Roman Urdu | Bloom |
|---|---|---|---|
| CLO-1 | Understand the key concepts of Discrete Structures such as Sets, Permutations, Relations, Graphs and Trees etc. | Discrete Structures ke bunyadi concepts, jaise Sets, Permutations, Relations, Graphs aur Trees wagera ko samajhna. | C2 |
| CLO-2 | Apply formal logic proofs and/or informal, but rigorous, logical reasoning to real problems, such as predicting the behavior of software or solving problems such as puzzles. | Formal logic proofs aur/ya ghair-rasmi magar sakht (rigorous) mantiqi istadlal ko haqiqi masail par lagoo karna, jaise software ke behavior ki peshgoi ya puzzles hal karna. | C3 |
| CLO-3 | Apply discrete structures into other computing problems such as formal specification, verification, databases, artificial intelligence, and cryptography. | Discrete structures ko doosre computing masail mein istemal karna, jaise formal specification, verification, databases, artificial intelligence aur cryptography. | C3 |
| CLO-4 | Differentiate various discrete structures and their relevance within the context of computer science, in the areas of data structures and algorithms, in particular. | Mukhtalif discrete structures mein farq karna aur computer science mein, khaas kar data structures aur algorithms ke tanazur mein, unki ahmiyat bayan karna. | C4 |
Course modules
| Module | Title | Topics | Lectures | Status |
|---|---|---|---|---|
| 1 | Mathematical Reasoning and Logic | Propositional and predicate logic, quantifiers, rules of inference | 6 | Available |
| 2 | Mathematical Proofs | Direct, implication, contraposition, contradiction, induction, strong induction | 6 | Available |
| 3 | Set Theory | Sets, operations, power sets, Cartesian products, identities | 3 | Coming soon |
| 4 | Relations | Properties, equivalence relations, partitions, partial orderings | 3 | Coming soon |
| 5 | Functions and Mappings | Types of functions, composition, inverse, recursive functions | 3 | Coming soon |
| 6 | Sequences and Recurrence Relations | Sequences, series, recurrences, solving techniques | 3 | Coming soon |
| 7 | Number Theory | Divisibility, primes, gcd/lcm, Euclid, modular arithmetic, congruences | 4 | Coming soon |
| 8 | Counting and Combinatorics | Sum and product rules, permutations, combinations, pigeonhole, inclusion-exclusion | 6 | Coming soon |
| 9 | Graph Theory | Graph types, degree, connectivity, planar graphs, colouring, Euler, Hamiltonian | 6 | Coming soon |
| 10 | Trees | Rooted and binary trees, properties, traversals, applications | 3 | Coming soon |
Sixteen-week schedule
Three lectures a week. Weeks 1–4 are linked; later weeks will be added as they are ready.
| Week | Lecture 1 | Lecture 2 | Lecture 3 |
|---|---|---|---|
| 1 | Mathematical reasoning; propositions and connectives | Truth tables; tautology, contradiction, contingency | Logical equivalence; laws of logic |
| 2 | Predicate logic; quantifiers | Rules of inference | Logical arguments and puzzles |
| 3 | Introduction to proofs; direct proof and proof by implication | Proof by contraposition | Proof by contradiction |
| 4 | Mathematical induction | Strong induction | Applications of proofs |
| 5 | Sets, representation, subsets, power sets | Union, intersection, difference, complement | Cartesian products, set identities, databases |
| 6 | Relations and their properties | Equivalence relations and partitions | Partial orderings |
| 7 | Functions; domain, codomain, range; one-to-one, onto, bijective | Composition and inverse functions | Recursive functions; applications |
| 8 | Sequences and series; arithmetic and geometric | Recurrence relations; Fibonacci | Solving recurrences; algorithm analysis |
| 9 | Sessional exam (Weeks 1–8) | Integers, divisibility, primes, composites | gcd, lcm, Euclidean algorithm |
| 10 | Modular arithmetic and congruences | Number theory in cryptography | Basic counting; sum and product rules |
| 11 | Permutations | Combinations | Pigeonhole principle |
| 12 | Inclusion-exclusion principle | Counting applications and review | Graphs: vertices, edges, degree, types |
| 13 | Directed and undirected graphs; connectivity | Planar graphs | Graph colouring |
| 14 | Euler paths and circuits | Hamiltonian paths and cycles | Graph applications |
| 15 | Rooted and binary trees; properties | Tree representation; preorder, inorder, postorder traversal | Applications of trees in CS |
| 16 | Project presentations | Project presentations | Revision and final exam preparation |
Reference books
- Kenneth H. Rosen, Discrete Mathematics and Its Applications, 7th ed.
- Susanna S. Epp, Discrete Mathematics with Applications, 4th ed.
- Richard Johnsonbaugh, Discrete Mathematics, 7th ed.
- Kolman, Busby and Ross, Discrete Mathematical Structures, 4th ed.
- Ralph P. Grimaldi, Discrete and Combinatorial Mathematics: An Applied Introduction
- Winifred Grassman, Logic and Discrete Mathematics: A Computer Science Perspective
Also on BS CS: PF · OOP · Database · Online C++ compiler
START WELL TO END WELL