Overview
CSCI101 is an introduction to languages and the theory of computation. The course investigates models of computation such as finite-state automata and Turing machines, formal languages such as context free grammars, and computability. Connections to applications such as lexical analysis and parsing will be explored. Along the way there will be proof-writing and coding.
The prerequisite for the class is CSCI054. CSCI062 is a co-requisite. You should not be taking (will not receive credit for) this class if you have already taken CSCI081. Send the professors (Prof. Chen and Prof. Zlatin) an email if you have questions about these requirements.
Resources
The professors for this class are Professor Chen and Professor Zlatin. We're happy to talk about the class, about theory, or about CS more generally. Our office hours are Mon 10-11am (Zlatin), Tues 1:30-3pm (Chen), Thu 2:40-4pm (Zlatin), and Fri 1:30-2:30 (Chen). We are also both happy to meet at other times by appointment. Prof. Chen is additionally available for occasional small group lunches/dinners (the sign-up sheet is on her office door) if you'd just like to chat sometime.
The mentors/TAs for the class are: Sophy Figaroa, Steven Kim, Kalyani Nair, Lawrence Stampino-Strain, and Ella Zhu. In general the mentor hours will be on the 1st or 2nd floor of Edmunds at times TBD. Please expect occasional changes and cancellations; these will be posted on Slack.
We'll use Canvas for distributing course materials. We'll use Slack for announcements and informal discussion. And We'll use Gradescope for submitting and returning assignments. Let us know if you run into issues accessing any of these.
The textbook for the class is:
In addition, since you'll be writing code in Haskell, it's recommended that you have access to something such as the following:
You are encouraged to look for and to use other resources to learn more about the ideas and concepts (you may not, however, look directly for answers to individual questions on the weekly problem sets!). Some others that people have found useful are:
If you find anything particularly helpful you are encouraged to share it with the class on Slack!If you need accommodations please contact the Disability Coordinator on your home campus. The process for Pomona students is available here.
More generally, life happens to all of us and we know there may be times when staying on top of the workload in this class is going to feel like too much on top of everything else that you're managing. If that happens, please come talk to a professor so that we're aware and can work with you to try to figure out a plan. Please keep in touch! (Note: we encourage you to come talk to us even if there isn't anything in particular that you feel you need to discuss!)
Logistics
The basic flow each week will be as follows:
The lectures will be in Edmunds 101.
You will be assigned to a small group of approximately 5 students the first week of class. Your group will work together for the entire semester; your first task will be to find an hour when all of you can meet either Thursday or Friday. The plan is for each group to have an assigned TA who will attend the meetings to answer questions, talk through concepts, etc. Each week there will be a low-stakes assignment to work on during your group meeting; this should be turned in by 10pm Friday evening on Gradescope. There may occasionally be anonymous surveys for you to give feedback on how your group is doing, but please feel free to bring up concerns with either of the professors at any time.
In addition, there will be a weekly problem set. The assignments will mostly be done and submitted in pairs and will also be submitted on Gradescope. The pairs will be by assignment for the first few weeks and then at your discretion after that. Problems on the assignment will ask you to apply concepts in new ways. You may discuss the problems with anyone else currently taking cs101 (or with the TAs or myself), but each pair must write up their own solution without referring to any written/typed/etc materials that may have been generated during such discussion. In addition, you must acknowledge who you worked with and what their contribution was. Submitting an answer found on the internet or generated by an AI-powered system such as ChatGPT is not allowed. Unless stated otherwise, problem sets are due by 10pm on the due date.
Finally there will be a written, in-class checkpoint approximately every 5 weeks.
The breakdown of grades will be as follows:
Schedule
This is a high-level outline of the planned schedule. Note that the calendar is subject to change. For the readings "ACC" refers to the book "Automata, Computability, and Complexity" by Elaine Rich.
Unless stated otherwise, all deadlines are at 10pm on the given date.
Week | Day | Date | Topic | Reading | Due |
---|---|---|---|---|---|
1 | M | 8/25 | (review) sets, logic, function, relations, proofs; Haskell datatypes | ACC: Ap A | intro survey due 5pm on 8/23 |
W | 8/27 | basic definitions, languages, FSM | ACC: Ch 5.1 | ||
F | 8/29 | week01-group | |||
Su | 8/31 | week01-ps (coding) | |||
2 | M | 9/1 | *** no class - Labor Day *** | ||
W | 9/3 | regular languages, constructing FSM, proving correctness | ACC: Ch 5.1-3 | ||
F | 9/5 | week02-group | |||
Su | 9/7 | week02-ps (written, coding) | |||
3 | M | 9/8 | closure properties of regular languages, NDFSM | ACC: Ch 5.4 | |
W | 9/10 | Myhill-Nerode, minimization | ACC: Ch 5.7 | ||
F | 9/12 | week03-group | |||
Su | 9/14 | week03-ps | |||
4 | M | 9/15 | regular grammars, expressions | ACC: Ch 8 | |
W | 9/17 | non-regular languages and the pumping lemma | ACC: Ch 6, 7 | ||
F | 9/19 | week04-group | |||
Su | 9/21 | week04-ps | |||
5 | M | 9/22 | Haskell data types, modelling DFSM, lexers | ||
W | 9/24 | review | |||
F | 9/27 | week05-group | |||
6 | M | 9/29 | *** checkpoint 1 in class *** | ||
W | 10/1 | pushdown automata | ACC: Ch 12.1-3 | ||
F | 10/3 | week06-group | |||
Su | 10/5 | week06-ps (written, coding) | |||
7 | M | 10/6 | CFGs | ACC: Ch 11.1-8 | |
W | 10/8 | CFGs, CFLs, PDAs; ambiguity and parse trees | ACC: Ch 11.6-7, 12.3-6 | ||
F | 10/10 | week07-group | |||
8 | M | 10/13 | *** no class - Fall break *** | ||
W | 10/15 | non-CFLs, pumping lemma for CFLs | ACC: Ch 13.1-4 | ||
F | 10/17 | week08-group | |||
Su | 10/19 | week08-ps | |||
9 | M | 10/20 | closure for CFLs, algorithms for CFLs | ACC: Ch 14 | |
W | 10/22 | recap on regular and CF languages, lexers and parsers, LL(k) grammars | parsing handout | ||
F | 10/24 | week09-group | |||
Su | 10/26 | week09-ps | |||
10 | M | 10/27 | parsers: recognizing LL(1) grammars | parsing handout | |
W | 10/29 | parsing big picture, review | |||
F | 10/31 | week10-group | |||
11 | M | 11/3 | *** checkpoint 2 in class *** | ||
W | 11/5 | Turing machines | ACC: Ch 17.1-3 | ||
F | 11/7 | week11-group | |||
Su | 11/9 | week11-ps (written, coding) | |||
12 | M | 11/10 | Turing machines variations, UTM | ||
W | 11/12 | universal Turing machines, halting problem | ACC: Ch 17.3, 17.6-7 | ||
F | 11/14 | week12-group | |||
Su | 11/16 | week12-ps | |||
13 | M | 11/17 | reductions; decidable, semi-decidable, undecidable | ACC: Ch 17.6-7, 19 | |
W | 11/19 | more reductions: not decidable, not semi-decidable | ACC: Ch 19, 21 | ||
F | 11/21 | week13-group | |||
S | 11/23 | week13-ps | |||
14 | M | 11/24 | more reductions, Rice's theorem, Church-Turing | ACC: Ch 21 | |
W | 11/26 | *** no class - Thanksgiving *** | |||
15 | M | 12/1 | course evaluations, review | ACC: Ch 21.1-7, 18 | week14-ps |
W | 12/4 | *** checkpoint 3 in class *** |