C and C++ languages: instructions and operators. Class and object definitions. Inheritance, polymorphism, operator overloading. Numerous examples of computing problems and graphical data analysis. Network structure. Client server network technology
1 - B.W.Kernighan, D.M.Ritchie The C Programming Language –Prentice-Hall
2 –B. StroustrupThe C++ Programmin Language 3rd Ed. Addison-Wesley
3 –C.S.Horstmann Practical Object-Oriented Development in C++ and Java John Wiley & Sons
Learning Objectives
Knowledge acquired:
Structure and functionality of computer parts. Development of computing and data acquisition codes.
Competence acquired:
Data handling with computing devices. Data sharing through the network. Graphical and numerical analysis of acquired data.
Skills acquired (at the end of the
course):
Computer code design in C and C++ languages. Use of operating system functions. Image analysis with a general purpose graphical code.
Prerequisites
none
Teaching Methods
CFU: 3
Total hours of the course (including
the time spent in attending lectures,
seminars, private study, examinations,
etc...): 75
Contact hours for: Lectures (hours): 8
Contact hours for: Laboratory-field/
practice (hours): 24
Intermediate examinations:
Further information
Office hours
on demand
bini@fi.infn.it
Website
Type of Assessment
Design and use of a simple C or C++ code.
Course program
Summary of C language instructions. Integer and floating number representations. Pointers. Structures. Bitwise operators. Disc file reading and writing. Access to peripheral devices. Network structure. Ethernet interface functionality: hardware address and packet structure. IP protocol. TCP and UDP protocols. Design and use of a client process and a server process. Performing a code to solve linear systems: functions to calculate matrix product, matrix inverse and determinant . C++ language: class and object definition. Inheritance and polymorphism. Operator overloading. C++ code for matrix handling. Use of standard library. A graphical analysis code: ROOT. Analysis of the spectra acquired in Lab course.