COMP2804: Discrete Structures II
$\newcommand{\R}{\mathbb{R}}\DeclareMathOperator{\E}{\mathbf{E}}\DeclareMathOperator{\deg}{deg}\newcommand{\N}{\mathbb{N}}$

Note: This is the webpage for the Fall 2025 offering of COMP2804, Sections A and B.

Official Course Outline: Official course outline

Instructor: Pat Morin, 5177 HP, morin@scs.carleton.ca

Jump to Lecture Topics

Jump to Next Lecture Topic

News and Announcements

New (Sep 12): Here is a Sample first page from one of the upcoming quizzes. Print this and practice entering your student number so that you do it correctly during the quiz. Doing this incorrectly will result (at best) in a delay in receiving your grade or (at worst) no record of you having completed the quiz.

New (Sep 8): Assignment 1 has been updated with a few questions related to Lecture 2.

New (Sep 4): Assignment 1 has begun. It currently contains a question to expand your understanding of the first lecture, on Ramsey's Theorem. More questions will be added after each lecture.

Learning Modality

Classes will take place in a classroom somewhere on campus that I am not allowed to disclose. Find the location by logging into Carleton Central. The in-class exams will take place, um, in class. The final exam is a formally scheduled exam managed by exam services.

Below, you will find a class-by-class list of lecture topics along with videos of each topic recorded in Fall 2020. These can be a useful resource if, for some reason, you miss some classes.

Course Objectives

A second course that is designed to give students a basic understanding of Discrete Mathematics and its role in Computer Science. Computers handle discrete data rather than continuous data. The course presents an overview of some of the major theoretical concepts needed to analyze this type of data.

Office Hours Schedule

We have lots of office hours during which TAs or myself can help you with studying course material and offer you guidance for assignments.

Important Dates

In-class exam dates and the lecture schdule are in the Course Outline

Assignments

The four assignments in this course are optional and you don't need to submit them, but it is highly recommended that you make a serious attempt at each assignment. They are designed and the due dates are set so that they prepare you for each of the in-class 80 minute quizzes.

After the posted due date for each assignment (typically a week before the corresponding in-class quiz), I will post sample solutions for the assignment. Compare these to your solutions and learn where you went wrong. This is also part of preparing for the in-class quiz.

Each assignment will be posted here when it is ready.

Exams

There will be four in-class quizzes (see the schedule in the course ouline). The final exam will be a formally scheduled exam handled by examination services.

Here are exams for previous offerings of this course (for study purposes).

Here you can use use previous exams as practice exams.

Grading Scheme

The grading scheme appears in the course outline.

Textbooks

We will be using the following free (libre and gratis) textbooks. The first one is the primary textbook for this course. The second contains supplementary and background material:

Lecture Topics

You should already be familiar with the following topics from COMP 1805: basic logical reasoning, sets and functions, proof strategies (direct proof, proof by contradiction, proof by induction), Sigma-notation for summations, basic graph theory, Big-Oh, Big-Omega, Big-Theta. You may take a look at Chapter 2 of the textbook and do some of the exercises at the end of that chapter. Review the relevant parts of Lehman et al if you are still struggling.

Note: Most of the videos below are from the Fall 2020 offering of this course and are provided as a tool for reviewing things that will be taught in class. The lecture-by-lecture schedule may be changed as the semester progresses and (late in the semester) we may cover some topics not covered in the videos below.