PROGRAMMING UNIT 1
cod. 1000534

Academic year 2007/08
1° year of course - First semester
Professor
Academic discipline
Informatica (INF/01)
Field
Formazione interdisciplinare e applicativa
Type of training activity
Related/supplementary
32 hours
of face-to-face activities
4 credits
hub:
course unit
in

Integrated course unit module: PROGRAMMING I AND PROGRAMMING II

Learning objectives

The course is intended to provide the practical knowledge necessary to develop simple programs in the C++ programming language.

Prerequisites

Basic concepts and techniques of imperative and object-oriented programming as provided by course 'Fondamenti di Programmazione'

Course unit content

<br />Programming environment: editor, compiler, linker (hints) - Simple programs using the imperative part of C++ - Basic input/output - Using control structures - Definition and usage of arrays, strings, and structs -= Definition and usage of functions - File input/output using streams.<br />Class declaration. Examples: the classes 'razionale' and 'tempo' - Exception handlin - Inheritance. Example: the class 'datatempo' - Pointers and dynamic memory allocation. Example: the class 'pila' - Parametric classes. Example: the calss 'vett<T>' - Separate compilations and 'makefile' (hints).

Full programme

- - -

Bibliography

<br />H.M. Deitel, P.J. Deitel. C++ Fondamenti di programmazione, Apogeo, 2003, 696 pages.<br />[OR] S. Lippman, J. Lajoie. C++: Corso di programmazione, 3a Ed., Addison-Wesley, 2000.

Teaching methods

<br />Exams<br />Written and oral exam, plus development and demo of a practical application written in C++

Assessment methods and criteria

- - -

Other information

- - -