CPSC 229 | Foundations of Computation | Spring 2024 |
Reading is to be done for the class period where it is listed; unless stated otherwise, sections refer to the textbook.
Dates for things in light gray are for planning purposes and may be adjusted slightly. Homework will typically be assigned and due on Wednesdays, except when there is an exam.
Assignments | ||
---|---|---|
Week 1: 1/22-1/26Topics: course introduction; propositional logic, boolean algebra |
||
Mon |
Slides and Examples:
|
introductory survey (on Canvas, under "Quizzes") |
Wed |
Reading:
|
homework 1 due Wed 1/31 |
Fri |
Reading:
|
|
Week 2: 1/29-2/2Topics: logic circuits, predicates and quantifiers, deduction |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
homework 2 due Wed 2/7 |
Fri |
Reading:
|
|
Week 3: 2/5-2/9Topics: proof, proof by contradiction, mathematical induction |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
homework 3 due Wed 2/14 |
Fri |
Reading:
|
|
Week 4: 2/12-2/16Topics: applications of proof by induction; sets |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
homework 4 due Wed 2/21 |
Fri |
Reading:
|
|
Week 5: 2/19-2/23Topics: bitwise operators, flags, and masks; functions; counting past infinity |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
homework 5 (corrected!) due Wed 2/28 |
Fri |
Reading:
|
|
Week 6: 2/26-3/1Topics: languages and regular expressions |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
|
Fri |
Slides and Examples:
|
exam 1 review survey (on Canvas, under "Quizzes") due Thu 2/29 10pm |
Week 7: 3/4-3/8Topics: regular expressions, finite state automata |
||
Mon |
exam 1
|
|
Wed |
Slides and Examples:
|
homework 6 due Wed 3/13 (data.txt) |
Fri |
Reading:
|
|
Week 8: 3/11-3/15Topics: nondeterministic finite-state automata |
||
Mon |
Reading:
|
|
Wed | *** meet in Rosenberg 009 (make sure you remember your Linux username and password - let me know by Tuesday night if you need a password reset) | homework 7 and regex lab due Wed 3/27 |
Fri | *** meet in Rosenberg 009 | |
Spring Break: 3/16-3/24 |
||
Week 9: 3/25-3/29Topics: nondeterministic finite-state automata; finite-state automata and regular languages; non-regular languages |
||
Mon |
Slides and Examples:
|
|
Wed |
Reading:
|
homework 8 due Wed 4/3 |
Fri |
Reading:
|
|
Week 10: 4/1-4/5Topics: context-free grammars; application: BNF; parsing and parse trees |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
homework 9 due Wed 4/10 |
Fri |
Reading:
|
|
Week 11: 4/8-4/12Topics: parsing and parse trees; pushdown automata |
||
Mon |
Slides and Examples:
|
|
Wed |
Reading:
|
|
Fri |
Slides and Examples:
|
exam 1 redo due Fri 4/12 (corrections and redo information) |
Week 12: 4/15-4/19Topics: general grammars |
||
Mon |
exam 2
|
|
Wed |
Reading:
|
homework 10 due Fri 4/26 |
Fri |
Slides and Examples:
|
|
Week 13: 4/22-4/26Topics: Turing machines |
||
Mon |
Reading:
|
|
Wed | HWS Day (no class) | |
Fri |
Slides and Examples:
|
homework 11 due Fri 5/3 |
Week 14: 4/29-5/3Topics: computability and the limits of computation |
||
Mon |
Reading:
|
|
Wed |
Reading:
|
|
Fri | Slides and Examples: | |
Reading Period: 5/4-5/6 |
||
Sat | ||
Sun | ||
Mon |
office hours 10am-1pm
Examples: |
|
Final Exams: 5/7-5/10 |
exam 2 redo due Tue 5/7 (redo information and comments) |
|
Tue |
office hours 10am-1pm final exam
5/7 1:30-4:30pm |
end-of-semester deadline no work accepted after 5/7 4:30pm |
Wed | ||
Thu | ||
Fri |