Go to:
Logótipo
You are here: Start > MEB0030

Data Structures and Algorithms

Code: MEB0030     Acronym: EDA

Keywords
Classification Keyword
OFICIAL Biomedical Engineering

Instance: 2022/2023 - 1S Ícone do Moodle

Active? Yes
Responsible unit: Department of Informatics Engineering
Course/CS Responsible: Master in Biomedical Engineering

Cycles of Study/Courses

Acronym No. of Students Study Plan Curricular Years Credits UCN Credits ECTS Contact hours Total Time
MEB 17 Syllabus 1 - 6 52 162
2
Mais informaçõesLast updated on 2022-07-25.

Fields changed: Objectives, Palavras Chave, Componentes de Avaliação e Ocupação, Programa

Teaching language

Suitable for English-speaking students

Objectives

The main objectives of this course are:
1) to complement the knowledge on computer programming, acquired in the course of Introduction to Scientific Programming, using the C language for program development;
2) to transmit fundamental concepts about data structures, design and analysis of algorithms, providing students with the ability to apply the referred programming paradigm to develop programs in which the data structures and algorithms available in the Standard Template Library (STL) of C++ are used, as well as abstractions developed by themselves

Learning outcomes and competences

The students who complete successfully this curricular unit must be able:
- to identify the main concepts of procedural and object oriented programming;
- to describe typical applications of the studied data structures and algorithms and to select / create data structures and algorithms to solve low/medium complexity problems;
- to solve programming problems using the C/C++ programming language and the abstractions from the C++ Standard Template Library (STL), implementing their own data structures and algorithms whenever necessary.

Working method

Presencial

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

Attendance to the Introduction to Scientific Programming course, with approval, is recommended.

Program

INTRODUCTION TO C/C++
Fundamental data types and basic I/O.
Operators. Arithmetic and Boolean expressions.
Flow control structures: selection; repetition. S
tructured data types: arrays and C strings; STL vectors and C++ strings.
Pointers and dynamic memory allocation.
Functions: definition and declaration; local and global variables; parameter-passing mechanisms (call-by-value and call-by-reference) and return values; function overloading; templates. Recursive functions.
Streams: input/output using text files; stringstreams.
INTRODUCTION TO CLASSES AND DATA ABSTRACTION
Fundamental concepts. Classes and structs.
Encapsulation.
Data-members and function-members.
Constructors; constructors with parameters.
Special qualifiers: const, static, friend. 
Copy-constructors. 
Destructors. 
Operator overloading. 
Template classes.
INTRODUCTION TO THE DESIGN OF OBJECT-ORIENTED CODE
Relationships among classes; implementing associations.
STANDARD TEMPLATE LIBRARY
Containers: string, vector, list, map, multimap, set, multiset.
Iterators and algorithms.
INHERITANCE AND POLYMORPHISM
Inheritance and polymorphism concepts.
Derived classes. Accessing base-class members.
Function overloading, function overriding (virtual functions) and templates.
Abstract classes. 
EXCEPTION HANDLING (introduction).
APPLICATION EXAMPLES (along the whole course)
Program conception using object oriented design. Search and sort algorithms; analysis of the complexity of algorithms. Linear data structures and their implementation.

Mandatory literature

Cay Horstmann, Timothy Budd; Big C++, Wiley, 2009. ISBN: ISBN 978-0-470-38328-5

Complementary Bibliography

Walter Savitch; Problem Solving with C++, Addison-Wesley, 2009. ISBN: ISBN-13: 9780321531346
H. M. Deitel, P. J. DeitelDeitel; C++ how to program. ISBN: 0-13-185757-6
Mark Allen Weiss; Data structures and algorithm analysis in C++. ISBN: 0-201-36122-1

Teaching methods and learning activities

- Theoretical-practical classes: will be based on the oral presentation of the themes, accompanied with problem solution and discussion, and the presentation of good programming practices.
- Practical classes: will be based on the development of computer programs, in C/C++, to solve the proposed exercises, and on the partial development of small programming projects. 
-Self-learning: study of the program subjects, using the bibliography and the material provided in the Web page of the curricular unit, resolution of exercises and development of the projects started in the labs.

Software

Ambiente de desenvolvimento em C/C++ (Windows ou Linux)

keywords

Physical sciences > Computer science > Programming

Evaluation Type

Distributed evaluation with final exam

Assessment Components

Designation Weight (%)
Exame 60,00
Trabalho prático ou de projeto 40,00
Total: 100,00

Amount of time allocated to each course unit

Designation Time (hours)
Estudo autónomo 80,00
Frequência das aulas 52,00
Elaboração de projeto 30,00
Total: 162,00

Eligibility for exams

To attend the classes, as specified in the general rules, and to achieve a minimum grade of 40% in the distributed component . Students who have attained the minimum required grading in the distributed evaluation component in the previous occurrence of this course may keep the obtained grading; in this case they must inform the teacher, during the first week of the course, and they should not register for the practical classes.

Calculation formula of final grade

The final grade is given by: cFINAL = 0,4 * cDIST + 0.6 * cEXAM where cDIST and cEXAM represent, respectively, the distributed component grade and the exam grade. The result of the distributed component will be calculated on the basis of the grade obtained in a practical assignment, to be done during the semester and to be submitted by the end of the semester. The exam will be done with "open book/notes". To be approved, students have to achieve a minimum grade of 40% in cDIST and cEXAM components.
The final mark cannot exceed by more than 4 points the mark of the final exam rounded to the nearest integer.

Special assessment (TE, DA, ...)

Students with a special status will be assessed in the same way as ordinary students. They should to do all the projects and deliver them on the dates scheduled for regular students. Final exam is also mandatory.

Classification improvement

Students can only improve the mark of the distributed assessment component in the following year. Students can improve the mark of the written exam at the corresponding seasons (according to the rules). The improvement of only one of the components will imply maintaining the classification previously obtained in the other component, being applied the formula previously presented for the calculation of the final grade.

Recommend this page Top
Copyright 1996-2024 © Faculdade de Engenharia da Universidade do Porto  I Terms and Conditions  I Accessibility  I Index A-Z  I Guest Book
Page generated on: 2024-07-17 at 01:21:56 | Acceptable Use Policy | Data Protection Policy | Complaint Portal