C++ Object-Oriented Programming (3cr)
Course unit code: LUD2070
General information
- Credits
- 3 cr
- Teaching language
- English
- Responsible person
- Anssi Gröhn, Vastuuopettaja
Objective
Objectives:
You understand basic principles in object-oriented programming
You know what a class is
You know what an object is
You know what an attribute is
You know what a member variable is
You know what a member function is
You know what a method is
You know what data encapsulation is
You know what inheritance is
You know what composition is
You know what aggregation is
You know what an interface is
You know what multiple inheritance is
You know what an abstract class is
You know what polymorphism means
You know what mutator is and does
You know what accessor is and does
You know what type casting does in C++
You are able to write a class in C++
You are able to write instances from a class in C++
You are able to write member variables to a class in C++
You are able to write member functions to a class in C++
You are able to restrict visibility of member functions and variables in C++
You are able to write interfaces in C++
You are able to inherit a class from another in C++
You are able to implement an interface in C++
You are able to write a class that inherits several classes in C++
You know how to avoid problems in using multiple inheritance
You are able to restrict class member visibility via inheritance in C++
You are able to use appropriate casting techniques in C++
You are able to write virtual functions in C++
You know what virtual functions in C++ are for
You know what C++ standard library is
You are able to use C++ standard library in your programs
You are able to use external libraries in your programs
You are able to write a library code and generate a static library from it
You are able to your own static library in other program by linking
Content
Contents:
Classes and objects
Data encapsulation
C Standard Library
Inheritance
Composition
Aggregation
Abstract classes
Polymorphism
Multiple inheritance
Type casting
Using external libraries