21210206 - Fondamenti di informatica e di programmazione

The course aims to provide the students with the methodological and conceptual tools for the design of algorithms and the realization of programs for solving problems automatically. By the end of the course, the student will be able to understand, analyze and model a parametric problem, will be able to design an algorithm for its solution by means of iterative and recursive techniques, and will be able to implement algorithms in the Python programming language.

Canali

teacher profile | teaching materials

Programme

Computers and programs, notion of algorithm, Python programming language, errors and problem solving. Variables, logical and relational operators, strings, input and output data. Conditional constructs, IF statement, nested branches, flow graphs, multiple alternatives, Boolean variables. Loop FOR and WHILE, problem solving and algorithms that use loops. Nested loops, random numbers, and simulations. Functions and scripts, implementation and testing of functions, passing parameters, return values, recursive functions. Lists and their properties. Tables and their properties. Exceptions and files. Sets and dictionaries.

Core Documentation

Lecture notes by the Professor on the Moodle platform and MS Teams of the University
C. Horstmann, R. D. Necaise, "Python: introduzione alla programmazione", Maggioli Editore.

Attendance

frontal teaching with non-mandatory attendance

Type of evaluation

Written test with theory and computer programming questions

teacher profile | teaching materials

Programme

Computers and programs, notion of algorithm, Python programming language, errors and problem solving. Variables, logical and relational operators, strings, input and output data. Conditional constructs, IF statement, nested branches, flow graphs, multiple alternatives, Boolean variables. Loop FOR and WHILE, problem solving and algorithms that use loops. Nested loops, random numbers, and simulations. Functions and scripts, implementation and testing of functions, passing parameters, return values, recursive functions. Lists and their properties. Tables and their properties. Exceptions and files. Sets and dictionaries.

Core Documentation

Lecture notes by the Professor on the Moodle platform and MS Teams of the University
C. Horstmann, R. D. Necaise, "Python: introduzione alla programmazione", Maggioli Editore.

Attendance

frontal teaching with non-mandatory attendance

Type of evaluation

Written test with theory and computer programming questions