Faculty Home topBanner_en.jpg
 
| where to find uswhere to find us | | telephone e-mailtelephone e-mail | |   | Italiano English ? |
map map
 
*Education *People *Collegial bodies *Offices and service facilities
*News & Events *News *Seminars *Libraries
University Home 
Faculty Home 
 
Didactic offer
*
 
 
*
*
 
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
|
 

Degree in Computer Science

Languages and compilers (2010/2011)

Course code 4S02726  
Credits 12  
Coordinator Andrea Masini
Other available courses Degree in Computer Science (until a.a. 2008/2009)  


Teaching is organised as follows:

Unit Credits Disciplinary sector Period Academic staff
COMPILATORI 6 INF/01-Computing II semestre Andrea Masini
LINGUAGGI 6 INF/01-Computing I semestre Andrea Masini

Educational objectives

Module: COMPILATORI
-------
The aim of the course is to introduce the techniques of automatic translation. The target is to learn a general methodology for the compilers design.


Module: LINGUAGGI
-------
The course teaches the fundamental concepts of programming languages, such as functions, types, memory management, and control. The aim is to give a thorough understanding of problems in the design of programming languages. This understanding enables students to grasp the advantages and disadvantages of using different kind of programming languages.

Syllabus

Module: COMPILATORI
-------
Lexical analysis of the code. Syntactical analysis: top-down (LL) and bottom-up (LR) parsing.
Syntax-directed definitions and syntax-directed translations: attributes, semantical actions. Intermediate code generation: abstract syntax trees, intermediate code. Object-code generation. Code optimization.


Module: LINGUAGGI
-------
Virtual machines: interpreters and compilers. Syntactical descriptions of programming languages: context free grammars. Structured operational semantics.
Memory management: scoping rules, functions, procedures, parameter passing, stack of activation records, heap.
Control: structuring of statements, abstraction, exceptions.
Data and types: data types, base types, structured types, type systems, type inference and polymorphism.

Exam methods

Module: COMPILATORI
-------



Module: LINGUAGGI
-------
Written examination

Statistics on students' past performance (Art. 2 del D.M. 31/10/2007, n. 544)

Statistics
Outcomes Exams Outcomes Percentages Average Standard Deviation
Passed 50.57% 25 3
Failed 12.64%
Absent 35.63%
Withdrawn 1.14%
Canceled --


Distribuzione degli esiti positivi
18 19 20 21 22 23 24 25 26 27 28 29 30 30 e Lode
2.2% 2.2% 4.5% 4.5% 13.6% 6.8% 6.8% 9.0% 6.8% 13.6% 4.5% 2.2% 6.8% 15.9%

Data from AA 2010/2011 based on 87 students. I valori in percentuale sono arrotondati al numero intero più vicino.