University of Nevada Las Vegas
Howard R. Hughes College of Engineering
Department of Computer Science
My Home Page

Computer Science 456/656
Automata and Formal Languages
Fall 2018

Check the Assignments and Lecture Topics Page frequently.

Instructor:
Dr. Larmore
Office, TBE B378B. Telephone 702-895-1096. Email: larmore "at" egr "dot" unlv "dot" edu
Office Hours:
Subject to change
1:00 - 2:00: Mondays and Wednesdays.
Contacting Me:
You may telephone my office. Please do not leave a telephone message.
It's best to send me email. Be sure to write "CS456" (or "CS656") in the subject field so that I know what the message is about. (I delete lots of messages without reading them, based on the subject fields.)
Please, never try to communicate with me by leaving notes on my door, under my door, or in my mailbox in the department office, as those notes get lost, and I can't retrieve them remotely.
If it is necessary to give me something, please leave it with the department staff, and then send me an email message saying that the item has been left for me.
Graduate Assistant:
Shekhar Singh
Email: shekhar.singh "at" unlv "dot" edu
Office Hours: Tuesdays and Thursdays, 10:00 to 1:00 Room TBE346 or TBE361 (check both)
Office: TBE B346
Days of Instruction:
August 27, 2018 - December 5, 2018.
Time of Instruction:
11:30 - 12:45, Monday and Wednesday.
Place of Instruction:
TBE B174.
Textbook:
Introduction to the Theory of Computation, by Michael Sipser. PWS.
We are using the most recent edition, which is the third. However, if you have the first or second edition, that will be acceptable.
Prerequisites:
CS 302 (Data Structures)
MAT 351 (Discrete Mathematics II).
Click here if you did not take both CSC 302 and MAT 351 at UNLV and receive a grade of "C" or better in each of those two courses.
Graduate Students:
If you want graduate credit, you must enroll in 656, not 456.
Each CSC 656 student must turn in at least one challenge problem and turn it in by the last week of class. CS 456 students are also permitted to work challenge problems, but I will not permit students to improve a poor grade in this manner. The reason for this policy is that I want students who are doing poorly in the course to devote their energy to mastering the regular material.
Compiler Construction:
CS 456/656 is a prerequisite for CS 460/CS 678 (Compiler Construction).
I do not advise you to take that course concurrently.
Written Homework:
will be assigned, collected, and graded. You are permitted to discuss homework.
Examinations:
First Examination: Wednesday, September 19.
Second Examination: Wednesday, October 17
Third Examination: Wednesday, November 14
Final Examination: 10:10 - 12:10 Wednesday December 12
Grading:
Your grade will be based on:
  • The examinations.
  • The homework.
  • The final examination.
Although the homework will take a substantial amount of time to work, and will actually be harder than the examinations, it counts for a smaller part of the grade. The reason for this is that I allow you to work together on homework. If you work the homework regularly, you should do well on the examinations.
Topics to be Covered

This course is arguably the most interesting in the Computer Science core curriculum. During this Semester, you will learn the accurate meanings of a number of terms that you have probably heard. In some cases, you will have to unlearn what you previously believed! For example, you will learn the following concepts:
  • Automaton. The plural of "automaton" is "automata." [Greek]
  • Language. (You may have thought you knew this one!)
  • Grammar. (You probably thought you knew this one, too!)
  • Turing Machine.
  • Universal Turing Machine. A machine that can do anything that any machine in this or any other universe could possibly do. But, rather slowly!
  • NP-complete. Almost everyone in computer science has heard this term, but few can give a precise definition.
  • Undecidability There are problems that are undecidable. There are propositions that are true but for which there is no proof. I don't mean no one has found a proof yet, I mean that no proof can exist at all! There are problems, such as the halting problem, which cannot be solved by any algorithm. No future genius with a finite intellect will ever find one, not in this (or any other) universe, ever, and I will prove that to you.
  • Computable Functions. There are functions which cannot be computed by any machine that could ever be built.
  • P = NP? The most famous open question in all of computer science. What does this mean? What does it mean in practical terms?

Detailed description of the CYK algorithm.

Homework and tests from prior semesters are available.