AY 21/22 - Advanced Programming

This page is about the courses named (actually the same course):

  • Programmazione avanzata (316MI), for master program IN20, 9 CFUs
  • Programmazione avanzata (558EC), for master program EC71, 9 CFUs

Program, goals, requirements #

Detailed program #

Available here, in Italian, or here, in English.

Goal of the course #

Knowledge and understanding #

  • Know what object-oriented programming is: how to store, process, and access data with objects.
  • Know the syntax and the features of the Java programming language and of the Java software platform.
  • Know the style conventions for Java language.
  • Know Java main frameworks and APIs.
  • Know the common structure of the basic development tools, including those for unit testing.
  • Understand how a Java program is executed by a computer.

Applying knowledge and understanding #

  • Design, develop, test, and debug complex software in Java.

Making judgements #

  • Decide if Java fits a given programming task.
  • Judge the quality of a software written in Java in terms of code style, software artifacts structure, testing, and documentation.

Communication skills #

  • Describe the motivations behind choices in the design and development of a software written in Java.
  • Comprehend, formulate, and describe the specifications for a software.

Learning skills #

  • Learn, through software documentation and examples, to use any software written in Java.
  • Learn the basics of other object-oriented programming languages.

Requirements #

Basics of programming and data structures: algorithm, data types, loops, recursion, parallel execution. Basics of computer networks: IP, TCP.

Method, language, material #

Language of teaching #

Italian

Teaching method #

Frontal lessons with blackboard and slide projection; exercises, under teacher’s supervision, consisting in solving simple tasks of software design and development in Java. Bring your own laptop!

Course material #

The course material (teacher’s slides) is served directly from here. The slides might be updated during the course.

The lectures will be recorded and made available on Teams.

Lectures timetable and course calendar #

The course will start on 3/3/2022.

The lectures will be:

  • on Monday, from 15.00 to 17.30, in room B, ground floor, building C9
  • on Tuesday, from 9.00 to 10.30, in room D, ground floor, building A-right
  • on Thursday, from 15.00 to 17.30, in room T_B, ground floor, building D

The lectures will be done in person and possibly cast online (upon reasonably argumented request), on the Microsoft Teams team associated with the course. The lectures will be recorded and made available on Teams. For accessing the Teams team, please email me.

Short announcements about lectures schedule #

Lectures will be suspended from 14/4/2022 to 25/4/2022 (included).

The lecture of 26/4/2022 is suspended.

The lecture of 2/5/2022 is suspended to allow students to take part in the visit to u-blox (contact prof. Carrato and prof. Castelli for more info).

End-of-course test (exam) #

The exam works in one of the following ways:

  1. Three parts: Home assignments + Final project + Oral exam. Exam is passed only if the grade is >6/10 on each part. Overall grade is determined as 10%, 50%, 40%, respectively. The grades for the Home assignments are communicated during the course.
  2. Three parts: Final project + Oral exam. Exam is passed only if the grade is >6/10 on each part. Overall grade is determined as 50%, 50%, respectively.

The exam may be repeated an unlimited number of times. Overall grades corresponding to failed exams (with the exception of Project missed deadlines) will be registered as failed. The student may ask to repeat an exam also when passed: acceptance and specific parts to be repeated will be agreed with the teacher.

Student must register for the exam session of their interest using the online system esse3. Note that there are deadlines for registration (usually 1 week before the session date).

Final project #

At the end of the course, a project will be assigned that consists in the design and development of a software in Java, including testing and a simple documentation and following the provided specifications. The student will be required to submit the software within a deadline corresponding to the day of the written test she/he plans to apply. The evaluation will be as follows: 0/10 not submitted (missed deadline); 5/10 to 10/10 submitted, depending on quality of code, software structure, documentation, test coverage, degree of working.

The project assignment is here.

Oral exam #

Questions on the course program and short programming exercise.

Home assignments #

During the course, some exercises will be assigned. Each exercise will consist in the design and development of a simple software in Java; the exercise will start in the classroom under the teacher’s supervision. The student will be required to submit the software within a deadline. The evaluation of each exercise will be as follows: 0/10 not submitted (missed deadline); 5/10 submitted, but not working; 8/10 submitted and almost fully working; 10/10 submitted and fully working. The overall Home assignments evaluation will be the average of the exercise evaluations.

Assignments have to be shared with the teacher using repl.it. Students have to send an email to the teacher, within the deadline, saying who they are and which is the url of the shared repl. Due dates are at 23.59, AoE time. Please do not change the code in repl after the due date.

  1. Anagrams, slide 150, assigned on 17/3/2022, due date 31/3/2022
  2. Equivalence, slide 226, assigned on 28/3/2022, due date 11/4/2022
  3. GZIP File Array, slide 337, assigned on 11/4/2022, due date 2/5/2022

Grades for the home assignments are visible here.