
- 6 ECTS
- 1st Semester
- Exam: Not specified
Feedback
4 months ago
As aulas teóricas são importantes, muito importante preparar os laboratórios, pois abordam temas que saem no projeto e no exame.
9 months ago
you will have to spend more time watching youtube about the subject than going to classes
The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.
9 months ago
About the course
Objectives
Upon completion of the course, students should be able to: 1. develop and implement A&DS and analyse them regarding correctness; 2. understand basic concepts in complexity theory; 3. analyse how efficient A&DS are based on different measures on efficiency, such as time and memory complexity; 4. write programs that use A&DS with help of good programming principles such as the specification of APIs and the use of tests that utilise A&DS 5. solve problems through the use of DS such as linear lists, stacks, queues, hash tables, binary trees, heaps, binary search trees, and graphs, and write programs for the solutions; 6. solve problems by using algorithm design methods such as greedy algorithms, decomposition, dynamic programming, backtracking, and write programs for the solutions; 7. given a specific problem, either design the appropriate DS or create and algorithm that solves the problem or identify the problem as one that cannot be solved efficiently.
Syllabus
1. Basic analysis Introduction to Complexity; Asymptotic analysis of complexity; Standard notations. The Master theorem; The most common complexity classes; Empirical estimate of complexity; Complexity in time and memory; The use of recursion to analyse algorithms. Best, average and worst-case complexity. 2. Basic DS: lists, stacks, queues, hash tables, heaps, trees, graphs. 3. Strategies for algorithms and data abstraction. Brute-force algorithms; Greedy algorithms; Decomposition algorithms; Backtracking; Heuristics 4. Basic algorithms Simple numerical algorithms; Sequencial and binary search; Quadratic sorting (selection insertion, bubble); Sorting in O(N log N) (Quicksort, Heapsort, Mergesort); Hash tables; Binary search trees; Representations of graphs (adjacency lists and matrices); DFS, BFS, and PFS; Shortest path algorithms (Dijkstra and Floyd); Minimum spanning trees (Prim and Kruskal)
Prerequisites
Students must have passed the introdutory level Programming course
Cross Competence Component
The soft skills component is relevant in this course. It is mostly related to the laboratory work and the development of the project throughout the semester. In the laboratory students will work in groups and develop interpersonal relationships, required to achieve a common goal. During project development, time management and creativity will also be essential, as will the ability to write a concise but clear report on the work conducted and a thourough evaluation of its capabilities.Ethics is also an important part of the project development as students must learn how to openly cooperate while following strict rules that require the work presented to be entirely done by them or if parts are used, they must be properly attributed.
Laboratorial Component
Groups of two students will undertake a series of 6 laboratory assignments and will develop a project throughout the semester.
Programming And Computing Component
This curricular unit is essentially a unit in the area of computation and programming. As such all aspects of the unit are directly related to computational reasoning and all aspects of the course, including the evaluation, both the exam as well as the laboratory assignments and project, have components from abstraction, automation, decomposition, debugging, generalization and algorithmic reasoning. Therefore all 6 ECTS in this curricular unit fall in the area of computing. This curricular unit indeed provides 6 additional ECTS in the area of Computing and Programming.
Ethical Principles
All members of a group are responsible for the group’s work In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.
Something missing or out of date?
Assessment
Assessment in the Algorithms and Data Structures course consists of:
- Two theoretical tests (25% + 25%) to be taken during the teaching period.
- Laboratory sessions (10%)
- A project, with an intermediate submission (10%) and a final submission (30%) during the teaching period.
- An exam, if needed to make up the theoretical component
- There is no resit period
- Special period: 1 exam, which accounts for 50% of the final grade.
Working students: assessment conditions are the same as for other students
Minimum grade of 7 out of 20 in the theoretical component and in the project. Valid
for all assessment periods.
Automatically translated from Portuguese
Has the assessment changed, or is something missing?
Bibliography
Bibliografia Principal
- Algorithms in C, Parts 1-5 (Bundle): Fundamentals, Data Structures, Sorting, Searching, and Graph Algorithms": Robert Sedgewick 2001 Addison-Wesley Professional
Bibliografia Secundária
- The C Programming Language-the ANSI edition: Brian W. Kernighan, Dennis M. Ritchie 1988 Prentice-Hall
- Linguagem C: Luis Damas 1999 FCA
- Introduction to Algoritms: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest 1999 MIT Press
- Introduction to Algoritms: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest 1999 MIT Press
Missing a book or some materials?