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 2024 offering of COMP2804, Sections A and B.

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

Jump to Lecture Topics

Jump to Next Lecture Topic

News and Announcements

New (Oct 11): Your midterm exam will take place in your class on Wednesday October 30th. Students in Section B will write their exam at 10:00am and students in Section A will write their exam at 4:00pm. The two exams are not the same.
If you write your exam at 10:00am, please don't discuss it with anyone (especially in a public forum) until after 5:00pm. Although the exams are not the same, some questions look similar but the question and/or answers have been changed slightly and need to be read carefully. If you are writing the 4:00pm exam, I advise you not to discuss the exam with anyone who took it at 10:00am. Any information you get by doing so is likely to result in you misreading a question or answer, causing you unnecessary confusion.

New (Oct 3): The notes I make for the afternoon class document camera are now available for most of the lecture topics.

New (Oct 2): There will be no COMP2804A class on Friday October 11th. There will be no COMP2804B class on Friday December 6th. The first cancellation is to prevent Section A from being two lectures ahead. The second cancellation is so that each section gets 24 lectures.

New (Sep 30): Assignment 2 is now available here. Contrary to the course outline, Assignment 2 is due on October 18, at 11:55pm.

New (Sep 30): Assignment 1 solutions (and grading guidelines) are now available here.

New (Sep 13): This course has course discord to communicate with other students.

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 mid-term exam will take place 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

Due dates for assignments and the date of the midterm exam are in the Course Outline

Assignments

Assignments will be posted here as they become available. Assignments are to be submitted using Brightspace.

If you would like to see some sample solutions from a previous offering of this course, you can find some here. If you are looking for an example of excellent assignment solutions, here are the sample solutions (pdf) (tex) for Assignment 1 Fall 2019

Please note the following rules and requirements about assignments:

Exams

The midterm exam will take place in class. 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

This course will use the following grading scheme.

   
Assignments 25%
Mid-term exam 25%
Final exam 50%

If you fail to submit an assignment on time but are able to provide me with a valid reason then I will shift the weight of the missed assignment onto the remaining assignments. If you fail to submit all of the assignments with a valid reason for each one them then I will shift their weight onto the final exam. If you fail to attend the midterm exam and provide me with a valid reason then I will shift the weight of the midterm exam onto the final exam.

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.