25h Th, 20h Pr, 40h Proj.
Number of credits
Language(s) of instruction
Organisation and examination
Teaching in the first semester, review in January
Units courses prerequisite and corequisite
Prerequisite or corequisite units are presented within each program
Learning unit contents
Solving complex problems involves their decomposition into standard subproblems for which efficient and well-studied algorithms and data structures exist. This course is an introduction to the most important data structures and associated algorithms.
The course topics will include:
- Tools to analyse algorithms (correction of algorithms, asymptotic notations, sums and recurrences...)
- Sorting algorithms (merge sort, quicksort, heapsort...)
- Elementary data structures (stacks, priority queues, vector, sets, heap, graphs...)
- Dictionnary structure (binary search trees, hash tables, tries...)
- Generic problem solving methods (brute force, divide and conquer, greedy algorithm, dynamic programming...)
Learning outcomes of the learning unit
At the end of the course, the students will master the basis of algorithmics and will have a good knowledge of the main data structures. Given a new problem, they will be able to make a principled choice of the most appropriate choice of structure and manipulation algorithm given the practical problem constraints. They will be also able to initiate the main theoretical tools available to analyse the performance of algorithms.
Prerequisite knowledge and skills
Prerequisites are the following:
- INFO0946: Introduction to computer programming (http://progcours.ulg.ac.be/cocoon/cours/INFO0946-1.html)
- INFO0947: Complements of computer programming (http://progcours.ulg.ac.be/cocoon/cours/INFO0947-1.html)
- INFO0030: Programming projects (http://progcours.ulg.ac.be/cocoon/cours/INFO0030-3.html)
- MATH0499: graph theory (http://progcours.ulg.ac.be/cocoon/cours/MATH0499-1.html)
Planned learning activities and teaching methods
The weekly theoretical and exercice class will be complemented by practical assignments, which will consist in analysing a problem, finding the best algorithm and data structures to solve it, and to implement the solution in C. The participation to the theoretical lectures is voluntary but highly recommended. The assignments are mandatory.
Mode of delivery (face-to-face ; distance-learning)
Face-to-face, in the first semester.
Recommended or required readings
Several reference books will be recommended to the students, but not mandatory. Slides, problems and solutions and other materials will be available on the course webpage.
Assessment methods and criteria
- First session (January): 3 assignments (30%) and written exam (70%).
- Second session: 1 assignment for students who have not completed the assignments during the year (10%), written exam (90%).
- Assignments are mandatory to have access to the written exam. Student who have completed the assignments during the semester can keep their mark for the second session.
Course web page
This web page collects lecture notes, practical exercices, and all details about the projects.