Manutenção de Sistemas Mecatrónicos

Programação

<< back to Curriculum Plan

Publication in the Diário da República: Despacho n.º 11230/2020 de 13/11/2020 + Despacho n.º 7089/2023 de 03/07/2023

5 ECTS; 1º Ano, 1º Semestre, 45,0 PL + 30,0 TP + 2,50 OT , Cód. 61213.

Lecturer
- Bruno Miguel Santana Chaparro (1)(2)

(1) Docente Responsável
(2) Docente que lecciona

Prerequisites
Not applicable.

Objectives
Students should get basic knowledge of algorithmics and C++ programming, get familiarised with MatLab and LabView softwares and use them to develop programs and solve engineering problems.

Program
1. Algorithms
1.1 Basic Definitions
1.2 Logic in Program Development
1.3 Flowcharts
1.4 Control Structures

2. High-Level Language Programming
2.1 Introduction
2.1.1 Programs
2.1.2 Compilers
2.1.3 Programming Environments
2.1.4 Variables
2.1.5 Data Types
2.1.6 Variable Initialization
2.1.7 Conversion Between Different Data Types
2.2 Programming Structure
2.2.1 Expressions
2.2.2 Statements
2.2.3 Conditional Structures
2.2.4 Functions
2.2.5 Arrays
2.3 Errors
2.3.1 Types of Errors
2.3.2 Debugging
2.4 Programming Techniques
2.4.1 Structure of a Program
2.4.2 Classes
2.4.3 Data Input and Output

3. Mathematical Programming
3.1 Introduction
3.1.1 Variables
3.1.2 Matrices
3.1.3 Operators
3.2 Programming Structure
3.2.1 Functions
3.2.2 Conditional Structures
3.2.3 For and While Loops
3.2.4 Scripts
3.2.5 Debugging
3.2.6 Data Import and Export
3.3 Visualization Tools
3.3.1 XY Graphs
3.3.2 3D Graphs
3.4 Symbolic Computation
3.4.1 Declaration of Symbolic Variables
3.4.2 Analytical Equation Solving

4. Introduction to Databases
4.1 Database Structures
4.2 Variable Types
4.3 Database Implementation

5. Microprocessor Programming
5.1 Introduction
5.2 Inputs and Outputs
5.3 Types of User Interfaces
5.4 Development Board Programming

Evaluation Methodology
All Assessment Periods:
The final grade will be the average of the practical work (dossier) grade and the theoretical-practical exam grade. Each component carries a relative weight of 50%.
Practical work will be carried out throughout the semester, culminating in a comprehensive course dossier.

Bibliography
- Manzano, J. e Oliveira, J. e , . (2009). Algoritmos. Brasil: Érica

Teaching Method
In the TP sessions, students acquire knowledge of programming languages, supported by the analysis and discussion of algorithms. In the PL sessions, students are guided in the development and practice of programming techniques.

Software used in class
Visual Studio
Arduino IDE (C)
MatLAB
Labview

 

 

 


<< back to Curriculum Plan
ISO 9001
NP4552
SGC
KreativEu
erasmus
catedra
b-on
portugal2020
centro2020
compete2020
crusoe
fct
feder
fse
poch
portugal2030
poseur
prr
santander
republica
UE next generation
Centro 2030
Lisboa 2020
Compete 2030
co-financiado