( english version )

Laboratorio di programmazione ( 3 CFU ) Tel. 0521-905731 - Fax. 0521-905723 E-mail. cagnoni@ce.unipr.it Home page. http://www.ce.unipr.it/people/cagnoni

Finalità

The course aims at introducing the basic concepts of computer programming, using Excel and MATLAB

Programma

1. Fundamentals of computer programming

a. Data and data representation

b. Introduction to Excel

c. Concept of algorithm

d. From algorithms to programs

i. Programming languages

ii. Structure of a program

iii. Flow control instructions

- IF-THEN-ELSE

- Cycles

iv. Compilers and interpreters

2. MATLAB

a. Data types

b. Basic functions

c. Statistical functions

d. Graphic functions

e. Program optimization:

how to avoid conditional clauses and cycles

a. Data and data representation

b. Introduction to Excel

c. Concept of algorithm

d. From algorithms to programs

i. Programming languages

ii. Structure of a program

iii. Flow control instructions

- IF-THEN-ELSE

- Cycles

iv. Compilers and interpreters

2. MATLAB

a. Data types

b. Basic functions

c. Statistical functions

d. Graphic functions

e. Program optimization:

how to avoid conditional clauses and cycles

Attività d'esercitazione

The course is mainly held in the computer laboratory, where students practice Excel and MATLAB programming.

During the labs students are requested to develop simple programs to solve statistical and linear algebra problems, as

well as simple graphic programs.

During the labs students are requested to develop simple programs to solve statistical and linear algebra problems, as

well as simple graphic programs.

Modalità d'esame

Written test

Propedeuticità

None

Testi consigliati

Notes prepared by the teacher and/or available online.