Basics of Structured Programming: control flow , functions. The C programming language: operators, expressions, data types, conditional commands, iteration commands, functions, vectors.
"Linguaggi di programmazione" - Maurizio Gabbrielli, Simone Martini - McGraw-Hill
"Linguaggio C" - Brian W. Kernighan - Dennis M. Ritchie.
Learning Objectives
Basics on C language.
Prerequisites
Abstract and logic capacity
Teaching Methods
Classes with PC
Further information
Frequency of lectures, practice and lab: Recommended
Office hours: by appointment (contact professor by e-mail or phone number).
Type of Assessment
Implementation in C language of an exercise.
Course program
Structured programming: explicit sequence control commands; conditional commands :if, if – else, if – else – if, case; iterative commands: while loop, repeat-until loop, for loop; pseudocode; break, continue and goto; functions: definition and properties; return.
The C programming language: expressions; data types; selection commands: if, if - else, if - else - if, switch; iterative commands: while, for, do - while; functions in C; break, continue, goto, return; implementation of the main algorithms of “Computer science” course; vectors.