Vai al contenuto
Data Science and Artificial Intelligence

Trieste

Advanced Programming

ING-INF/05Primo Semestre48 oreOraleInglesea.a. 2026/2027
Programma
The UNIX shell. Version control: Git. The build process: preprocessor, compiler, linker and loader. Introduction to GNU Make and CMake. Best practices for writing reliable code: error handling, unit testing, and software documentation. Advanced programming in C++. Built-in data types. Variables, pointers and references. Control structures. Functions. Custom data types and classes. Object-oriented programming, inheritance and polymorphism. Lambda functions and functors. Templates and generic programming. Smart pointers. Containers and algorithms from the Standard Template Library. New features of C++14/17/20. Debugging and profiling: introduction to GDB and Valgrind. Advanced programming in Python. Built-in data types. Variables, lists, tuples, dictionaries and sets. Control structures. Functions. Mutable and immutable data types. Plotting. Custom data types and classes. Object-oriented programming, inheritance and polymorphism. Modules and packages. Introduction to NumPy and SciPy for scientific computing. Introduction to pandas for data analysis. Integrating C++ and Python codes.
Modalità d'esame
The evaluation of students in this course will comprise of two components: homework assignments and a computer-based written exam. Throughout the course, students will be assigned a series of small homework projects to complete either individually or in groups. Students are expected to submit the solution code and deliver a brief presentation, supported by slides, outlining their proposed solution and design choices. The computer-based written exam will consist of programming questions and exercises designed to assess the students' mastery of the course material. Some of the exam solutions must be submitted in digital format rather than in handwritten form. Additionally, an optional oral exam may be requested by either the student or the instructor. The oral exam may increase or decrease the student's grade by up to 3 points. The maximum achievable grade is 30. Honors may be granted in exceptional cases, provided the final grade exceeds 30. Overall, the evaluation process is designed to encourage students to actively engage with the material and to develop practical skills that will be useful in their future careers.
Obiettivi
1. Knowledge and understanding Students will acquire a comprehensive understanding of advanced programming concepts, specifically in C++ and Python. They will become familiar with object-oriented and generic programming paradigms, as well as proficient in utilizing common data structures, algorithms, and relevant libraries and frameworks for scientific computing. Furthermore, students will be introduced to fundamental software development tools in a Linux environment, encompassing essential aspects like software documentation, version control, testing, and project management. 2. Applying knowledge and understanding Students will be adept at applying their advanced programming knowledge to solve both familiar and novel coding challenges. They will be able to develop advanced programs in C++ and Python, choosing and designing appropriate data structures and algorithms to address complex real-world computational problems. 3. Making judgments Students will develop critical thinking and analytical skills, enabling them to assess the effectiveness, flexibility, and efficiency of code implementations. They will be capable of evaluating different approaches to problem-solving and selecting optimal solutions based on informed analysis. By the end of the course, students will have developed the ability to design, implement, test, debug, and optimize complex scientific software. 4. Communication skills Through a combination of homework assignments, code documentation, and presentations, students will learn to effectively communicate their design decisions, code rationale, and problem-solving strategies. They will be skilled at conveying technical information to both technical and non-technical audiences. 5. Learning skills Students will acquire self-directed learning abilities, enabling them to stay current with evolving and new programming languages, tools, and technologies. They will be equipped to independently identify and troubleshoot coding issues and propose innovative solutions. They will also gain experience in team-based software development practices by working on group programming projects.
Prerequisiti
Former knowledge of programming fundamentals (syntax, data types, variables, control structures, functions) is required for this course. While prior experience with a programming language, such as C, C++, Java, or Python, is recommended, it is not mandatory.

Programma dell'a.a. 2025/2026: quello del 2026/2027 non è ancora pubblicato dal docente.

Fonte: scheda ufficiale dell'insegnamento, sito di Trieste.