PROGRAMMING 2 & LABORATORY

9 CFU - 2° semestre

Docente titolare dell'insegnamento

DOCENTE NON ANCORA ASSEGNATO - Modulo PROGRAMMING 2 - INF/01 - 6 CFU
DOCENTE NON ANCORA ASSEGNATO - Modulo LABORATORY - INF/01 - 3 CFU


Obiettivi formativi


Modalità di svolgimento dell'insegnamento


Prerequisiti richiesti



Frequenza lezioni



Contenuti del corso



Testi di riferimento


Altro materiale didattico



Programmazione del corso

PROGRAMMING 2
 ArgomentiRiferimenti testi
1Introduction to Algorithms. Iterative sorting algorithms. Ch. 1-2  
2Recursive Algorithms. Mergesort. Analysis of Algorithms.Ch. 2-4 
3Asymptotic growth of functions. Divide and Conquer and some examples of Algorithms. Ch. 3-4 
4Quicksort and basic probabilities, Ch. 5,7 
5Linked Lists. Elementary Data structures: Stacks, Queues. Ch. 10.  
6Queues and Trees. Ch. 10.  
7Graphs and some elementary algorithms on graphs.Ch. 22 
LABORATORY
 ArgomentiRiferimenti testi
1Array: initialization of an array, array of characters and text strings, multidimensional arrays, vectors as parameters. 
2Pointers and references: References, pointers, null pointers, pointer to pointers, pointers and arrays, pointer arrays, string pointers, pointer arithmetic, constant pointers, pointers as function arguments, function pointers, pointers to structures. 
3Dynamic memory allocation: Dynamic memory management, new operator, delete operator, memory overflow management, C ++ memory types. 
4Classes and objects: member functions, set methods, get and predicates, standard constructors and destructors, overloading and overriding member functions, other constructors. 
5Derived classes: inheritance and polymorphism: Derived classes, inheritance types, destructors, multiple inheritance and composition, bindings, virtual functions, polymorphism, advantages of polymorphism. 
6Template: Genericity, C ++ template, function template, class templated. 
7Overloading of operators: Overloading of unary and binary operators, overloading of operators + and - and of the assignment operator, overloading of the insertion, extraction, new and delete operators, conversion of data and forced conversion of types. 


Verifica dell'apprendimento


MODALITÀ DI VERIFICA DELL'APPRENDIMENTO



Apri in formato Pdf English version