
LEI · Faculdade de Ciências e Tecnologia da Universidade NOVA de Lisboa
Object Oriented Programming
- 9 ECTS
- 2nd Semester
- Exam: Optional
Feedback
4 months ago
Nos projetos estudem bem como fonciona a qualidade porque é importante e tem muita coisa
4 months ago
Cadeira que mais gostei do primeiro ano.
As aulas teóricas eram um pouco maçantes, mas as práticas compensavam. Todas as semanas projetos novos e em que realmente se aprende.
Os testes não eram muito difíceis, para quem desenvolveu os projetos semanais e o projeto final, tenho a certeza que já está muito bem preparado para os testes.
Não esquecer de complementar com a matéria dos slides, porque houveram matérias que não apareceram em projeto que aparecem nos testes. Mas para isso é fazer testes dos anos anteriores.
4 months ago
Foi a cadeira que mais gostei até agora e vou agora para o terceiro ano. Java é uma boa linguagem para aprendizagem. Não se assustem com Classes, interfaces e subclasses! É super fácil e muito melhor que ter tudo na main. As aulas são muito importantes e os “projetos semanais” ajudam. Quanto aos projetos em si são super interessantes de fazer e não são complicados. Se tiverem dúvidas perguntem a vossos veteranos, eles conseguem ajudar vos de certeza e não se foquem muito nos PowerPoints
4 months ago
Cadeira ótima. Vão aprenderem a programar bem melhor. As aulas práticas valem mesmo apenas. Ha vários exercícios durante a semana para aprenderem que vai estar disponível no moodle. A cadeira e difícil então estudem bastante para não deixarem matéria acumular. Os professores nao sao os melhores a ensinar mas aprendemos muito a praticar exercícios que sao disponibilizados. Os testes sao bem complicados mas ha vários testes do anos passados o que podem estudar.
4 months ago
Melhor cadeira de programação do primeiro ano. Para quem conseguiu entender bem os conceitos do Java em IP vai ser uma cadeira bastante acessível. Tem bons materiais, slides e bons professores. As avaliações são bastante acessíveis e as correções beneficiam o aluno imenso. Tentem apenas focar-se bastante nos projetos que contam imenso e com eles aprendes imensa teoria que depois sai em testes.
4 months ago
A cadeira de Programação Orientada por Objetos foi, na minha opinião, uma das unidades curriculares mais importantes do curso, principalmente porque introduz uma forma de programar muito usada no desenvolvimento de software real. É uma cadeira essencial para perceber conceitos como classes, objetos, herança, encapsulamento, polimorfismo, interfaces e organização de código em projetos maiores.
A carga de trabalho foi moderada a pesada. A matéria não é impossível, mas exige prática constante, especialmente porque muitos conceitos só ficam realmente claros quando se programa. No início, alguns temas podem parecer um pouco abstratos, mas à medida que se começa a construir programas maiores, percebe-se melhor a utilidade da programação orientada por objetos.
O ensino da cadeira foi importante para tornar os conceitos mais compreensíveis. A explicação teórica ajudou a perceber a lógica por trás dos principais mecanismos da orientação por objetos, mas os exemplos práticos foram fundamentais para consolidar a matéria. Quando os conceitos eram apresentados com código e exercícios concretos, tornava-se muito mais fácil perceber como aplicar tudo num programa real.
A cadeira também ajuda bastante a ganhar noção de organização de software. Não se trata apenas de fazer o programa funcionar, mas de estruturar bem o código, separar responsabilidades, criar classes adequadas e pensar numa solução que seja fácil de manter e evoluir. Essa foi uma das partes mais úteis da cadeira.
Em relação à avaliação, a melhor estratégia é praticar bastante e começar os trabalhos/projetos cedo. Em POO, decorar conceitos não chega; é preciso saber aplicá-los. É importante perceber bem a diferença entre classes e objetos, saber quando usar herança ou composição, trabalhar corretamente com métodos, atributos e construtores, e ter atenção à organização geral do projeto.
Relativamente aos materiais, os slides e exemplos ajudam a acompanhar a matéria, mas o verdadeiro progresso acontece ao programar. Fazer exercícios, testar diferentes soluções e corrigir erros é essencial para ganhar confiança. Também é uma cadeira onde os trabalhos práticos fazem bastante sentido, porque aproximam a matéria daquilo que se faz em desenvolvimento de software.
Algumas dicas para futuros alunos:
- Não decorem apenas os conceitos; tentem aplicá-los em código.
- Percebam bem classes, objetos, herança, polimorfismo e encapsulamento.
- Comecem os projetos/trabalhos cedo.
- Mantenham o código organizado desde o início.
- Testem cada parte do programa antes de integrar tudo.
- Usem nomes claros para classes, métodos e variáveis.
- Tentem perceber quando faz sentido criar uma nova classe.
- Não compliquem demasiado a arquitetura do programa, mas também não façam tudo numa só classe.
- Revejam exercícios e projetos anteriores para perceber padrões comuns.
No geral, considero POO uma cadeira muito útil e fundamental para Engenharia Informática. É uma unidade curricular que dá trabalho, mas onde se sente uma evolução clara como programador. Depois de perceber bem os conceitos principais, a cadeira torna-se bastante interessante e ajuda muito em projetos futuros, estágios e desenvolvimento de software em geral.
The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.
9 months ago
Cadeira mais gira do primeiro ano, no entanto é de 9 créditos e os projetos demoram mais do que parecem. Matéria teórica muito gira e a equipa docente é geralmente 5⭐️. É mesmo raro alguém ter algo a criticar sobre esta cadeira aparte das notas demorarem a sair e ser um bocadinho desorganizada
About the course
Objectives
Knowledge:
- Object-Oriented Programming (OOP) concepts, namely classes, interfaces, polymorphism and inheritance.
- Techniques and algorithms for processing data structures such as lists, strings, vectors, dictionaries, and sets.
- Basic mechanisms of generic programming.
- Class libraries and learn how to reuse them.
- Basic Software Engineering concepts, from a developer perspetive, such as software quality, reuse, development and maintenance costs, or implementation efficiency.
Application:
- Design and develop software applications using OOP.
- Problem solving with OOP.
- Using verification and validation techniques.
- Increasingly autonomous software development skills, both in solo and as a team member.
Soft-Skills:
- Build up an interest for programming and solving problems.
Syllabus
1. Interface specification and documentation 2. Software design with classes 3. Interface polymorphism 4. Class inheritance 5. Inheritance polymorphism 6. Assertions 7. Unit and regression testing 8. Exception handling 9. Generic programming 10. Usage of collection generic types
Something missing or out of date?
Assessment
Evaluation components: There are three components in the assessment: the theoretical component (NT), the practical component (NP) and the lab participation component (NL). The final grade (NF) is calculated by the formula:
NF = 0.65 * NT + 0.3 * NP + 0.05 * NL
NF is rounded to units. All the intermediate grades are rounded to one decimal place.
Theoretical component (NT): This assessment component consists of 2 tests or an exam. The tests and the exam are face-to-face, closed-book, written, and individual. In the assessment by tests, the grade for this component is calculated as follows:
NT = 0.3 * NT1 + 0.7 * NT2
where:
- NT1 is the grade of test 1; - NT2 is the grade of test 2;
If the exam is carried out, the NT grade is the grade obtained in the exam.
Practical component (NP): This assessment component consists of 2 programming project assignments to be carried out in groups of 2 students during the semester.
Discussions are mandatory, in-person, and individual. The discussion of a programming project consists of making changes to the delivered code so that the new program solves a variant of the functionalities'' of the original problem, defined in the discussion statement. The discussion grades and their criteria are the following:
20: the change is generally correct; 16: the change is confusing or very incomplete, but the direction taken is not wrong; 12: the change is not correct, with "some things done well and others very poorly"; 4: no change was made, or the changes made are minor (e.g., only changing the input reading), or the changes made do not make sense. In general, the student''s grade in a programming project is the minimum between the grade of the delivered programming project (carried out in a team) and their grade in the discussion of that programming project (which is zero if the student was absent). Consequently, the grades of the two team members may differ (ranging from 0 to the grade of the programming project).
The grade for the practical component is calculated as follows:
NP = (1/3) * NP1 + (2/3) * NP2
where: - NP1 is the grade of the student for programming project 1; - NP2 is the grade of the student for programming project 2.
Lab participation component (NL):
This component is earned through mini-projects that will be proposed throughout the semester.
Attendance requirement (in Portuguese "Frequência"): A student with a grade greater than or equal to 9.5 in the practical component obtains attendance in the course (NP >= 9.5). A student who has not achieved the attendance requirement is excluded from the appeal exam in that academic year.
Final grade: A student with attendance obtains approval if both the NF and NT grades are greater than or equal to 9.5.
Attendance of the previous academic year: Students who have obtained the attendance requirement in the previous academic year, keep it this year. If they submit any of the projects this year, they will lose the automatic attendance provided from last year. In that case, they will have to deliver both pratical projects, to be eligible for obtaining the attendance requirement again.
Fraud and Plagiarism: Issues of fraud and plagiarism will be dealt with following the FCT NOVA Knowledge Assessment Regulation.
Students are allowed to talk to their colleagues about the programming projects and discuss solutions, but they are prohibited from sharing code (even only "a few lines") under any circumstances, whether orally or in writing. Writing code must be an internal task within each team. For example, displaying code on the screen, dictating code, sending files with code, or placing them on sites accessible to third parties is not permitted. It is considered that:
- a team that gives or receives code is committing fraud; - a team in which only one member is working is committing fraud; - students who collaborate in larger groups, sharing code, are committing fraud. -The use of AI tools (such as ChatGPT or Copilot) must be explicitly mentioned in the code. A team that uses these tools while carrying out a programming project and omits their usage is considered to be committing plagiarism.
Notes: Grades relating to tests and practical assignments are rounded to one decimal place.
The usage of electronic devices is not allowed on tests and exams. Both tests and exams are closed-book.
During an assessment, a student may not have any electronic devices capable of accessing the internet or with Bluetooth connectivity (e.g., smartphones, smartwatches, smartglasses, tablets, laptops) with them, even if they are turned off. Violation of this rule results in immediate failure of the curricular unit by exclusion and will be reported to the Scientific Committee of the respective program.
It is each student''s responsibility to ensure they do not have any of these devices with them, either by not bringing them into the exam room or by leaving them, turned off, next to the board.
Has the assessment changed, or is something missing?
Bibliography
1. Cay Horstmann, Core Java, Volume I: Fundamentals (Oracle Press for Java) 13th Edition, 2024.
2. F. Mário Martins, Java 8 - POO + Construções Funcionais, FCA, 2017.
3. Slides de Programação Orientada pelos Objectos (disponibilizados gradualmente na página moodle)
4. David J. Eck, Introduction to Programming Using Java, version 9, 2022.
Missing a book or some materials?