Unit PROCEDURAL PROGRAMMING WITH LABORATORY

Course
Informatics
Study-unit Code
A002058
Curriculum
In all curricula
Teacher
Francesco Santini
Teachers
  • Francesco Santini
Hours
  • 73 ore - Francesco Santini
CFU
9
Course Regulation
Coorte 2022
Offered
2022/23
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 How to Program (8th Edition), Paul J. Deitel and Harvey M. Deitel (Authors), Publisher: Pearson; 8 edizione, ISBN-10: 0133976890, Pages: 1008, 2015.

C Pocket Reference, Peter Prinz, Ulla Kirch-Prinzm, Publisher: O'Reilly Media, ISBN-10: 0596004362, Pages: 144, 2002.
Educational objectives
Students will learn basic programming concepts and problem solving. 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.
Other information
Attendance of lectures is strongly suggested

Website: www.unistudium.unipg.it

For the exam schedule, see:
www.informatica.unipg.it
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). Some further questions can asked at the end of the Lab exam, depending on the marks of the two previous tests. The written exam is scored 18-30, then 4-5 more points will be given to the assigned project. The oral exam is then used to assess the skills of a student and tune the final mark.

For information on support services for students with disabilities and / or DSA visit the page http://www.unipg.it/disabilita-e-dsa
Extended program
- Introduction to programming languages
- Interpreted and compiled languages
- Names, scope
- Versioning systems (GitHub)

- C language:
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
Debugging C Programs with GDB

- Linked lists
Condividi su