Skip to content

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.1
    Object oriented programming a new paradigm
  2. 1.2
    A way of viewing world agent
  3. 1.3
    Types of classes
  4. 1.4
    Computation as simulation
  5. 1.5
    Coping with complexity
  6. 1.6
    Nonlinear behavior of complexity
  7. 1.7
    Abstraction mechanism

2Chapter 2: Classes and Methods (7 hrs)

  1. 2.1
    Review of structures, classes and inheritance
  2. 2.2
    State, behavior, method, responsibility
  3. 2.3
    Encapsulation, data hiding
  4. 2.4
    Functions: friend function, inline function, static function, reference variable, default argument

3Chapter 3: Message, Instance and Initialization (6 hrs)

  1. 3.1
    Message, message passing formalization
  2. 3.2
    Message passing syntax in C++
  3. 3.3
    Mechanism for creation and initialization (constructor and its types)
  4. 3.4
    Issues in creation and initialization: memory map, memory allocation methods and memory recovery

4Chapter 4: Object Inheritance and Reusability (9 hrs)

  1. 4.1
    Introduction to inheritance, subclass, subtype, principle of substitutability
  2. 4.2
    Forms of polymorphism and their implementation in C++
  3. 4.3
    Inheritance merits and demerits
  4. 4.4
    Composition and its implementation in C++
  5. 4.5
    The is-a rule and has-a rule
  6. 4.6
    Composition and inheritance contrasted
  7. 4.7
    Software reusability

5Chapter 5: Polymorphism (8 hrs)

  1. 5.1
    Polymorphism in programming language, varieties of polymorphism
  2. 5.2
    Compile time polymorphism: function overloading, operator overloading, type conversion
  3. 5.3
    Polymorphic variable
  4. 5.4
    Run time polymorphism: object pointer, this pointer, virtual function, overriding, deferred method, pure polymorphism

6Chapter 6: Template and generic programming (4 hrs)

  1. 6.1
    Generic and template functions and classes
  2. 6.2
    Case study: container class and the standard template library
  3. 6.3
    Exception handling

7Chapter 7: Object oriented Design (7 hrs)

  1. 7.1
    Reusability implies non-interference
  2. 7.2
    Programming in small and programming in large
  3. 7.3
    Components and behaviors, role of behaviors in OOP
  4. 7.4
    CRC, sequence diagram
  5. 7.5
    Software components, formalizing the interface
  6. 7.6
    Interface and implementation
  7. 7.7
    Design and representation of components, coming up with names, implementation components, integration of components