20 hours of lectures and 6 practical training sessions on the computer (3.5 hours each)
Introduction to numbers representation in computers: decimal, binary and hexadecimal representation; two's complement representation, floating point numbers
Microprocessor systems, Von Neuman architecture, operating systems
Introduction to base commands and the GNU/Linux operating system: exploring and modifying the file system, basic software such as text editors and spreadsheets.
Introduction to the C++ programmin language. The main function, preprocessor directives. Variables declaration and initialization. Variable types: char, int, double, bool. Arithmetic and logic operators. if/else statements, for and while loops. Arrays and strings. Terminal and file I/O. Functions. Introduction to classes and object-oriented programming.
Introduction to the ROOT libraries for the realization of plots and fits.
Lecture slides and other material will be made available on the Aulaweb page of the course.
Ricevimento: Students can request appointments by email or phone Sergio Di Domizio Dipartimento di Fisica, via Dodecaneso 33, 16146 Genova 2nd floor, Laboratory L202 phone: 010-353-6326 email: sergio.didomizio@unige.it
FRANCESCO BUATIER DE MONGEOT (President)
SERGIO DI DOMIZIO (President)
ROBERTA CARDINALE
LEA DI NOTO
FLAVIO FONTANELLI
MARIA CATERINA GIORDANO
ENRICO ROBUTTI
GIULIA ROSSI
LUCA VATTUONE
Individual exam on the computer
The exam aims at evaluating the capability of students to solve simple problems (reading files, manipulating data, performing numerical calculations, producing plots and fits) by means of developing software programs.