AY 20/21 - Advanced Programming
This page is about the courses named (actually the same course):
- Programmazione avanzata (302MI), for master program IN20, 6 CFUs
- Programmazione avanzata (316MI), for master program IN20, 9 CFUs
- Programmazione avanzata (558EC), for master program EC71, 9 CFUs
- 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.
- Design, develop, test, and debug complex software in Java.
- 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.
- 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.
- Learn, through software documentation and examples, to use any software written in Java.
- Learn the basics of other object-oriented programming languages.
Basics of programming and data structures: algorithm, data types, loops, recursion, parallel execution. Basics of computer networks: IP, TCP.
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!
The course material (teacher’s slides) is served directly from here. The slides might be updated during the course.
The lectures are recorded and are available both on MS Teams and here. Also the lectures of the last academic year (with the exception of the first one, due to technical reasons) have been recorded: they are available here. Since last year the teaching has been entirely online, the recordings of the last year might be of better quality than the ones of this year.
The course will start on 1/3/2021.
The lectures will be:
- on Monday, from 8.30 to 10, in room A, 2nd floor, building C2
- on Wednesday, from 8.45 to 11, in room A, 2nd floor, building C2
- on Thursday, from 8.45 to 11, in room B, ground floor, building C7
The lectures will be done in person and online, on the Microsoft Teams associated with the course (and reachable from the university list of online courses).
The lecture of 18/3/2021 will not be given since I will be involved in a PhD final defense.
The lectures of 7/4/2021 and 8/4/2021 will not be given since I will be “attending” a conference.
Due to the Covid19 circumstances, the written test might be replaced by an oral interview. Interviews will be done on the MS Teams platform of UniTs or, in case of problems with the latter, with another similar tool (e.g., Google Meet). Precise instructions will be given to the students registered for each exam date after the registration deadline and before the exam. Students who want to listen to others students' interviews, but are not registered, should ask authorization to the teacher.
6 CFU version
Only for this academic year, this course is offered also in a 6 CFU version, besides the native 9 CFU version. Unfortunately, the course material is not easily adaptable to the reduced version, nor the exam. Below I describe how the exam works for the 9 CFU version; later I desribe the differences for the 6 CFU version.
The exam works in one of the following ways:
- Three parts: Home assignments + Final project + Written test. Exam is passed only if the grade is >6/10 on each part. Overall grade is determined as 10%, 60%, 30%, respectively. The grades for the Home assignments are communicated during the course.
- Three parts: Final project + Written test + Oral exam. Exam is passed only if the grade is >6/10 on each part. Overall grade is determined as 40%, 30%, 30%, 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).
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.
Questions on the course program with short open answers and short programming exercise.
Questions on the course program and short programming exercise.
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.
- Anagrams, slide 149, assigned on 15/03/2021, due date 29/03/2021
- Equivalence, slide 225, assigned on 25/03/2021, due date 09/04/2021
- GZIP File Array, slide 336, assigned on 19/04/2021, due date 03/05/2021
Grades for the home assignments are visible here.
The exam of the 6 CFU version works in one of the following ways:
- Two parts: Home assignments + Oral exam. Exam is passed only if the grade is >6/10 on each part. Overall grade is determined as 10%, 90%, respectively. The grades for the Home assignments are communicated during the course.
- One part: Oral exam.
These portions (given in slide numbers, endpoints included) of the slide pack are not included in the 6 CFU version:
Only assignements 1 and 2 are required for the 6 CFU version.