Introduction to Programming



This material can be used for an introductory course on programming. Currently, this material is being used for the lectures of Programaciķ 1 at the Facultat d'Informātica de Barcelona.


Introduction. PDF PDF4
Variables and statements. PDF PDF4
Loops. PDF PDF4
Data types and visibility. PDF PDF4
Subprograms: procedures and functions. PDF PDF4
Algorithms on sequences. Invariants. PDF PDF4
Recursion. PDF PDF4
Vectors. PDF PDF4
Vectors and strings. PDF PDF4
Multi-dimensional vectors. PDF PDF4
Structures and data structure design. PDF PDF4
Sorting. PDF PDF4
Numerical algorithms. PDF PDF4
Advanced examples. PDF PDF4
Conclusions. PDF PDF4

Copyright: The material contained in this site is the property of UPC. This material or any part of it can be viewed, printed, copied or distributed only for personal use or nonprofit educational purposes as long as the copyright notices are not removed.