LIACS > Marcello M. Bonsangue > Fundamentele Informatica 2
Lecturer Marcello Bonsangue
Assistants Larissa Wolters and
Luc Edxhoven
Course number
Prerequisites Fundamentele Informatica 1
Language English
5 Jan 2018, 10:00-13:00 rooms Gorlaeus 02
16 Mrt 2017 13:30-16:30
room Snellius B02
Schedule Fall 2017

September 5, 12, 19, 26
October 10, 17, 24, 31
November 7, 14, 21, 28
December 5, 12

Lectures (4032FUIN6H): 11:00-12:45, room Snellius B01

Practica (4032FUIN6W): 13:30-15:15 room Snellius B01


The course gives an introduction is an introduction to the theory of computation with emphasis on the relationships between formal languages, automata and abstract models of computation.


Automata theory and formal languages form the foundations of theoretical computer science, as they allow us to talk precisely about what is an algorithm or a computation.

An automaton is in fact a model of computation that can be defined mathematically. The simplest model that we will consider in this course is given by finite state automaton: a machine that is only able to keep track of its current state but it has no memory. Finite state automata specify an algorithmic procedure for recognizing whether a word is in a language. We will concentrate on the relationships between language recognized by a finite state automaton, language generated by a grammar and language described by a specification, and will obtain algorithms for translating one description of a language into another description of a different type.

Adding restricted form of memory to finite state automata increase their expressivity. We will study push-down automata, i.e. the class of automata with an auxiliary memory organized as a stack. In particular we will concentrate on the class of languages recognized by push-down automata, because of its major role in compiler design and parsing.


John C. Martin, Introduction to Languages and the Theory of Computation, 4th Revised edition, McGraw Hill Higher Education, 2010, 576 pages (ISBN: 0071289429).

Schedule Lectures

Nun Date Topic Reading Exercises*
1a 5 Sep Overview and motivation

Languages [Mar10]:1.4 1.33, 1.36, 1.37
Deterministic Finite Automata (DFA) [Mar10]:2.1 2.1, 2.2, 2.5
Automata constructions [Mar10]:2.2 2.10, 2.11, 2.12
2a 19 Sep
Distinguishability [Mar10]:2.3 2.13, 2.14, 2.21

Pumping lemma for Regular Languages [Mar10]:2.4 2.22

Homework 1 Solution Deadline:26 September

*=Solutions of most of the exercises treated in the practicum can be found either at the end of the book [Mar10] (in bold) or here.


[BBCF10] Jean Berstel, Luc Boasson, Olivier Carton, and Isabelle Fagnot, Minimization of automata, arXiv:1010.5318v3 [cs.FL] 30 Dec 2010.

[CZ02] J.-M. Champarnaud and D. Ziadi, Canonical Derivatives, Partial Derivatives and Finite Automaton Constructions. Theoretical Computer Science 289(1):137-163, Elsevier Science , 2002.

[Mar10] John C. Martin, Introduction to Languages and the Theory of Computation, 4th Revised edition, McGraw Hill Higher Education, 2010.

Exam and Homework information

  • Examination is worth 70% of the final grade (with a minimum of 5.5). The remaining 30% is from the average grade of the 4 best out of the 5 homeworks.

  • Write clearly your name and student number in your homework solution.
  • Return your homework solution as a single pdf file by email to Larissa Wolters.
  • Name your pdf file containing the solution as HWxxNameSurname.pdf, where xx ranges from 1 to 5 and it is the number of homework.
  • Solutions sent after the deadlines are not accepted.
  • Grades  of the homeworks will be published on blackboard.

Past Examinations