Algorithms 1

Course objectives

General goals: This course introduces students to basic methods for algorithm design and analysis. They will study well-known algorithms that solve fundamental problems such as sorting or searching, together with the simplest tools to analyze them from an efficiency point of view. Specific goals The course aims to make the basic algorithms and fundamental data structures correctly used. In particular, the main algorithms for solving search and sorting problems will be addressed. The most important data structures will then be studied: unordered and ordered arrays, simple and double lists, dictionaries, trees. Finally, the tools for calculating the computational cost of algorithms will be provided. Knowledge and understanding: At the end of the course, students will know the basic methodologies for the design and analysis of iterative and recursive algorithms, elementary data structures, the main sorting algorithms and the most basic implementations of dictionaries. Applying knowledge and understanding: At the end of the course, students will be familiar with the main basic data structures, particularly those implementing dictionaries. They will be able to explain the algorithms and analyze their complexity, highlighting how performance depends on the data structure used. They will be able to design new data structures and related algorithms, reworking existing ones; will be able to explain the main sorting algorithms, illustrating the underlying project strategies and the related complexity analyses; they will be able to compare the asymptotic behavior of the execution times of the studied algorithms; they will be able to design recursive solutions to problems and asymptotically analyze the resulting algorithms. Critical and judgmental abilities: The student will have the basis for analyzing the quality of an algorithm and of the related data structures, both from the point of view of the effective resolution of the problem and from that of the computational efficiency with which the problem is solved. Communication skills: The student will acquire the ability to present his knowledge in a clear and organized way, which will be verified through the questions presented in the written tests and during the oral exam. The student will be able to express an algorithmic idea rigorously at a high level, in pseudocode. Learning ability: The knowledge acquired will allow the student to tackle the study of algorithmic techniques and more advanced data structures.

Channel 1
TIZIANA CALAMONERI Lecturers' profile

Program - Frequency - Exams

Course program
This course includes the following teaching units: Course introduction [2 hours] Asymptotic notation [10 hours] The research problem [8 hours] Introduction to recursion [10 hours] The sorting problem [10 hours] Fundamental data structures [20 hours]
Prerequisites
Indispensable prerequisites for attending the lessons of the Algorithms 1 course are the basic notions of calculus and the foundations of any modern high-level programming language, for example, those that are provided in the first module of the course of Math and the first course of Programming, both compulsory for everyone and placed in the first semester of the first year of the course.
Books
T. H. Cormen, Charles E. Leiserson, Ronald L. Rivest: Introduction to algorithms, The MIT Press It will be the teachers' responsibility to publish written material, related to the lessons and exercises (in the form of teacher's notes) on the private platform of Unitelma.
Teaching mode
Remote teaching mode. Beside the recorded lectures, there is a support activity by the teacher and a "tutoring" activity in which exercises are proposed to students, in agreement with them about the topics. Attending lectures is not compulsory.
Frequency
attending lessons is not compulsory.
Exam mode
The exam assesses learning through a written test and an oral exam. The written exam is very streamlined and consists of short theoretical questions and the solution of problems similar to those covered in the exercises. The oral exam, which is open to those who achieve a passing grade in the written exam, consists of a discussion of the most relevant theoretical topics covered in the course and the development of algorithmic solutions to proposed problems. To pass the exam, students must achieve a grade of at least 18/30. Students must demonstrate sufficient knowledge of the topics covered in all sections of the program. To achieve a grade of 30/30 with honors, students must demonstrate excellent knowledge of all the topics covered in the course and be able to connect them in a logical and coherent manner.
Lesson mode
The course is taught remotely. In addition to recorded classroom teaching, the instructor provides support (online meetings upon request) and a tutor who answers students' questions on the dedicated forum and organizes exercises on topics agreed upon with the students (webinars). Attendance is not mandatory.
  • Lesson code10620599
  • Academic year2025/2026
  • CourseComputer Science
  • CurriculumSingle curriculum
  • Year1st year
  • Semester2nd semester
  • SSDINF/01
  • CFU6
  • Subject areaFormazione informatica