CSC236, Fall 2018

Welcome to CSC236, Introduction to the Theory of Computation. In this course you will augment your intuition as a programmer with analytical skills and proof. You are responsible for making sure you have the necessary prerequisites for this course.

Extra help: Many students find this course challenging, so you are encouraged to make use of lectures, tutorials, office hours, and the DCS Help Centre to help you master course material. Every Monday through Friday, 2–6 p.m., the CSC Help Centre awaits your questions.

Below you'll find a calendar with entries for all significant course events

Week:ThursdayFridayMondayTuesdayWednesday
Week #1
introduction, simple induction

input:

course notes section 1.2

output:

assignment #1 due Sep 28

sample solution to assignment #1

Sep 6

Lecture 6:10–8:00 SF1101

annotated slides

no tutorial first week

Sep 7

no tutorial first week

Sep 10

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Sep 11

Sep 12

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #2
complete induction

input:

course notes section 1.3

output:

tutorial handout

tutorial rooms

sample solutions

Sep 13

Lecture 6:10–8:00 SF1101

annotated slides

Tutorial 8:10–9:00 p.m., handout

tutorial rooms

sample solutions

Sep 14

Tutorial 11:10–noon, handout

Tutorial 12:10–1 p.m., handout

tutorial rooms

sample solutions

Sep 17

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Sep 18

Sep 19

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #3
well-ordering, structural induction

input:

course notes sections 4.1, 4.2

Rosen's Discrete Mathematics... lots of induction examples in Chapter 5.

output:

tutorial handout

Sep 20

Lecture 6:10–8:00 SF1101

annotated slides

tutorial handout

sample solutions

Sep 21

tutorial handout

sample solutions

Sep 24

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Sep 25

Sep 26

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #4
recurrences

input:

course notes section 3.1

output:

tutorial handout

Sep 27

Lecture 6:10–8:00 SF1101

annotated slides

tutorial handout

sample solution

Sep 28

Assignment #1 handout

sample assignment solution

tutorial handout

sample solution

Oct 1

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Oct 2

Oct 3

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #5
complexity binary search

input:

course notes section 3.2

2016 test

2014 test

2012 test

output:

Oct 4

term test #1 6:10--7p.m.

surnames A-Downie: BA2195

surnames Du-Li: BA1240

surnames Lin-Z: SF1101

Lecture 7:20--8:20 p.m.

lecture slides

annotated slides

Oct 5

term test #1 during tutorial time

11:10--noon

BA3116 -> BA3116

BA1230 -> BA1230

BA1240 -> BA1240

BA2185 -> LM161 [changed!]

noon--1:00

AP120 -> BA1180

BA2135 -> BA1180

AB114 -> LM161 [changed!]

BA2139 -> BA2139

test sample solution

Oct 8

Thanksgiving, university closed

Oct 9

Oct 10

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #6
mergesort, divide and conquer, master theorem

input:

course notes section 3.2

output:

Assignment #2 handout

Oct 11

Lecture 6:10–8:00 SF1101

annotated slides

tutorial handout

sample solution

Oct 12

tutorial handout

sample solution

Oct 15

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Oct 16

Oct 17

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #7
use master theorem / recursive correctness

input:

course notes section 2.7

output:

tutorial handout

Oct 18

Lecture 6:10–8:00 SF1101

annotated slides

tutorial handout

sample solution

Oct 19

tutorial handout

sample solution

Oct 22

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Oct 23

Oct 24

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #8
iterative correctness

input:

course notes section 2.4, 2.5

output:

tutorial handout

Oct 25

Lecture 6:10–8:00 SF1101

annotated slides

tutorial exercise

sample solution

Oct 26

tutorial exercise

sample solution

Oct 29

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Oct 30

Oct 31

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #9
introduce Finite State Automata (FSAs)

input:

course notes section 7.1, 7.2

2016 test #2

2014 test #2

2014 test sample solution

2012 test #2

output:

Nov 1

Lecture 6:10–8:00 SF1101

annotated slides

tutorial exercise

sample solution

Nov 2

Assignment #2 due at 3 p.m.

sample A2 solution

tutorial exercise

sample solution

Nov 5

reading week :)

Nov 6

reading week :)

Nov 7

reading week :)

Week #9
introduce Finite State Automata (FSAs)

input:

course notes section 7.1, 7.2

2016 test #2

2016 test #2, sample solution

2014 test #2

2014 test sample solution

2012 test #2

output:

Nov 8

reading week :)

Nov 9

reading week :)

Nov 12

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Nov 13

Nov 14

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #10
FSAs and regular languages

input:

course notes section 7.3. 7.4

output:

Nov 15

term test #2, 6:10 to 7:00, EX200

sample test solution

Lecture 7:20--9:00

annotated slides

Nov 16

term test #2, during tutorial time

sample test solution

11:10--noon

BA3116 -> BA3116

BA1230 -> BA1230

BA1240 -> BA1240

BA2185 -> LM161

noon--1:00

AP120 -> BA1180

BA2135 -> BA1180

AB114 -> LM161

BA2139 -> BA2139

Nov 19

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Nov 20

Nov 21

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

Week #11
properties, equivalence: FSAs/regexes

input:

course notes section 7.5. 7.6

output:

Nov 22

Lecture 6:10–8:00 SF1101

annotated slides

tutorial handout

sample solution

Nov 23

tutorial handout

sample solution

Nov 26

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slidesCSSU outreach survey

Nov 27

Nov 28

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slidesCSSU outreach survey

Week #12
regular languages, non-regular languages

input:

course notes section 7.7

output:

Nov 29

Lecture 6:10–8:00 SF1101

annotated slides

CSSU outreach survey

tutorial handout

sample solution

Nov 30

assignment #3 handout

sample a3 solution

tutorial handout

sample solution

Dec 3

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

CSSU outreach survey

Dec 4

Dec 5

Lecture 11:10–noon LM161

Lecture 12:10–1:00 LM161

annotated slides

first page of exam...

CSSU outreach survey