- Docente: Francesco Barchi
- Credits: 3
- Language: Italian
- Teaching Mode: Traditional lectures
- Campus: Bologna
- Corso: First cycle degree programme (L) in Mechatronics (cod. 6009)
-
from Sep 25, 2024 to Dec 18, 2024
Learning outcomes
The student learns to design an algorithmic solution of a given problem using the C language.
Course contents
Topics:
- Operating System Usage
- Terminal Usage
- Introduction to the C Language
- Compiler Usage
- Debugger Usage
- Representation of Numeric Data (int, float, double)
- Branch (if-else) and Loop (while, do-while, for)
- Terminal Input and Output
- Representation of Aggregate Data (arrays, matrices)
- Functions
- C Standard Library
- Representation of Structured Data (structs)
- File Input and Output
- Command Line Input (argc, argv)
- Algorithms (searching, sorting)
- Dynamic Memory Management
Readings/Bibliography
- Brian W. Kernighan, Dennis M. Ritchie, "C Programming Language", 2nd Ed, Pearson, 1988.
- H. M. Deitel, P. J. Deitel, "C How to Program", 9th Ed, Pearson, 2021.
Teaching methods
- Slides
- Guided exercises
- Free exercises
Assessment methods
The student's learning will be assessed through a written test in which the resolution of one or more problems will be required by developing one or more programs in the C language.
Teaching tools
To support the teaching, a computer will be made available to the student with:
- Linux operating system
- Compiler
- Debugger
- Text editor
Office hours
See the website of Francesco Barchi