PROGRAMMING AND PROGRAMMING LABORATORY
Academic year and teacher
If you can't find the course description that you're looking for in the above list,
please see the following instructions >>
- Versione italiana
- Academic year
- 2015/2016
- Teacher
- GIACOMO PIVA
- Credits
- 12
- Didactic period
- Primo Semestre
- SSD
- INF/01
Training objectives
- The purpose of the course is to introduce students to the concepts and issues underlying programming.
During the course students will acquire specific knowledge about the basic electronic computer's elements: hardware and software. The concepts of algorithm, data type, structured programming and procedural paradigm are introduced also the basic syntax of the C language and the use of the C compiler for the Linux platform . The course proceeds with a thorough description of all the features of the C language giving students all the knowledge to implement simple even complex programs.
After completing the course , students will gain skills on the analysis of the problems solved by applying an algorithm, the design and implementation (coding) of algorithms written in C language, so the compiling and execution. Prerequisites
- None
Course programme
- The course includes 96 hours of teaching, lessons and exercises, in particular, 54 hours of lectures and 42 hours of exercise.
First Part:
First 45 hours are dedicated to basic concepts introduction and fundamentals of structured programming.
Computer basic concepts: hardware and software
The algorithms
Basic concepts of programming with the C language:
Basic data types for variables and operators.
Structured programming: if, if-else, for, while, do-while and switch statements.
Basic functions to handle input and standard output
Fundamental data structures (one-dimensional arrays and multi-dimensional arrays)
Functions definition and implementation
Second Part:
Other 51 hours are dedicated to complex data structures of C language:
C Strings
Structured data types
Pointers and memory management
Linked data structures (list and stack)
Data persistence: writing and reading files. Didactic methods
- The course is organized as follows:
The teacher held lectures on all topics of the course, with examples.
The teacher assigns exercises to students to be carried out independently and offers some solutions. Learning assessment procedures
- Written examination is mandatory.
Practical examination is mandatory before Written examination. Dates for delivery are exposed in Writing examination subscription process.
Written examination is composed two parts, successfully overcome of the first part is mandatory to access the second part.
The maximum possible score with the only written exam and 30 cum laude.
Optional oral examination. Reference texts
- Notes provided by the teacher.
Mandatory Text Book: Kernighan & Ritchie: C Programming Language (second edition)
Suggested Text Book: C Programming Absolute Beginner's Guide: Greg Perry and Dean Miller. Editor Que Pub; 3 edizione