next up previous
Next: Required Reading


CSE396 Course Information, Spring 2015

Instructor:

Dr. Kenneth W. Regan, 326 Davis Hall, 645-4738, regan@buffalo.edu

TAs:

Andrew Hughes, ahughes6@buffalo.edu
Michael Wehar, mwehar@buffalo.edu

Office Hours:

Printed Syllabus

Lectures and Recitations:

(LEC)
TuTh 11:00--12:20pm in Davis 101.
(R1)
Mondays 8:00am--8:50am, in Cooke 127A
(R2)
Mondays 4:00--4:50pm, in Cooke 127A
(R3)
Thursdays 2:00--2:50pm, in Norton 214.
(R4)
Tuesdays 10:00--10:50am, room TBA.
Recitations do not meet in Week 1.

Examinations:




Piazza page

Some Notes Opening Lecture Overview


Nature and Purposes of the Course

The first main objective of the course is to convey those major concepts and results in the theory of computation that guide our thinking about the power of computers and the problems we can solve with them. This includes the entire historical origin of the field in the work of Alan M. Turing, John von Neumann, and Stephen C. Kleene. Finite automata, regular expressions, context-free (and other) grammars, pushdown automata, and idealized programs (if not the Turing machine, think of the Java Virtual Machine) are tools of everyday computing practice. Computational complexity theory asks the fundamental question of how much time, memory, and other computational resources computers need to solve certain problems, and today is relied upon for Internet security.

A second main objective is not as "concrete" as the above-listed syllabus material, but is just as important. Computers are by-nature entirely formal entities---they do precisely what is prescribed in programming languages that are ultimately formal and mathematical. Not just to reason about them, but even to communicate effectively in the field and on the job, one must be able to state assertions precisely and design prototypes concisely. This requires fluency in the underlying mathematical language used to describe problems, computations, and objectives. This course gives valuable training in formal modes of reasoning, analysis, and presentation.



Extra Resources (some may be used officially)

Setup instructions for the "Turing Kit" DFA/TM simulator (optional).

Week 2-or-3 recitation notes: page 1, page 2, page 3.

ASCII text pseudocode for the FA-to-regexp algorithm, expressed using a matrix of regular expressions.

Supplementary lecture notes on the Myhill-Nerode Theorem. Note too that this is covered in the Chapter~1 problems section, and the 2nd.\ ed.\ of Sipser gives the proof (both directions) in its answers section.

Scans of handwritten handout on induction proofs and context-free grammars, featuring "Structural Induction": page 1, page 2.

Supplementary handout on Chomsky normal form conversion, with a worked-out example. (This is from the mid-1990s with Martin's text---the notation is different from lecture but the process is the same.)