SylabUZ
Nazwa przedmiotu | Object-oriented programming |
Kod przedmiotu | 11.3-WE-INFP-OOP-Er |
Wydział | Wydział Nauk Inżynieryjno-Technicznych |
Kierunek | Informatyka |
Profil | ogólnoakademicki |
Rodzaj studiów | Program Erasmus pierwszego stopnia |
Semestr rozpoczęcia | semestr zimowy 2021/2022 |
Semestr | 2 |
Liczba punktów ECTS do zdobycia | 5 |
Typ przedmiotu | obowiązkowy |
Język nauczania | angielski |
Sylabus opracował |
|
Forma zajęć | Liczba godzin w semestrze (stacjonarne) | Liczba godzin w tygodniu (stacjonarne) | Liczba godzin w semestrze (niestacjonarne) | Liczba godzin w tygodniu (niestacjonarne) | Forma zaliczenia |
Wykład | 30 | 2 | - | - | Egzamin |
Laboratorium | 30 | 2 | - | - | Zaliczenie na ocenę |
To provide basic knowledge about object programming paradigms.
To provide basic knowledge about abstract data typing definition with member functions (encapsulation),
To provide basic knowledge about inheritance, polymorphism and virtual functions, templates of classes and functions.
To give basic skills in designing programs and utilizing tools (e.g. tools from Standard Template Library).
Principles of programming, Algorithms and data structures
Introduction to object programming. Concept of abstract data typing. Class definition. Encapsulation – declaration and definition of class member methods. Private and public class members. Constructors and destructors. Default and copy constructors. Synthesized constructors. Destructors.
Operators overloading. User defined conversions: converting function, converting constructor. Functions overloading: friend functions and inline functions, constructor and operator conversion.
Inheritance rules. Inheritance and the composition of objects. Protected members. Multiple and multi-base inheritance. Problem of variable names in multi-base inheritance. Polymorphism. Polymorphism. Virtual functions. Pure virtual functions. Early and late binding. Time and memory costs connected with application of polymorphism. Abstract classes - defining and examples of abstract classes application in object-oriented programs.
Standard Template Library. Function templates. Specialized functions. Phases of function adjustment. Class templates. Definition of class templates. Class templates versus microdefinitions. Containers and algorithms, iterators, associative containers, function objects. Designing of object-oriented programming. Design pattern .
Adapter pattern, facade pattern, bridge pattern etc..
Lectures, laboratory exercises.
Opis efektu | Symbole efektów | Metody weryfikacji | Forma zajęć |
Lecture – the passing condition is to obtain a positive mark from the examination.
Laboratory – the passing condition is to obtain positive marks from all laboratory exercises to be planned during the semester.
Calculation of the final grade: lecture 50% + laboratory 50%
Eckel B.: Thinking in C++, Prentice Hall, US Ed edition, 2002 2.
Stroustrup B.: The C++ Programming Language, Addison – Wesley, 2004
Lippman S.B.: Inside the C++ Object Model, Addison – Wesley, 1996
Zmodyfikowane przez prof. dr hab. inż. Andrzej Obuchowicz (ostatnia modyfikacja: 13-09-2021 11:39)