Processing math: 100%
COM­P2804: Dis­crete Struc­tures II
\newcommand{\R}{\mathbb{R}}\DeclareMathOperator{\E}{\mathbf{E}}\DeclareMathOperator{\deg}{deg}\newcommand{\N}{\mathbb{N}}

Note: This is the web­page for the Fall 2024 of­fer­ing of COM­P2804, Sec­tions A and B.

In­struc­tor: Pat Morin, 5177 HP, morin@​scs.​carleton.​ca

Jump to Lec­ture Top­ics

Jump to Next Lec­ture Topic

News and An­nounce­ments

New (De­cem­ber 20): 435 stu­dents wrote the COMP 2804 final exam. Final exam grades and the class grade dis­tri­b­u­tions for all course­work are now vis­i­ble in Bright­space.

TAs con­tinue to mark As­sign­ment 4, but I went ahead and com­puted a ten­ta­tive grade dis­tri­b­u­tion by fill­ing in each stu­dent's miss­ing as­sign­ment grades with the av­er­age grade from their com­pleted as­sign­ments.  This is what the re­sult­ing grade dis­tri­b­u­tion looks like:

435 final grades
25th percentile: 63.1 (C)
Median grade: 70.6 (B-)
75th percentile: 79.1 (A-)
Average grade: 70.7 (B-)
F   15 ===============
D-  10 ==========
D   15 ===============
D+  21 =====================
C-  39 =======================================
C   43 ===========================================
C+  46 ==============================================
B-  47 ===============================================
B   51 ===================================================
B+  39 =======================================
A-  57 =========================================================
A   30 ==============================
A+  22 ======================

I don't ex­pect this dis­tri­b­u­tion to change much when the TAs are done with As­sign­ment 4.

Let­ter con­ver­sions are done using the most gen­er­ous in­ter­pre­ta­tion of Car­leton's per­cent­age to let­ter con­ver­sion scheme

Un­like many of your pro­fes­sors, I will post the com­plete data used to com­pute your let­ter grade on Bright­space once I have it all.  This means some of you will see that your per­cent­age grade was a very close to a higher let­ter grade.  For ex­am­ple, you may have got­ten 78.8% (a B+) and see that you were only 0.2% away from an A-.  I won't re­spond to re­quests ask­ing to round these up. As I said, I'm al­ready using the most gen­er­ous in­ter­pre­ta­tion of Car­leton's con­ver­sion scheme (which ac­tu­ally states that 80-84 is the range for A-). 

Happy Hol­i­days!

New (Sep 13): This course has course dis­cord to com­mu­ni­cate with other stu­dents.

Learn­ing Modal­ity

Classes will take place in a class­room some­where on cam­pus that I am not al­lowed to dis­close. Find the lo­ca­tion by log­ging into Car­leton Cen­tral. The mid-term exam will take place in class. The final exam is a for­mally sched­uled exam man­aged by exam ser­vices.

Below, you will find a class by class list of lec­ture top­ics along with videos of each topic recorded in Fall 2020. These can be a use­ful re­source if, for some rea­son, you miss some classes.

Course Ob­jec­tives

A sec­ond course that is de­signed to give stu­dents a basic un­der­stand­ing of Dis­crete Math­e­mat­ics and its role in Com­puter Sci­ence. Com­put­ers han­dle dis­crete data rather than con­tin­u­ous data. The course pre­sents an overview of some of the major the­o­ret­i­cal con­cepts needed to an­a­lyze this type of data.

Of­fice Hours Sched­ule

We have lots of of­fice hours dur­ing which TAs or my­self can help you with study­ing course ma­te­r­ial and offer you guid­ance for as­sign­ments.

Im­por­tant Dates

Due dates for as­sign­ments and the date of the midterm exam are in the Course Out­line

As­sign­ments

As­sign­ments will be posted here as they be­come avail­able. As­sign­ments are to be sub­mit­ted using Bright­space.

If you would like to see some sam­ple so­lu­tions from a pre­vi­ous of­fer­ing of this course, you can find some here. If you are look­ing for an ex­am­ple of ex­cel­lent as­sign­ment so­lu­tions, here are the sam­ple so­lu­tions (pdf) (tex) for As­sign­ment 1 Fall 2019

Please note the fol­low­ing rules and re­quire­ments about as­sign­ments:

Exams

The midterm exam will take place in class. The final exam will be a for­mally sched­uled exam han­dled by ex­am­i­na­tion ser­vices.

Here are exams for pre­vi­ous of­fer­ings of this course (for study pur­poses).

Here you can use use pre­vi­ous exams as prac­tice exams.

Grad­ing Scheme

This course will use the fol­low­ing grad­ing scheme.

   
As­sign­ments 25%
Mid-term exam 25%
Final exam 50%

If you fail to sub­mit an as­sign­ment on time but are able to pro­vide me with a valid rea­son then I will shift the weight of the missed as­sign­ment onto the re­main­ing as­sign­ments. If you fail to sub­mit all of the as­sign­ments with a valid rea­son for each one them then I will shift their weight onto the final exam. If you fail to at­tend the midterm exam and pro­vide me with a valid rea­son then I will shift the weight of the midterm exam onto the final exam.

Text­books

We will be using the fol­low­ing free (libre and gratis) text­books. The first one is the pri­mary text­book for this course. The sec­ond con­tains sup­ple­men­tary and back­ground ma­te­r­ial:

Lec­ture Top­ics

You should al­ready be fa­mil­iar with the fol­low­ing top­ics from COMP 1805: basic log­i­cal rea­son­ing, sets and func­tions, proof strate­gies (di­rect proof, proof by con­tra­dic­tion, proof by in­duc­tion), Sigma-no­ta­tion for sum­ma­tions, basic graph the­ory, Big-Oh, Big-Omega, Big-Theta. You may take a look at Chap­ter 2 of the text­book and do some of the ex­er­cises at the end of that chap­ter. Re­view the rel­e­vant parts of Lehman et al if you are still strug­gling.

Note: Most of the videos below are from the Fall 2020 of­fer­ing of this course and are pro­vided as a tool for re­view­ing things that will be taught in class. The lec­ture-by-lec­ture sched­ule may be changed as the se­mes­ter pro­gresses and (late in the se­mes­ter) we may cover some top­ics not cov­ered in the videos below.