
- 6 ECTS
- 1st Semester
- Exam: Not specified
Feedback
4 months ago
Em termos de ensino, muito mal lecionada. Aprendi muito pouco com as aulas do professor. As práticas ajudavam um pouco mais. Além disso, a avaliação está dividida 50 de exame e 50 de trabalho mas o exame é bastante puxado pelo que devem esforçar-se no trabalho. Em termos de materiais tínhamos alguns disponíveis para podermos aprender Python mas a adaptação é difícil visto que para muito é o seu primeiro contacto com a linguagem. Tirando isso aconselho a fazerem bastantes exercícios e testes anteriores.
9 months ago
The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.
4 months ago
Não aprendemos de todo a programar em python, as aulas práticas foram muito reduzidas e não nos prepararam nem para o projeto nem para o exame escrito, onde tínhamos de escrever linhas de código bastante complexas. Os materiais dados foram escassos. Aconselho a que em trabalhos de grupo se juntem a colegas com grande experiência em programação, pois caso contrário a sua execução vai se tornar quase missão impossível
About the course
Objectives
Understand the notion of algorithm. Master the concepts of programming in various paradigms: recursive, imperative, functional and object-oriented programming. Develop applications using modularization and data abstraction techniques.
Syllabus
Introduction to programming in Python using an interactive environment. Expressions and types. Functions and procedures. Recursive programming, recursion and iteration. Imperative programming, cycles, assignments and side- effects, parameter passing. Functional programming: abstraction, combinators and fixed-points. Programming with objects: encapsulation, classes, inheritance. Multiparadigm programming and relation between paradigms. Examples: numeric applications, sorting, combinatoric algorithms, optimization. Large-scale programming: modularization and data abstraction. Examples: towers of Hanoi over stacks, static and dynamic implementations, queues and trees. Aplications: sparse matrices, discrete event simulation, random walks, neural nets, artificial life, automated deduction. Hoare logic for the verification of imperative programs: invariant conditions and variant expression of a cycle, application examples.
Cross Competence Component
The UC allows the development of transversal competences on Critical Thinking, Creativity and Problem Solving Strategies, in class, in autonomous work and in the several evaluation components. The percentage of the final grade associated with these competences should be around 15%.
Laboratorial Component
Exercises are solved in a computing laboratory, where students experiment the acquired concepts.
Programming And Computing Component
Covers, in excess, all the recommended contents for a 6 ECTS first mandatory UC in Programming and Computing.
Ethical Principles
All members of a group are responsible for the group’s work. In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.
Something missing or out of date?
Assessment
Tests/Exam 50% and Project 50%.
Has the assessment changed, or is something missing?
Bibliography
Bibliografia Principal
- Introduction to Computation and Programming Using Python: J. Guttag 2013 MIT Press
- Introdução à Programação em Python: C.Caleiro, J.Ramos 2016 DMIST
- Programação em Python: Introdução à programação utilizando múltiplos paradigmas: J. P. Martins 2015 IST Press
- Think Python: How to think like a computer scientist: A. Downey 2012 Green Tea Press
- Learning Python: M. Lutz 2013 5th edition, O’Reilly Media
- Learning IPython for Interactive Computing and Data Visualization: C. Rossant 2013 Packt Publishing
- The Art of Computer Programming (volumes 1--3, 4A): D. Knuth 1998 Addison-Wesley
Missing a book or some materials?