460-2043/01 – Programming II (PR II)
Gurantor department | Department of Computer Science | Credits | 3 |
Subject guarantor | doc. Mgr. Miloš Kudělka, Ph.D. | Subject version guarantor | doc. Mgr. Miloš Kudělka, Ph.D. |
Study level | undergraduate or graduate | | |
| | Study language | Czech |
Year of introduction | 2013/2014 | Year of cancellation | 2022/2023 |
Intended for the faculties | FEI, USP | Intended for study types | Bachelor |
Subject aims expressed by acquired skills and competences
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 "Programming II" is closely connected to "Algorithms II". Skills associated with using C ++ will be practically applied in the design of object-oriented programs.
The expected inputs for "Programming II" is the successful completion of course "Programming I" and "Algorithms I". These courses provide students the necessary skills and knowledge related to the implementation of data structures and algorithms in an environment structured and procedural programming.
Teaching methods
Lectures
Tutorials
Summary
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.
Compulsory literature:
Recommended literature:
Way of continuous check of knowledge in the course of semester
E-learning
Other requirements
Additional requirements are not placed on the student.
Prerequisities
Subject has no 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. Design of object-oriented program III.
Labs
1. Comparison of source codes of procedural and object oriented programs.
2. Example of implementation – cooperating classes, analysis of object behavior, hiding of details of implementation.
3. Implementation of object-oriented program I.
4. Example of implementation – simple inheritance, analysis of object behavior.
5. Implementation of object-oriented program II.
6. Example of implementation – templates and standard C++ libraries.
7. Implementation of object-oriented program III.
Conditions for subject completion
Conditions for completion are defined only for particular subject version and form of study
Occurrence in study plans
Occurrence in special blocks
Assessment of instruction