-
Presentation
Presentation
The objective of this CU is that students learn basic programming concepts and techniques to built computer programas, using the programming language Python. They will learn how to program in Python, from the most basic concepts to more advanced topics like object oriented programming, lambda functions and graphical library Pygame. They will also be exposed to the concepts of cooperative development (using git and pdoc), and software tools like Visual Studio Code and its debugger, but focusing primarly in command line tools. Throughout the CU, the students will have practical exercices, being required to built a text adventure step-by-step. At the end of the CU, the students will have to implement a simple game, provided by the teacher, using Python and Pygame.
-
Class from course
Class from course
-
Degree | Semesters | ECTS
Degree | Semesters | ECTS
Bachelor | Semestral | 6
-
Year | Nature | Language
Year | Nature | Language
1 | Mandatory | Português
-
Code
Code
ULHT1075-7337
-
Prerequisites and corequisites
Prerequisites and corequisites
Not applicable
-
Professional Internship
Professional Internship
Não
-
Syllabus
Syllabus
The Python programming language Objects, expressions and numerical types Variables and assignment Strings and inputs Flow control: if, while, for, break/continue Functions, scope and abstractions Documentation (docstring) Cooperative development (git) Structured types, mutabilitity and higher-order functions Testing and debugging Exceptions and assertions Object-oriented programming Game libraries for Python, particularly pygame.
-
Objectives
Objectives
At the end of the CU, the student should be able to: Develop programs in Python Be able to create and implement an algorithm to solve problems Use cooperative development tools Use an IDE to develop their applications Understand basic concepts that exist in most programming languages Create simple games, using Python and Pygame
-
Teaching methodologies and assessment
Teaching methodologies and assessment
This curricular unit includes theoretical and practical classes. The examples used in the class are simpler versions of actual industry practices. The students will have contact with videos, presentations and exercises so that the can practice the theoretical concepts.
-
References
References
Guttag, J. V. (2016). Introduction to Computation and Programming Using Python, 2ª edição. MIT Press. Lubanovic, B. (2014). Introducing Python: Modern Computing in Simple Packages. O¿Reilly. Craven, P. (2016). Program Arcade Games: With Python and Pygame. Apress. Sweigart, A. (2017). Invent Your Own Computer Games With Python, 4ª edição. No Starch Press
-
Office Hours
Office Hours
-
Mobility
Mobility
No