Object Oriented Programming in C++ syllabus
CMP 104.37 units · 36 topicsAcademic year 2083/84
Browse the units
1Chapter 1: Thinking Object Oriented (4 hrs)
- 1.1
Object oriented programming a new paradigm
- 1.2
A way of viewing world agent
- 1.3
Types of classes
- 1.4
Computation as simulation
- 1.5
Coping with complexity
- 1.6
Nonlinear behavior of complexity
- 1.7
Abstraction mechanism
2Chapter 2: Classes and Methods (7 hrs)
- 2.1
Review of structures, classes and inheritance
- 2.2
State, behavior, method, responsibility
- 2.3
Encapsulation, data hiding
- 2.4
Functions: friend function, inline function, static function, reference variable, default argument
3Chapter 3: Message, Instance and Initialization (6 hrs)
- 3.1
Message, message passing formalization
- 3.2
Message passing syntax in C++
- 3.3
Mechanism for creation and initialization (constructor and its types)
- 3.4
Issues in creation and initialization: memory map, memory allocation methods and memory recovery
4Chapter 4: Object Inheritance and Reusability (9 hrs)
- 4.1
Introduction to inheritance, subclass, subtype, principle of substitutability
- 4.2
Forms of polymorphism and their implementation in C++
- 4.3
Inheritance merits and demerits
- 4.4
Composition and its implementation in C++
- 4.5
The is-a rule and has-a rule
- 4.6
Composition and inheritance contrasted
- 4.7
Software reusability
5Chapter 5: Polymorphism (8 hrs)
- 5.1
Polymorphism in programming language, varieties of polymorphism
- 5.2
Compile time polymorphism: function overloading, operator overloading, type conversion
- 5.3
Polymorphic variable
- 5.4
Run time polymorphism: object pointer, this pointer, virtual function, overriding, deferred method, pure polymorphism
6Chapter 6: Template and generic programming (4 hrs)
- 6.1
Generic and template functions and classes
- 6.2
Case study: container class and the standard template library
- 6.3
Exception handling
7Chapter 7: Object oriented Design (7 hrs)
- 7.1
Reusability implies non-interference
- 7.2
Programming in small and programming in large
- 7.3
Components and behaviors, role of behaviors in OOP
- 7.4
CRC, sequence diagram
- 7.5
Software components, formalizing the interface
- 7.6
Interface and implementation
- 7.7
Design and representation of components, coming up with names, implementation components, integration of components