460-2055/02 – Object Oriented Programming (OOP)
Gurantor department | Department of Computer Science | Credits | 4 |
Subject guarantor | doc. Mgr. Miloš Kudělka, Ph.D. | Subject version guarantor | doc. Mgr. Miloš Kudělka, Ph.D. |
Study level | undergraduate or graduate | Requirement | Choice-compulsory type B |
Year | 1 | Semester | summer |
| | Study language | English |
Year of introduction | 2019/2020 | Year of cancellation | |
Intended for the faculties | FEI, FS | Intended for study types | Bachelor |
Subject aims expressed by acquired skills and competences
The course is focused on the introduction of the key concept of object-oriented programming, and basics of C++ language necessary for the design of simple object-oriented programs.
After finishing the course, students will understand the difference between structured and object-oriented programming. To a limited extent, students will be able to handle the practical object-oriented design and implementation of a program using object-oriented techniques.
Teaching methods
Lectures
Tutorials
Summary
Object-oriented approaches are an essential part of the computer science curricula. OOP is not only a key concept of thinking but also the technological support of software solutions.
The course is closely connected to Algorithms 1 and 2. Skills associated with using C ++ will be practically applied in the design of object-oriented programs.
The expected inputs for the course are the successful completion of course Introduction to Programming.
Compulsory literature:
Recommended literature:
Way of continuous check of knowledge in the course of semester
Subject 460-2055/01 Object Oriented Programming has as a compulsory prerequisite subject 460-2052/01 Introduction to Programming (student cannot pass exam from 460-2055/01 OOP if he / she has not obtained cgraded credit from 460-2052/01).
Written exam.
E-learning
Other requirements
Additional requirements are not placed on the student.
Prerequisities
Co-requisities
Subject has no co-requisities.
Subject syllabus:
Lectures
1. Evolution of programming paradigms.
2. Aspects of software quality. Reusing.
3. Class x object. Object as a computer representation of real-world entity. Data and functions of objects.
4. OOP principles. Encapsulation, composition, message sending, inheritance, polymorphism.
5. Constructors and destructors I. How it works and why.
6. Public and private part of objects. Hiding of implementation.
7. Design of object-oriented program I.
8. Simple and multiple inheritance. Polymorphism.
9. Virtual methods. Abstract class.
10. Constructors and destructors II. Special kinds of constructors, copy constructor.
11. Design of object-oriented program II.
12. Templates. How it works and why.
13. Standard object libraries of C++ language.
14. Defensive approach of object oriented programming.
Seminars
Comparison of source codes of procedural and object oriented programs.
Example of implementation – cooperating classes, analysis of object behavior, hiding of details of implementation.
Implementation of object-oriented program I.
Example of implementation – simple inheritance, analysis of object behavior.
Implementation of object-oriented program II.
Example of implementation – templates and standard C++ libraries.
Example and defensive implementation of object-oriented program.
Conditions for subject completion
Occurrence in study plans
Occurrence in special blocks