Processing math: 100%

COS 341: Computability and Complexity

Fall 2024

[ Current Week | Syllabus | LaTeX resources ]

Basic Information

Calendar

Schedule to be updated throughout the term; topics and exam dates are tentative and subject to change.

Before class, please read the textbook section(s) to be covered. After class, start doing homework as soon as possible.

WeekMondayWednesdayFriday
Unit 1: automata theory
11. 09/04 W

introduction

an undecidable problem

2. 09/06 F

0.1–4 computational problem

23. 09/09 M

1.1 deterministic finite automata

4. 09/11 W

regular operations

5. 09/13 F

1.2 nondeterminism

36. 09/16 M

DFA-NFA equivalence

ε-transitions

7. 09/18 W

regular operations (reprise)

1.3 regular expressions

- crosswords

8. 09/20 F

DFA-regexp equivalence

49. 09/23 M

1.4 nonregular languages

10. 09/25 W

pumping lemma

11. 09/27 F

2.1 context-free grammars

512. 09/30 M

2.2 pushdown automata

13. 10/02 W

context-free languages wrap-up

(fall break)
Unit 2: computability theory
614. 10/07 M

exam1

15. 10/09 W

3.1 Turing machines

- Turing machine simulator

16. 10/11 F

recursive languages

- examples

717. 10/14 M

recursively enumerable languages

- closure

18. 10/16 W

3.2 TM variants

- nondeterminism

19. 10/18 F

3.3 encoding

4.2 diagonalization

820. 10/21 M

5.1 undecidable problems

- halting problem

- universality

21. 10/23 W

reductions

- acceptance problem

22. 10/25 F

more reductions

- emptiness problem

923. 10/28 M

3.2 enumerators

(advising day)24. 11/01 F

3.3 Church–Turing thesis

Unit 3: complexity theory
1025. 11/04 M

7.1 measuring complexity

26. 11/06 W

undecidability discussion

27. 11/08 F

exam2

1128. 11/11 M

7.2 P

29. 11/13 W

7.3 NP

30. 11/15 F

verifiers

1231. 11/18 M

7.4 Karp reductions

32. 11/20 W

NP-completeness

33. 11/22 F

Tilings

1334. 11/25 M

some NP-complete problems

(Thanksgiving)(Thanksgiving)
1435. 12/02 M

Cook–Levin theorem

36. 12/04 W

SAT variants

37. 12/06 F

7.5 more NP-complete problems

1538. 12/09 M

even more NP-complete problems

39. 12/11 W

(catch-up)

40. 12/13 F

(wrap-up)

Final Exam: 12/16 Monday 14:45–16:45

Course Information

Objectives

By the time you've completed the course, you will be able to: This course focuses on big, abstract ideas in computer science, and it will be quite mathematical in flavour. Whether or not you are interested in computer science theory, this class should help you see why theoretical results have profound impacts for computer science as a whole.

Grading

Your grade will be determined by a weighted arithmetic mean of various components with weights listed in the table on the right.
componentweight
Participation±2%
Homework and projects49%
Exams and quizzes49%
The total score will be converted to a letter grade whose lower bounds are: 93% A, 90% A-, 87% B+, 83% B, 80% B-, 77% C+, 72% C, 69% C-, 66% D+, 60% D, 0% F.

Note that there is no preset curve of how many of each letter grade will be given. If you all do A-level work, you will each get an A. As such, you are encouraged to help each other in the pursuit of perfection.

In many courses I intentionally make one exam harder than others, which gives me information (in a mathematical sense) in separating an A performance from an A- performance. Typically, I will let you know and adjust that exam's scores upward. What this means is that you should NOT care about how hard an exam is. If you do A-level work, you will get an A, regardless of the raw numerical score prior to adjustment.

Besides possibly adjusting scores upward for difficult exams, I also reserve the right to lower the grade cutoffs. Both of these help you. I will not hurt you by adjusting your exam scores downward or increasing the grade cutoffs.

Requirements

Whatever you do, work at it with all your heart, as working for the Lord, not for human masters, since you know that you will receive an inheritance from the Lord as a reward. It is the Lord Christ you are serving.
- Colossians 3:23–24 NIV
I will be trying to make these verses true for me as I work with you throughout this course, and I hope that you will, too.

Attendance and participation. I expect you to attend class. You may not notice me taking attendance during class meetings, but I will notice if you are not in class. Occasional absences will not impact your grade because what I look for is not mere attendance, but engagement and participation.

Indeed, coming to class is not just about showing up; it is also about being fully engaged in the learning experience. If you have a question, others in the class may also be wondering the same thing. So, please speak up and ask questions anytime you need to. Not only will you be helping yourself, but also you will be helping your peers. Attending office hours is another great opportunity to ask questions.

Be mindful of others. Refrain from using mobile phones or laptops for activities unrelated to the learning process. If you prefer to use laptops to take notes, please kindly sit in the back, as the screen may distract others. There is research that suggests taking notes by hand is better for long-term retention (P. A. Mueller and D. M. Oppenheimer, The pen is mightier than the keyboard, Psychological Science 25 (2014), 1159–1168).

Silence and put away mobile phones and do not use laptops for anything other than class-related activities.

It is my sincere hope that every one of you get all the points for attendance and participation.

Reading. Read the book! You should prepare for class by looking over the sections we will cover. Your aim is not to understand every detail, but to get a sense of where we are headed. Even a few minutes of pre-reading can help with class time. We will not have time to cover every single detail in class. As such, after class, read the sections carefully again to fill in the gaps. Keep up with the reading: reading large sections right before an exam is less effective.

Homework. Homework will be assigned most days. The goal of the homework is to give you an opportunity to continuously engage directly with the material. Some of the homework questions are meant to be challenging and to stretch you; simply put, I believe that the homework is where you will do the vast majority of your learning in this class. Grapple with the questions; talk to classmates about solution strategies if you are feeling stuck; do the homework.

Projects. There may be occasionall small programming projects as part of the normal homework schedule. There may be a more substantial term project, with multiple mileposts due throughout the term to help keep you on pace. Late work policy for project mileposts will be clarified when the project is assigned.

Exams. There are several in-class midterm exams (see calendar for a tentative schedule). Subsequent exams will mainly focus on the material covered since the previous exam, but can include previous material too.

There are no make-up exams except in circumstances recognized by the instructor as beyond the control of the student. To receive this consideration, the instructor must be notified of the problem before the exam unless this is impossible, in which case as soon as possible.

Time outside of class. I expect a typical student to spend about two to three hours outside of class for each hour in class. Some students need to spend a bit more than that (which is okay). If you are spending more than 14 hours per week on this course outside of class time, please come talk to me so we can find ways to help you learn the material without spending so much time.

Illness. You should make every effort to attend class when you are healthy. If you become ill, for your well-being and the well-being of the rest of the class, you should not come to class. (Nor should you show up to my office with your germs!) Yes, this sounds like common sense, but it is tempting to try and power through as normal so as not to fall behind. If you become ill, or know that you will need to miss class for some reason, please contact me as soon as you are able, and we will work together to plan how you will keep up and/or make up any missed work.

Learning integrity.

Search me, O God, and know my heart;
Try me, and know my anxieties;
And see if there is any wicked way in me,
And lead me in the way everlasting.
- Psalm 139:23–24 NKJV
Collaborative work is an integral part of many successful ventures. As such, I expect that you should collaborate with your classmates a lot during your time in this course. However, it is important to understand that there is a big difference between thinking about and solving a problem as part of a group (which is good, both educationally and morally) and copying an answer or letting someone else copy your answer (which is bad, educationally and morally, and has punitive consequences).

In short, I trust you to maintain the utmost level of academic integrity in this course. Please do not break this trust; if you do, there will be repercussions. The formal policy below lays this out explicitly, and supplements Bethel's academic honesty policy.

Collaboration policy.

Getting Help

If you need help there are multitude of resources you can use:

Bethel Policies

The following are policies that apply to every course at Bethel.

Academic honesty policy. Violation of honesty standards can result in denial of credit (U or F) in a course, as well as dismissal from the university. Penalties are given at the discretion of the faculty member, and offenders will be referred to the associate provost of the College of Arts & Sciences. (See Bethel University's full policy on Academic Honesty in the catalog.)

Accessibility statement. Bethel University is committed to accessibility for students with disabilities and the Office of Accessibility Resources & Services (OARS) is a resource to ensure students experience access. Reasonable accommodations are approved after an interactive process with the student and OARS. The instructor will provide accommodations, but the student is required to initiate the process.

Multilingual learners support.

Concerns and appeals. If you have any concerns regarding the course, your grades, or the instructor, see the instructor first. If needed, see Bethel's academic appeals policy.