Object Oriented Programming (E371042)
Katedra: | ústav přístrojové a řídící techniky (12110) |
Zkratka: | | Schválen: | 11.06.2019 |
Platí do: | ?? | Rozsah: | 2P+2C |
Semestr: | 10 | Kredity: | 5 |
Zakončení: | Z,ZK | Jazyk výuky: | EN |
Anotace
The aim of this course is to introduce basic principles of OOP, especially the concepts of object, class, attribute and method. The lectures cover three subjects: objects and classes, relationships between them, inheritance and polymorphism. In the exercises, the subject is practiced on computers, in the form of Java programs.
Vyučující
Ing. Matouš Cejnek Ph.D.
Zimní 2024/2025
Ing. Matouš Cejnek Ph.D.
Zimní 2023/2024
Ing. Matouš Cejnek Ph.D.
Zimní 2022/2023
doc. Ing. Josef Kokeš CSc.
Zimní 2021/2022
Osnova
o Objects and Classes
1. Object
2. Class
o Relationships between Objects and Classes
1. Connection
2. Association
3. Aggregation and compositione
4. Concepts to remember
5. Tasks to solve
o Inheritance and Polymorphism
1. Inheritance of Classes
2. Abstract classes, Interface
3. Polymorphism
4. Tasks to solve
o Conclusion, summary.
Osnova cvičení
Introduction into running applications in the computer laboratory, students' accounts, students will be submitted 3 practical excercises to solve.
Simple application. Constants. Simple types, structured types incl. arrays, records, sets, files. Variables. Basics of programming language.
Sorting. Handling events (OnMouse.., Timer). Using components, their fields and attributes.
Dynamic data structures: stack, queue, linked list, tree.
Binary tree, AVL tree, B-tree.
Training in the Java NetBeans environment.
Literatura
Budd, Timothy: Understanding Object-Oriented Programming With Java. Updated Edition (New Java 2 Coverage). Amazon, 2018, ISBN-13: 978-0201612738.
Barnes, David: Object-Oriented Programming with Java: An Introduction. Amazon, 2018, ISBN-13: 978-0130869005.
Kendal, Simon: Object Oriented Programming using Java. Bookboon, 2018. ISBN: 978-87-7681-501-1.
Java Tutorial. Accessible on-line on https://www.tutorialspoint.com/java/ [cit. 4.2.2019]
Požadavky
The course assumes no prior knowledge.
For the Exams: knowledge prescribed in lectures. The exam has a practical and oral parts. The practical part of the exam is to write and debug a simple program on given task.
For Assessment, the student receives three tasks to program.
Klíčová slova
OOP, Java, encapsulation, inheritance, polymorphism, messages, exceptions, constructor, virtual methods, properties.