Foundations of Computing - LINGUAGGI (2012/2013)

Course code
Name of lecturer
Massimo Merro
Number of ECTS credits allocated
Academic sector
Language of instruction
I semestre dal Oct 1, 2012 al Jan 31, 2013.
Web page

To show the organization of the course that includes this module, follow this link * Course organization

Lesson timetable

I semestre
Day Time Type Place Note
Monday 2:30 PM - 4:30 PM lesson Lecture Hall I  
Tuesday 8:30 AM - 10:30 AM lesson Lecture Hall I  
Wednesday 2:30 PM - 4:30 PM lesson Lecture Hall I  

Learning outcomes

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.


(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.
(i) Typing assignments for the functional 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

The examination consists of a written and oral test.

Teaching aids