News
Due to the medical school exams scheduled for November 20 and December 10, the class will undergo a change of time and room. The updated schedule is as follows:
- November 20, from 10:30am to 12:30pm, in Room 5016 (5th floor, Via Celoria 18)
 
- December 10, from 1:30pm to 3:30pm, in Room 5016 (5th floor, Via Celoria 18)
 
Note: On December 10, the class will begin at 2:00pm.
Due to the rescheduling of Bootstrap Day and the resulting cancellation of classes on Tuesday, September 23, classes will begin on Wednesday, September 24 at 11:30am.
Laboratory Lectures will start on 6th of October.
Exceptionally, on Thursday, September 25, class will be held in room β (Via Celoria 18).
Lectures will start on Tuesday, September 23, at 2:00pm in room G22 (Via Golgi).
Lectures on Tuesdays and Thursdays will always start at 2pm. All our classes will be held in room G22 (Via Golgi).
Exams.
Office Hours for Students
The office hours for the students are: Tuesdays from 9:30 to 11:30 in my office (Via Celoria 18, room 5009). Or on appointment online (preferred way). In both cases: reservation is needed. To book an appointment drop me an email and wait to get a confirmation.
Since January the office hours will be only on appointment and on online.
Course Materials and Other Resources.
Slides.
- Introduction [PDF 01]
 
- Introductory Concepts: Computer Architectures [PDF 02]
 
- Introductory Concepts: SW Development [PDF 03]
 
- Introductory Concepts: Program Dissection [PDF 04]
 
- Introductory Concepts: Variables and Types [PDF 05]
 
- Introductory Concepts: Numeric Types, Input and Output [PDF 06]
 
- Control Flow Structures: Binary Selection [PDF 07]
 
- Control Flow Structures: Binary Selection 2 (Examples) [PDF 08]
 
- Control Flow Structures: Basic, Condition-Only and Infinite for Statements [PDF 09]
 
- Control Flow Structures: Basic, Condition-Only and Infinite for Statements (Examples) [PDF 10]
 
- Basic Data Types: Integers [PDF 11]
 
- Control Flow Structures: Nested Loops [PDF 12]
 
- Basic Data Types: Floating Point, Complex, Characters, … [PDF 13]
 
- Basic Data Types: Strings [PDF 14]
 
- Control Flow Structures: Switch [PDF 15]
 
- Structured Programming and Modularization: Functions [PDF 16]
 
- Structured Programming and Modularization: Functions (Exercises) [PDF 17]
 
- Composite Data Types: Pointers [PDF 18]
 
- Composite Data Types: Structs [PDF 19]
 
- Composite Data Types: Arrays and Slices [PDF 20]
 
Books:
- Ivo Balbaert, The Way to Go, 1st edition, 2012, iUniverse.
 
- Alan Donovan e Brian Kernigham, The Go Programming Language, 1st edition, 2015, Addison-Wesley.
 
Laboratory Lessons.
The professors for the laboratory part of the course are Alessandro D'Amelio (students with surname starting by L to Pa) and Lorenzo Capra (students with surname starting by Pe to Z).
The webpage for the laboratory lectures is available at
https://github.com/LabProgrammazione1/Lab_2025-26
Exam Formalities.
The exam is composed of two parts:
- a written exam (at the computer) with the professors for the laboratory
 
- an oral exam with the theory professor
 
The oral examination is open only to the students that pass the lab exam with at least a mark of 18.
Both the lab exam and the oral must be passed in the same session
- those who, despite having the opportunity, decide not to attend the oral examination will have to take the  again the examination  of laboratory
 
- those who fail the oral examination will also have to retake the laboratory
 
- who will reject the grade will have to redo both the parts of the examination
 
Students who want to take the exam in a given session must be enrolled to the session through SIFA.