Free University of Bolzano/Bozen
Faculty of Computer Science - Master of Science in Computer Science

Theory of Computing

Lectures A.A. 2004/2005

Prof. Diego Calvanese


Teaching material

[M1] Introduction to Automata Theory, Languages, and Computation (2nd edition). J.E. Hopcroft, R. Motwani, J.D. Ullman. Addison Wesley, 2003.

[M2] Lecture Notes for Theory of Computing. Diego Calvanese. 2005. Available as scanned pages in pdf.

[M3] Exercises on Theory of Computing. Available as scanned pages in pdf.


Lectures

Summary

Week Topics Monday
10:30-12:30

(lecture)
Wednesday
10:30-12:30

(lecture)
Wednesday
14:00-16:00

(exercise)
Extra

(lecture)
#1
Oct. 5
Course introduction -- Course introduction,
basic notions about languages
(Lec 1,2)
Formal proofs
(Exer 0)
#2
Oct. 10
Finite automata Deterministic FA
(Lec 3,4)
Nondeterministic FA
(Lec 5,6)
DFAs and NFAs
(Exer 1)
Epsilon-NFAs
(Lec 7,8)
#3
Oct. 17
Regular expressions Regular expressions,
from REs to FAs
(Lec 9,10)
From DFAs to REs,
closure properties for RLs
(Lec 11,12)
Epsilon-NFAs and RE
(Exer 2)
#4
Oct. 24
Regular languages Pumping lemma
(Lec 13,14)
-- --
#5
Oct. 31
Properties of regular languages -- Decision properties for RLs, NFA minimization
(Lec 15,16)
Regular languages
(Exer 3)
#6
Nov. 7
Formal grammars Formal grammars
(Lec 17,18)
Formal grammars
(Lec 19,20)
Regular languages
(Exer 4)
#6 (extra)
Nov. 7
Context free grammars -- Context free grammars
(Lec 21,22)
Formal grammars
(Exer 5)
#7
Nov. 14
Properties of context free grammars Simplifying CFGs, Chomsky normal form
(Lec 23,24)
Topics for midterm exam
(Exer 6)
Midterm exam
(ME)
#8
Nov. 28
Decision problems for CFLs Pumping lemma and closure properties for CFLs
(Lec 25,26)
-- --
#9
Dec. 5
Properties of CFLs Decision problems for CFLs
(Lec 27,28)
Undecidable problems
(Lec 29,30)
Context-free grammars and closure properties of CFLs
(Exer 7)
#10
Dec. 12
Turing Machines The Turing Machine
(Lec 31,32)
Programming techniques for TMs, multi-tape TMs
(Lec 33,34)
Closure properties of CFLs and TMs
(Exer 8)
#11
Dec. 19
Decidability and undecidability Nondeterministic TMs
(Lec 35,36)
Closure properties of R.E. languages
(Lec 37,38)
Nondeterministic TMs and extensions of TMs
(Exer 9)
#12
Jan. 9
Decidability and undecidability Showing languages to be non-recursive/non-R.E.
(Lec 39,40)
Reductions, Rice's theorem
(Lec 41,42)
Recursive and R.E. languages
(Exer 10)
Rice's theorem, (in)tractable problems
(Lec 43,44)
#13
Jan. 16
Computational complexity NP-completeness
(Lec 45,46)
Complexity classes above NP
(Lec 47,48)
NP-complete problems
(Exer 11)
#14
Jan. 23
Complexity classes -- Exam topics
(Exer 12)
--

Details


Week 1: Course introduction

Lectures 1,2 - 5/10/2005


Exercise 0 - 5/10/2005


Week 2: Finite automata

Lectures 3,4 - 10/10/2005


Lectures 5,6 - 12/10/2005


Exercise 1 - 12/10/2005


Lectures 7,8 - 14/10/2005


Week 3: Regular expressions

Lectures 9,10 - 17/10/2005


Lectures 11,12 - 19/10/2005


Exercise 2 - 19/10/2005


Week 4: Regular languages

Lectures 13,14 - 24/10/2005


Week 5: Properties of regular languages

Lectures 15,16 - 2/11/2005


Exercise 3 - 2/11/2005


Week 6: Formal grammars

Lectures 17,18 - 7/11/2005


Lectures 19,20 - 9/11/2005


Exercise 4 - 9/11/2005


Week 6 (extra): Context free grammars

Lectures 21,22 - 11/11/2005


Exercise 5 - 11/11/2005


Week 7: Midterm exam

Lectures 23,24 - 14/11/2005


Exercise 6 - 16/11/2005


Midterm exam - 23/11/2005


Week 8: Context free languages

Lectures 25,26 - 28/11/2005


Week 9: Properties of contex-free languages

Lectures 27,28 - 5/12/2005


Lectures 29,30 - 7/12/2005


Exercise 7 - 7/12/2005


Week 10: Turing Machines

Lectures 31,32 - 12/12/2005


Lectures 33,34 - 14/12/2005


Exercise 8 - 14/12/2005


Week 11: Decidability and undecidability

Lectures 35,36 - 19/12/2005


Lectures 37,38 - 21/12/2005


Exercise 9 - 21/12/2005


Week 12: Decidability and undecidability

Lectures 39,40 - 9/1/2006


Lectures 41,42 - 11/1/2006


Exercise 10 - 11/1/2006


Lectures 43,44 - 13/1/2006


Week 13: Computational complexity

Lectures 45,46 - 16/1/2006


Lectures 47,48 - 18/1/2006


Exercise 11 - 18/1/2006


Week 14: Complexity classes

Exercise 12 - 25/1/2006


Back to course home page


Last modified: Tuesday, 12-Dec-2006 9:37:23 CET