TrueschoTruescho
All Courses
Discrete Math for Computer Science - Counting & Probability
Coursera
Course
Unknown

Discrete Math for Computer Science - Counting & Probability

The Hong Kong University of Science and Technology

This course develops tools for counting, measuring uncertainty, and reasoning about random processes, critical to computer science, data analysis, and algorithm design.

Unknown8 weeksEnglish

About this Course

This course develops the mathematical tools needed to count, measure uncertainty, and reason about random processes, which are central to computer science, data analysis, and algorithm design. Building on the logical foundations from the first course, it introduces combinatorial counting techniques and probability theory through a discrete, computation-oriented lens. The course begins with the fundamentals of counting, including the product rule, sum rule, permutations, combinations, and binomial coefficients. You will learn how to count complex structures efficiently using techniques such as the principle of inclusion and exclusion, with applications ranging from algorithm analysis to data organization. The second half of the course focuses on probability, emphasizing its deep connection to counting. Topics include sample spaces, events, conditional probability, independence, and Bayes’ Theorem. You will also study random variables, probability distributions, expectation, and variance, gaining tools to model and analyze randomized algorithms and real-world uncertainty. Throughout the course, abstract concepts are reinforced with concrete examples drawn from computing, games of chance, and classic probability puzzles. By the end, learners will be able to systematically count possibilities, compute probabilities, and reason rigorously about randomness—skills essential for advanced study in algorithms, data science, machine learning, and beyond

What You'll Learn

  • Use propositional and predicate logic to model and reason about computer science problems
  • Use permutations, combinations, and inclusion–exclusion to solve combinatorial problems
  • Analyse uncertainty using probability, conditional probability, and random variables

Prerequisites

  • No deep prior experience is required, but basic computer and internet skills are helpful
  • Ability to read course instructions in English and complete short practice activities

Instructors

K

Kenneth Wai-Ting Leung

Associate Professor of Engineering Education

Topics

Algorithms
Computer Science
Math and Logic
Advanced Mathematics
Arithmetic
Deductive Reasoning
Mathematical Theory & Analysis
Bayesian Statistics

Course Info

PlatformCoursera
LevelUnknown
PacingUnknown
PriceFree

Skills

الخوارزميات
علوم الحاسوب
المنطق والرياضيات
الرياضيات المتقدمة
الحساب
الاستدلال الاستنتاجي
النظريات الرياضية والتحليل
الإحصاء البايزي

Start Learning Now