Dipartimento di InformaticaUniversità degli Studi di Milano

Computer programming 32015/16

MSc in Mathematics · University of Milan · Lectures are in Italian · 3 credits · 21 hours

Archived edition: this page is kept for reference, and some materials or links may no longer be available.

This course explains advanced techniques for object oriented programming and software design.

News

  1. Office hours canceled

    Starting Monday 06/13, regular office hour are canceled until next semester; students can arrange an appointment via e-mail.

  2. Office hours canceled for two weeks

    Office hours in the next two weeks are canceled; students can contact the teacher via e-mail.

  3. Office hours of February 22nd canceled

    The office hours of February 22nd are canceled; students can arrange an appointment via e-mail.

  4. Computer programming 3 project – update

    An updated version of the project text is available, specifying how use packages.

  5. Computer programming 3 project

    The project textis available. Students should send via e-mail their source code and take an appointment.

Earlier news (2)
  1. Schedule change for the Computer programming 3 class of 12/4

    Class of Friday 12/4 is postponed to Friday 12/11.

  2. Office hours for the fall semester

    Office hours for the fall semester will be during Monday on 14:30 in the teacher's office, starting from 5/10.

Course schedule

Lectures will take place at the Mathematics department, according to the following tentative schedule:

Day Hour Place
Tuesday 13:30 - 15:30 aula 4
Friday 13:30 - 16:30 aula 2

Any change to the schedule will be announced in class and published in paragraph News of this page.

Office hours

By appointment, room 5015 of the Computer Science Department. It is possible contact the teacher by e-mail, taking care to read in advance the guide prepared by Prof. Sebastiano Vigna and clearly specifying in the message the course name and the academic year. In particular, students are encouraged to always use their academic address (i.e. based on the domain studenti.unimi.it) signing with name and student ID number and recalling that the response time may vary depending on the teacher commitments.

Course material

The part on design patterns is based on the book: Partha Kuchana, Software Architecture Design Patterns in Java, Auerbach Publications (ISBN: 0849321425).

The part on the Java Collections Framework is based on the tutorial from Sun.

The part on concurrent programming is based on the tutorial from Sun.

The part on SWT is based on the tutorials about basic widgets and layout managers from the University of Manitoba.

The part on MVC is based on the initial part of Building Graphical User Interfaces with the MVC Pattern, although the code shown in class implements the same examples using different techniques and exploiting the SWT library. The used widgets are explained in the tutorial about advanced widgets from the University of Manitoba.

The part on serialization is based on the tutorial by Todd Greanier.

The part of generics is based on the basic and advanced tutorials from Sun.

The part on networks programming is based on the first three sections of the tutorial from Sun.

The part on HTML document analysis is based on the tutorial of Scott Violet.

The part on regular expression is based on the tutorial from Sun.

Syllabus

The course explains the topics listed in the lecture calendar, covering the textbook contents in chapters 2, 10-20, 22-26, 29-36, as well as in the tutorials listed in section Course material.

Prereqs

Lectures calendar

Lecture Date Topic Material
l00 25/09/2015 Introduction to the lab
L01 29/09/2015 Graphical interfaces
l01 02/10/2015 Graphical interfaces
L02 06/10/2015 Input/output and serialization
l02 09/10/2015 Input/output and serialization
L03 13/10/2015 Creational patterns
l03 16/10/2015 Creational patterns
L04 20/10/2015 Collections and generics
l04 23/10/2015 Collections and generics
L05 27/10/2015 Structural patterns
l05 30/10/2015 Structural patterns
L06 03/11/2015 Behavioural patterns
l06 06/11/2015 Behavioural patterns
L07 10/11/2015 Model-View-Controller
l07 13/11/2015 Model-View-Controller
L08 17/11/2015 Composite, interpreter and visitor
l08 20/11/2015 Composite, interpreter and visitor
L09 24/11/2015 Concurrent programming
l09 27/11/2015 Concurrent programming
L10 01/12/2015 Network programming
l10 11/12/2015 Network programming
L11 15/12/2015 Web analysis
l11 18/12/2015 Web analysis

Exam modalities

The exam consists in the implementation of an individual project, to be presented by appointment.