## Introduction to Theory of Computation (CSCI 3434/5444, Fall 2015)Course Information
Class Timings: TTh (5:00 - 6:15 PM) Class Location: ECCR 265. Instructor: `Sriram Sankaranarayanan`Pre-Requisites: Calculus I,II, Data Structures (CSCI 2270), Discrete Structures (CSCI 2824) and Algorithms (CSCI 3104). Office Hours: We will have the following hours: Agile office hours before class on TTh. Instructor will arrive half an hour early and stay back to answer questions. Tuesdays 1:30 - 2:30 PM and Thursdays 2 - 3PM.
News
`Oct 1st, 2015`First in-class quiz.`Aug 17, 2015`Please signup on moodle.`Aug 15, 2015`Course page is live!
## AssignmentsAll assignments will be posted on moodle. Your identitykey is needed for signing in. ## Lecture Schedule and NotesThe schedule of lectures shown below is subject to change. We will post lecture notes for most topics and videos for selected topics. We will strive to post all material well in advance. Please take a look through them, and come prepared for class.
## Course ObjectivesThe course aims to provide an introduction to the mathematical theory of
computation: a subject that current CS undergraduates do not
Understand models of computation including finite state machines, pushdown machines, and Turing machines. Understand applications to pattern matching, parsing, natural language processing and programming languages. Understand the Church-Turing thesis and the existence of undecidable languages. Learn classic results on complexity classes including P and NP. Use reductions to prove NP completeness of problems. Understand why P vs. NP question has remained unresolved for nearly 50 years now!
## Topics CoveredRoughly, we will cover the following topics (some of them may be skipped depending on the time available). Regular Languages. Finite State Machines. Nondeterminism. Regular expressions. Closure properties. Pumping lemma: nonregular languages.
Context Free Languages (CFL). Context Free Grammars (CFG) and derivations. Pushdown automata (PDA): deterministic and nondeterminstic PDAs. Closure Properties. Pumping Lemma for CFLs. Applications (Parsing).
Turing Machines and Computability Theory. Turing Machines and the Church-Turing Thesis. Formal definition of an *algorithm*.Decidability and undecidability: recursive enumerable and recursive languages. Halting problem and reductions. Post's correspondence problem. The classical decision problem ( *entscheidungsproblem*) and decidability of logical theories.Arithmetic heirarchy.
Polynomial Time and Nondeterministic Polynomial Time. The complexity classes P and NP. Polynomial time reductions. Cook-Levin Theorem: NP-completeness of 3-SAT. Reductions to NP complete problems.
Resource Bounded Turing Machines and Complexity Classes. Time and Space bounded machines, complexity classes. The complexity classes: NL, PSPACE, EXPTIME and NEXPTIME. Savtich's and Immermanâ€“SzelepcsĂ©nyi theorems. The polynomial hierarchy.
Advanced Topics: Reactive computation: -automata. Timed and hybrid automata. Quantum computation.
## TextbookWe will primarily use the textbook by Michael Sipser: Sipser Book
Introduction to the Theory of Computation, Michael Sipser. (2nd or 3rd edition). Since we will not be covering deterministic context free languages in this class, the second edition of the book is sufficient for this class. ## Course WorkWe will have weekly assignments that will be based on the assigned reading for each class. ## Pre-Lecture WorkBefore you attend each lecture, we hope that you will spend 10-15 minutes to prepare: Read the required portion of the book (at least skim through the book or notes provided). Watch any videos posted (instructions will be sent via email).
## ForumsWe will set up forums that will allow students to interact with the course staff and with each other. You can participate in the forum and help answer questions posed by your classmates. Doing so counts towards your course participation score. ## Weekly AssignmentsWe will assign weekly homework problem sets. Each problem will be due in a week from the date assigned. The problem sets will be posted on-line and will be of two types: Simple multiple choice questions that will be autograded. You are allowed unlimited attempts at solving these problems. They are intended to help you learn by testing your concepts.
Written assignment: We will have a few longer, more open ended problems. These have to be solved on paper and turned in at the beginning of the lecture on the due date.
The score for each week will include 25 `of the contribution from online assignment and 75`from the written (turned in) assignment.
Written Assignment Submission and Late Policy
Weekly assignments will normally be due on a thursday. To be flexible, we will omit ## ExaminationsThe course will have a quiz every 4 weeks. The dates for the quizzes will be posted well in advance. Each quiz will be 30 minutes long, and will focus on the material corresponding to a set of lectures. No alternate exams will be offered unless there is a very compelling and documented personal or medical emergency. If you need special accommodations of any nature, you are expected to inform the instructor well in advance. The lowest quiz will be dropped for the purposes of computing the grade.
It is compulsory to attend the final exam and score at least a 25% to obtain a pass in this course.
## Course ParticipationClass participation is awarded based mainly on your class preparation, as judged by your general attendance, classroom behavior, interaction in class, willingness to answer questions in class and at the on-line forums, and demonstrating knowledge of weekly reading during problem solving time. ## GradingThe overall grade will be based on a cumulative score computed by adding together the grades from: The weekly assignments (with least two scores omitted), The programming assignments (ideally, we hope to have two assignments over the semester), The grades from the quizzes (with least grade omitted). The *final exam*.Class participation: you are expected to attend class and in class you are expected to interact with the instructor.
Overall, the contributions to the final grades will be: Assignments Weekly (35% of the grade). In-Class Quizzes (30% of the grade cumulatively). Final exam (25% of the grade). Participation (10% of the grade).
The instructor may make minor modifications to this breakup as the semester progresses.
The final grades will be ## Collaboration PolicyThe collaboration policy is rather simple: *Inspiration is free*: you may discuss homework assignments with*anyone*. You are especially encouraged to discuss solutions with your instructor and your classmates.*Plagiarism is forbidden*: the assignments that you turn in should be written entirely on your own. While writing the assignment you are not allowed to consult any source other than the textbook(s) for the class, your own class notes or the lecture notes for the class. Copying/consulting from the solution of another classmate constitutes a violation of the course's collaboration policy and the honor code.*Do not search for a solution on-line*: You may**not**actively search for a solution to the problem from the internet. This includes posting to newsgroup or asking experts at other universities.*When in doubt, ask*: If you have doubts about this policy or would like to discuss specific cases, please ask the instructor.
## Honor CodeWe will expect strict adherence to our our
honor code. Please read and
understand the code thoroughly. If in doubt, ask the instructor. At
the end of the day, honor code violators hurt |