00819 - Programming

Academic Year 2025/2026

  • Docente: Cosimo Laneve
  • Credits: 12
  • SSD: INF/01
  • Language: Italian
  • Moduli: Cosimo Laneve (Modulo 1) Alina Sirbu (Modulo 2)
  • Teaching Mode: Traditional lectures (Modulo 1) Traditional lectures (Modulo 2)
  • Campus: Bologna
  • Corso: First cycle degree programme (L) in Computer Science (cod. 6640)

Learning outcomes

At the end course, the student knows programming principles, tools and techniques. He/she is able to program in a specific programming language.

Course contents

Introduction to Programming with C++.

Imperative programming in C++: algorithms and programs, data types, assignment, input / output, conditional, iteration, functions, recursion and recursive functions, vectors, records, memory allocation, dynamic data structures (lists, queues, trees)

Object-oriented programming in C++: classes, methods, overloading, inheritance.

Use of a development environment.

Readings/Bibliography

Our reference will be 1, which is in English. 2 is a reference for an Italian book.

1. Savitch - Mock:

  1. "Problem Solving with C++", Pearson (una qualunque edizione)

  2. Deitel - Deitel : "C++. Fondamenti di programmazione", Apogeo.

  3. Material available on the e-learning website (slides of lectures, exercises done during the lectures).

Teaching methods

Lectures and lab sessions.
Most of the lab work will be conducted in the classroom using students’ personal laptops or tablets. At least once during the course, a session will take place in the university’s teaching laboratories, where the written exam is held.

Assessment methods

The exam will assess whether the student has acquired programming skills, particularly the ability to write one or more programs in the C++ language.
The exam also includes the development of a project.

The written test takes place in the teaching laboratories and consists of three exercises: one on arrays, one on dynamic data structures, and one on classes. The maximum score for the written part is 26 points, and it is considered passed with a grade of 16 or higher.

The oral examination involves a discussion of the preliminary development of a project that students carry out in groups of up to three people. The maximum score for the oral part is 6 points.

Teaching tools

Projector, blackboard, laptop, computing laboratory.

Office hours

See the website of Cosimo Laneve

See the website of Alina Sirbu