Foundations of Computing (2011/2012)

Course code
4S02789
Credits
12
Coordinator
Massimo Merro
Teaching is organised as follows:
Unit Credits Academic sector Period Academic staff
LOGICA 6 INF/01-INFORMATICS I semestre Andrea Masini
LINGUAGGI 6 INF/01-INFORMATICS I semestre Massimo Merro

Learning outcomes

Module: LOGICA
-------



Module: LINGUAGGI
-------
The aim of the course is to present the theoretical basis of programming languages. A number of paradigmatic untyped and typed languages will be introduced. The entire course will focus on the concepts of operational semantics and type system. Formal techniques for verifying the behaviour of programs will be introduced.

Syllabus

Module: LOGICA
-------



Module: LINGUAGGI
-------
Induction:
(i) Mathematical induction over the natural numbers;
(ii) Structural induction;
(iii) Rule induction.
Operational semantics:
Big step and small step semantics for simple languages including
(i) Exp, Bool, languages for arithmetic and Boolean expressions
(ii) the imperative language of while commands While
(iii)the functional languages Fun and Lambda and simple variations on them; call-by-name and call-by-value semantics.
Typing:
(i) Typing assignments for the languages Fun and Lambda
(ii) Progress and preservation.
(iii) For Lambda you should be familiar with the computational consequences of using types; in particular the need for explicit fixpoint operators.

Assessment methods and criteria

Module: LOGICA
-------



Module: LINGUAGGI
-------
The exam consists of a written and oral test.