FUNDAMENTALS OF PROGRAMMING B
cod. 1000749

Academic year 2009/10
1° year of course - First semester
Professor
Academic discipline
Informatica (INF/01)
Field
Formazione informatica
Type of training activity
Basic
52 hours
of face-to-face activities
6 credits
hub: PARMA
course unit
in - - -

Learning objectives

The course is intended to provide both theoretical and practical foundations of 'object-oriented' programming, as well as a number of advanced concepts of computer programming, using C++ as the reference programming language.

Prerequisites

- - -

Course unit content

Class and object declaration. Accessing member functions and data of a class - Class constructors - A sample class: 'rational' - Function and operator overloading - The 'string' class - Pointers and dynamic memory allocation. Arrays and pointers - A sample class: 'int_vett' - The assignment operator. The copy constructor. Class destructors - Object life-time (hints) - Abstract data types (ADT) (hints). <br />
Exception handling: motivations. Constructs for exception handling in C++ - Parametric classes ('template'): declaration, instantiation. A sample class: 'vett<T>' - Parametric functions (hints) - Inheritance. 'public' vs 'private' derivation. Multiple inheritance (hints). <br />
Program development. Programming environment: editor, compiler, linker (hints) - Developing simple programs in C++ - Using library functions.

Full programme

- - -

Bibliography

H.M. Deitel, P.J. Deitel. C++ Fondamenti di programmazione, Apogeo, 2003, 696 pages.

Teaching methods

Teaching method: theory supported by exercises and practical experimentation.<br />
Exams: Oral exam, plus development and demo of a practical application written in C++.

Assessment methods and criteria

- - -

Other information

- - -