The course is focused on the understanding of object-oriented paradigm and the mastering of basic C++ constructions necessary for design and implementation of a simple object-oriented program.

Programming II - full-time study

doc. Mgr. Miloš Kudělka, Ph.D.

Introduction:
organization, topics, tasks

PDF

Basic information on lectures, topics, and requirements for credit.

Example of a simple class as a building block of an object-oriented program.

Modularity

PDF

History of programming paradigms focusing on software quality and scope. Modularity as an internal quality factor.

A simple class with composition and its usage focused on construction and destruction of objects.

Classes and Objects

PDF

General characteristics of object-oriented paradigm focused on object language, support of implementation and use of libraries.

A class containing a dynamic array of objects of another class, constructor and destructor.

Design of Program I

PDF

Design of an object-oriented program with three classes and simple compositions. Analysis of the problem, its design and declaration of classes.

Declaration of classes without definitions. The implementation will be done as individual work.

Object Decomposition
Class as Object

PDF

Inheritance: Introduction

PDF

Inheritance:
Change of Behavior

PDF

Polymorphism

PDF

Abstract Class
Multiple Inheritance

PDF

Design of Program II

PDF

Genericity

PDF