Unit COMPUTER PROGRAMMING I

Course
Informatics
Study-unit Code
GP004144
Curriculum
In all curricula
Teacher
Francesco Santini
Teachers
  • Francesco Santini
Hours
  • 73 ore - Francesco Santini
CFU
9
Course Regulation
Coorte 2017
Offered
2017/18
Learning activities
Base
Area
Formazione informatica di base
Academic discipline
INF/01
Type of study-unit
Obbligatorio (Required)
Type of learning activities
Attività formativa monodisciplinare
Language of instruction
Italian
Contents
Introduction to programming.
C programming language.
Linked lists.
Reference texts
C in a Nutshell The Definitive Reference By Peter Prinz, Tony Crawford Publisher: O'Reilly Media Release Date: December 2015 Pages: 824
A Book on C: Programming in C (4th Edition), AI Kelly, Ira Kelly, G. Pighizzini (Autori), Addison-Wesley Professional, ISBN-10: 978-0201183993, 2004.
Educational objectives
The student will learn basic programming concepts. Moreover, we will directly acquire programming skills using C language. Finally, we will be able to use a linked list and its basic operations, e.g., insertion and deletion of elements.
Prerequisites
No prerequisite.
Teaching methods
Lectures with slides.
Home assignments.
Compilation examples.
Classroom exercises.
Learning verification modality
Written exam with 9-10 exercises based on understanding and writing pieces of code in C language (duration: 2 hours and half).
If the marks of the written exam are good enough, the student is required to give a Lab exam where she will be asked to modify some parts of a project developed at home (duration: 1 hour and half). Some further questions can asked at the end of the Lab exam, depending on the marks of the two previous tests.
Extended program
- Introduction to programming languages
- Interpreted and compiled languages
- Names, scope, binding
- Introduction to syntax

- Linguaggio C nello specifico:
Language Basics
Types
Literals
Type conversions
Expressions and operators
Statements
Loops
Conditional statements
Functions
Arrays
Pointers
Structures and Unions
Dynamic Memory Management
Input and Output
Pre-processing directives
Compiling with GCC
Using make to build C Programs
Debugging C Programs with GDB

- Linked lists
Condividi su