Welcome to CSE 105! This course will help you answer fundamental questions about computing:
What problems are computers capable of solving?
What resources are needed to solve a problem?
Are some problems harder than others?
In this course, we will explore what it means to be "computable". We begin with a very simple model of computation, and work our way to the most powerful, the Turing machine, named after Alan Turing, who formalized the notion of "algorithm" in this last model even before there were any physical computers. You'll also learn about the relationship of these models to some essential tools in a computer scientist's toolkit, such as regular expressions and context-free grammars. Finally, you'll develop your technical communication skills in writing formal arguments and proofs.
Michael Sipser, Introduction to the Theory of Computation, 3rd ed.
We will use the international edition, which is much more affordable. It is available on Amazon for about $20.
See also the errata for a list of known typos/errors in the book.
Grading
The final grade will be composed as follows:
Final exam: 50% (must pass to pass class)
Midterms: 35% (2 midterms, best of the two)
Homework: 15% (7 homeworks, top 6)
A passing grade in the final exam (at least 50%) is required to pass the class. Letter grades will be assigned as follows:
A range (A-,A,A+): 88.0% - 100%
B range (B-,B,B+): 75.0% - 87.9%
C range (C-,C,C+): 60.0% - 74.9%
D: 50.0% - 59.9%
F: below 50.0%
The designation of +/- inside a grade range is based on the instructor discretion, and will depend on the grade distribution as well as your particiaption in class and discussion, coming to office hours, and improvement throughout the class.
Homework
Homework is 15% of the final grade. There will be 7 homeworks, the lowest one will be dropped.
Homework is due on Mondays midnight. Submission is online via Gradescope.
You should already be enrolled; if not, enroll using your @ucsd.edu email and the code GV2RYR.
Instructions:
Homework should be solved in groups of 4-5 students (you may change groups between homeworks).
Submit only one submission per group.
No collaboration or discussion outside the groups is allowed (but if you are stuck on a problem, please come to discussion or office hours).
Participation
I want to keep this class as interactive as possible, to help you follow lectures better and to help identify mis-understood concepts early on.
Participation will not be formally graded, but it will be considered when assigning the final letter grade (i.e. the +/- designation).
We will use Webclicker to run polls during class. Please sign in using your @ucsd.edu email and use the code PRDKWU to find the class.
Discussion forums
We use Piazza for discussion forums: any questions that you have on the material, and finding other students for group study and homework. Please use public posts for general questions about the class or material, and private posts for personally relevant questions or questions that can reveal a solution or approach to a homework problem.
You should already be enrolled; if not, enroll using your @ucsd.edu email and the code 362j7htu3kk.
Podcast
You can access all previous classes through podcast.
Academic integrity
Your goal is to excel in this class with integrity.
It is an academic violation to:
Ask others to give you homework or test answers
Share your answers on homework or tests
Work on the homework with anyone other than your homework partners
Share answers or notes while taking an exam
Search the internet or other resources not provided for the class for homework solutions
Use ChatGPT or similar services to ask or get answers for homework or exams
This is a partial list of common academic violations in this class.
If you are not sure if some activity constitutes an academic violation or not, please ask us before doing it. We will report academic violations to the academic integrity office. See also the detailed academic integrity policy for more information.