Go to:
Logótipo
You are in:: Start > CC2001

Algorithm Design and Analysis

Code: CC2001     Acronym: CC2001     Level: 200

Keywords
Classification Keyword
OFICIAL Computer Science

Instance: 2018/2019 - 1S

Active? Yes
Web Page: http://www.dcc.fc.up.pt/~apt/aulas/DAA/1819
Responsible unit: Department of Computer Science
Course/CS Responsible: Bachelor in Computer Science

Cycles of Study/Courses

Acronym No. of Students Study Plan Curricular Years Credits UCN Credits ECTS Contact hours Total Time
L:B 0 Official Study Plan 3 - 6 56 162
L:CC 89 Plano de estudos a partir de 2014 2 - 6 56 162
L:F 1 Official Study Plan 2 - 6 56 162
3
L:G 0 study plan from 2017/18 2 - 6 56 162
3
L:M 11 Official Study Plan 2 - 6 56 162
3
L:Q 0 study plan from 2016/17 3 - 6 56 162
MI:ERS 140 Plano Oficial desde ano letivo 2014 2 - 6 56 162

Teaching language

Portuguese

Objectives

To learn techniques for designing and analyzing algorithms.

Learning outcomes and competences

Improving background on generic models of common problems and the algorithmic techniques for solving them. Practical experience in applying generic algorithms to specific problems. Competence in the asymptotic analysis of the running time of algorithms.

Working method

Presencial

Pre-requirements (prior knowledge) and co-requirements (common knowledge)

Students should know simple algorithms and data structures (for counting, searching and sorting) and a programming language (C/C++ or JAVA).

Prerequisites: "Imperative Programming" (CC1003) or  "Data Structures"(CC1007), or some course unit with equivalent content.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Program

Asymptotic analysis of algorithms: Big O notation (O, Ω e Θ), estimating execution time, analyzing iterative and recursive programs;

Sorting: sorting as basic element of other algorithms; comparative and non comparative algorithms, binary search and direct and indirect applications;

Algorithm design techniques: exhaustive search, greedy algorithms, divide and conquer, dynamic programming;

Some specialized data structures: priority queues, disjoint sets;

Balanced Binary Search Trees: Red-Black trees;

Graph algorithms: graph representation, depth-first search, breadth-first search, minimum spanning trees, minimum distances, maximum flow.

Mandatory literature

Cormen Thomas H. 070; Introduction to algorithms. ISBN: 9780262033848 hbk
Skiena Steven S.; The algorithm design manual. ISBN: 978-1-84800-069-8
J. Kleinberg, E. Tardos; Algorithm Design, Addison-Wesley, 2005. ISBN: 978-0321295354

Complementary Bibliography

R. Sedgewick and K. Wayne; Algorithms, 4th Edition, Addison-Wesley, 2011. ISBN: 978-0321573513
S. Halim and F. Halim; Competitive Programming, 1st Edition, 2011

Teaching methods and learning activities

Regular lectures for exposing the program topics and discussing examples. Laboratory classes for solving exercise sheets and programming problems for implementation, with automatic feedback and evaluation by the Mooshak system.

Software

Servidor Mooshak para CC2001 (http://mooshak.dcc.fc.up.pt/~daa)
Linguagens de programação/Programming Languages: C, C++ or Java

Evaluation Type

Distributed evaluation with final exam

Assessment Components

designation Weight (%)
Exame 75,00
Trabalho laboratorial 25,00
Total: 100,00

Amount of time allocated to each course unit

designation Time (hours)
Estudo autónomo 71,00
Frequência das aulas 56,00
Trabalho laboratorial 35,00
Total: 162,00

Eligibility for exams

Students must attend at least 75% of the pratical classes to be admitted to the exams. Students who miss more than four classes cannot attend the exams. 

Calculation formula of final grade

NP: practical grade, worth 25% of the final grade: 2 practical tests  (or a single one in the end of the semester if it will be impossible to have two during the semester).

NT: If it fits in with the academic calendar for 2018/2019, there will be two optional tests during the semester (TE1, TE2).  To attend TE2, it is required a minimum grade of 8.0/20.0 in TE1.  The second test covers all topics.  A minimum grade of 8.0/20.0 is required also.

      NT = max(0.4*TE1+0.6*TE2, TE2, FinalExam)

The final grade is given by

      NP + 0.75*NT   (required at least 9.5 out of 20)

Students do not need to take the final exam if max(0.4*TE1+0.6*TE2, TE2) >= 8.

Academic integrity violations: the regulations from FCUP/University of Porto will be applied.

Examinations or Special Assignments

Along the semester there will be two written tests (if that fits the academic calendar 2018/2019),  and one or two programming tests. The written tests and exams consist of generic questions plus questions about problems seen in the theoretical and laboratory classes.

There will be one or two programming tests (weighted at 25% in total). They  consist in the submission, using the Mooshak system, of solutions to problems similar to those proposed in the laboratory classes and for homework.

Special assessment (TE, DA, ...)

The pratical component is compulsory for every student, regardless of special status of any kind. If the student does not take the practical test, it will score 0 in that component.

Classification improvement

Students approved in 2017/2018, who wish to improve their grade, must take the practical test and the final exam.

Recommend this page Top
Copyright 1996-2024 © Faculdade de Ciências da Universidade do Porto  I Terms and Conditions  I Acessibility  I Index A-Z  I Guest Book
Page created on: 2024-09-01 at 08:18:45 | Acceptable Use Policy | Data Protection Policy | Complaint Portal