
Algorithms in Discrete Mathematics
Description
It is intended that by the end of this course the student can: • Complete and give structure to some previously acquired basic knowledge; • Solve problems through structured elementary methods; • Understand and apply basic and universal concepts, that are basic for several tools of various sciences, in a context close to the applications; • Use (and create, whenever possible) algorithmic solutions to various problems. • Be able to use computational tools to solve problems. 1. Revision of some basic principles of combinatorics: counting, listing, ordering, sets and multisets, counting functions of certain types (one-to-one, onto, increasing, decreasing), partitions, etc.; the combinatorics of permutations. 2. Decision trees and recursion: basic definitions, order, rank, depth-first and breadth first; recursive algorithms, sorting, Gray codes; recurrence relations, characteristic equation, Fibonacci and Catalan sequences, derrangements. 3. Introduction to graph theory: definitions and examples, isomorphism, random graphs; digraphs and flows; Euler circuits and hamiltonian cycles; trees, Prim and Kruskal algorithms, depth-first and breadth first. 4. Introduction to the analysis of algorithms. [Time permitting.] Lectures and classes: The contents of the syllabus are presented in the lectures, where examples are given to illustrate the concepts. There are also practical lessons, where exercises and related problems are solved. All resources are available for students at the unit’s web page. Assessment/evaluation: designation Weight (%) Teste 50,00 Exame 50,00 Total: 100,00 The syllabus will be divided into two parts. each one evaluated by a test worth 10 points. First season exam: 1. The final mark is the sum of the marks obtained in each test, except possibly in the following case: 2. Marks above 18 require an extra proof (oral or written). Second season exam: 1. In the second season exam, students may repeat both tests or just one of them (except when they are just trying to improve their mark). 2.The mark of one (but only one) of the tests may be replaced a posteriori by the mark obtained in the respective test of the first season, in the version which favours most the student (except when they were approved before). 3. The final mark of the second season is the sum of the marks obtained in both tests, rounded to integers, except possibly in the following cases: 4. Students having obtained a mark equal or above 8,0 and below 9,5 have access to a complementary proof to decide if they are approved (with 10 points) or if they fail (with 8 or 9 points). 5. Marks above 18 require an extra proof (oral or written). SIGARRA mobility teaching-language note: Suitable for English-speaking students. Incoming mobility students choose course units through SIGARRA and a Learning Agreement. U.Porto states that one ECTS credit corresponds to 27 hours of total student work, the standard load is 30 ECTS per semester or 60 ECTS per academic year, students are strongly advised to register for at least 20 ECTS per semester, and enrolment is subject to timetable compatibility, prerequisites, vacancies, and later programme changes.
Preview the 5 closest equivalencies already indexed in our system
M2007 has possible credit equivalents including INFR08031 at The University of Edinburgh.