21210206 - Fondamenti di informatica e di programmazione

Suddivisione dell'attività didattica

BENEDETTO FRANCESCO

Objectives

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.

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.

Prerequisiti

Basic knowledge of word processing software and web browsing

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

Esempi Domande

What is meant by "data value chain"?
a) The various independent phases that data goes through from the moment of collection to that of use and that gradually increase its value.
b) A series of operations aimed at cleaning data from noise
c) The various independent phases that data goes through from the moment of collection to that of use and that gradually decrease its value, but also decrease its size.

BENEDETTO FRANCESCO

Objectives

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.

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.

Prerequisiti

Basic knowledge of word processing software and web browsing

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

Esempi Domande

What is meant by "data value chain"?
a) The various independent phases that data goes through from the moment of collection to that of use and that gradually increase its value.
b) A series of operations aimed at cleaning data from noise
c) The various independent phases that data goes through from the moment of collection to that of use and that gradually decrease its value, but also decrease its size.