Subject: Introduction to Programming
Scientific area:
Computer Science
Contact hours:
64 Hours
Number of ECTS:
6 ECTS
Language:
Portuguese
General Objectives:
1 - The aim of this course is to develop students' ability to understand and apply the fundamental principles of programming, using a modern and accessible language (such as Python) to solve problems in a structured way.
2 - The aim is for students to acquire skills in logic, algorithms, control structures, functions, data manipulation, and basic concepts of object-oriented programming.
2 - The aim is for students to acquire skills in logic, algorithms, control structures, functions, data manipulation, and basic concepts of object-oriented programming.
Contents / Syllabus:
1 - Fundamental concepts of programming and computational logic.
2 - Algorithms: definition, construction and representation (flowcharts and pseudocode).
3 - Data types, variables, and operators.
4 - Decision structures (if, elif, else).
5 - Repetition structures (for, while).
6 - Functions: definition, parameters, return value, and modularization.
7 - Basic data structures: lists, tuples, dictionaries, and sets.
8 - String manipulation and text formatting.
9 - Data input and output.
10 - Data input and output.
11 - Error and exception handling.
12 - Object-oriented programming: classes, objects, methods, and attributes.
13 - Python standard libraries and module import.
14 - Introduction to debugging and good programming practices.
15 - Classic algorithms: searching, sorting, and basic complexity.
16 - Introduction to the use of development environments (VS Code, PyCharm).
17 - Composite and nested data structures.
18 - Development of small, complete programs.
19 - Effective code documentation and comments.
2 - Algorithms: definition, construction and representation (flowcharts and pseudocode).
3 - Data types, variables, and operators.
4 - Decision structures (if, elif, else).
5 - Repetition structures (for, while).
6 - Functions: definition, parameters, return value, and modularization.
7 - Basic data structures: lists, tuples, dictionaries, and sets.
8 - String manipulation and text formatting.
9 - Data input and output.
10 - Data input and output.
11 - Error and exception handling.
12 - Object-oriented programming: classes, objects, methods, and attributes.
13 - Python standard libraries and module import.
14 - Introduction to debugging and good programming practices.
15 - Classic algorithms: searching, sorting, and basic complexity.
16 - Introduction to the use of development environments (VS Code, PyCharm).
17 - Composite and nested data structures.
18 - Development of small, complete programs.
19 - Effective code documentation and comments.
Bibliography / Information Sources:
J. V. Guttag , 2013 , Introduction to Computation and Programming Using Python (revised and expanded edition) , MIT Press
Downey, A , 2015 , Think Python: How to think like a computer scientist , O?Reilly Media
Zelle, J. , 2017 , Python programming: An introduction to computer science , Beedle & Associates
Downey, A , 2015 , Think Python: How to think like a computer scientist , O?Reilly Media
Zelle, J. , 2017 , Python programming: An introduction to computer science , Beedle & Associates
Assessment Methods and Criteria:
Classification Type: Quantitativa (0-20)
Evaluation Methodology:
Teaching methodologies will be adopted that combine theoretical exposition with a strong practical and experimental component. Classes will include explanations of fundamental computer architecture concepts, followed by demonstrations and practical exercises in analysis and assembly programming. Laboratories will be conducted where students can program microcontrollers, test circuits, and observe the real-world operation of systems, promoting active learning and understanding of the interactions between hardware and software. The final project will allow the integrated application of acquired knowledge in the development and implementation of a functional solution, while the exam will assess the understanding of theoretical concepts and system architecture, ensuring a balance between theory and practice. 50% of the final grade is determined by attendance/exams, and the remaining 50% is determined by the project.
Evaluation Methodology:
Teaching methodologies will be adopted that combine theoretical exposition with a strong practical and experimental component. Classes will include explanations of fundamental computer architecture concepts, followed by demonstrations and practical exercises in analysis and assembly programming. Laboratories will be conducted where students can program microcontrollers, test circuits, and observe the real-world operation of systems, promoting active learning and understanding of the interactions between hardware and software. The final project will allow the integrated application of acquired knowledge in the development and implementation of a functional solution, while the exam will assess the understanding of theoretical concepts and system architecture, ensuring a balance between theory and practice. 50% of the final grade is determined by attendance/exams, and the remaining 50% is determined by the project.


