Tao Jiang (jiangATcs.ucr.edu)
Office hours: TuTh 5-6pm. Office:
Teaching Assistants and office hours:
Ashraful Arefeen (aaref001ATucr.edu).
Office hours: F 12-1pm.
Jacob Fauber (jfaub001ATucr.edu).
Office hours: M 12-1pm.
Reader: Hui Yang (hyan028ATucr.edu).
Office hours: W 3-4pm.
TA/reader office hours are held in
UCR Academic Resources Center (ARC):
It provides peer-led supplemental instruction, tutoring, writing support, and study skills workshops
for students who want to excel in their studies, as well as for students who are having difficulty in their courses.
The reception room for the ARC is located in Room 156 of the Surge Building.
See its homepage for more details.
TuTh 6:40-8:00pm, Bourns Hall A125
Dis 021, W 1:10 - 2pm, Physics 2104
Dis 022, W 4:10 - 5pm, HMNSS 1503
Dis 023, Th 8:10 - 9am, INTN 1006
Introduction to Automata Theory, Languages, and Computation, 3rd Edition by
J. Hopcroft, R. Motwani, and J. Ullman, 2006, Addison-Wesley.
The following webpage maintained by the authors of the textbook
offers many errata and sample solutions to selected exercises
Introduction to Formal Languages and Automata, 6th Edition, 2017 by
Introduction to the Theory of Computation, 3rd Edition, 2013 by
Please download the following lecture notes and bring them to the lectures.
The original lecture notes were provided at the textbook homepage courtesy of
G. Grahne and J. Ullman, although extensive updates have been made by TJ.
Main lecture notes on automata and formal languages.
If you find working with a big set of slides intimidating, I have broken them up roughly
according to our weekly topics below. However, these notes are not as up-to-date as
the main notes. Please consult the tentative time table in the syllabus
for the weekly schedule of our lectures and the chapters covered in the text and reference books.
Slides for week 1: Introduction, DFA and NFA.
Slides for week 2: REX and equivalence among DFA, NFA and REX.
Slides for week 3: Algebraic laws for REX and pumping lemma for RL.
Slides for week 4: RL properties and minimization of DFA.
Slides for week 5: CFG and CFL.
Slides for week 6: CFG parsing and ambiguity.
Slides for week 7: Various forms of PDA and their equivalence to CFG.
Slides for week 8: Chomosky normal form.
Slides for week 9: Pumping lemma, closure properties and the CYK algorithm.
Slides for week 10: Introduction to undecidability and Turing machines.
Here are two chapters that we wrote for the
Algorithms and Theory of Computation Handbook some years ago:
Formal Grammars and Languages
These chapters are not very technical and may help provide some
high-level concepts about the theory. The following article
in a 2015 issue of Communications of the ACM provides some technical
perspective on the question of how to decide the equivalence of NFAs
and could also be interesting to read:
The Equivalence Prolem for Finite Automata
HW5 solution keys.
Midterm II solution keys. Q1-4 were
graded by Ashraful and Q5-7 by Jacob.
HW4 solution keys, graded by Hui.
HW3 solution keys, graded by Hui.
Midterm I solution keys. Q1-3 were graded
by Ashraful and Q4 by Jacob.
HW2 solution keys, graded by Hui Yang.
Here is the answer to Q3, also graded by Hui.
HW1 solution keys, graded by Hui Yang.
Please see him during his office hour (Wed. 3-4pm) or email him for
Please subscribe to the CS150 class mailing list .
The following mapping shows how your overall scores will be translated into
letter grades at the end of the quarter:
90+ -> A+, 85+ -> A, 80+ -> A-, 77+ -> B+, 73+ -> B, 70+ -> B-,
67+ -> C+, 63+ -> C, 60+ -> C-, 57+ -> D+, 53+ -> D, 50+ -> D-, 49- -> F.