Skip to content

Object Oriented Programming syllabus

CSC1618 units · 77 topicsAcademic year 2083/84
Browse the units

1Introduction to Object Oriented Programming (3 Hrs.)

  1. 1.1
    Overview of Structured Programming Approach
  2. 1.2
    Object-oriented Programming Approach
  3. 1.3
    Characteristics of Object-oriented Languages

2Basics of C++ Programming (5 Hrs.)

  1. 2.1
    C++ Fundamentals
    1. 2.1.1
      C++ Program Structure
    2. 2.1.2
      Character Set and Tokens
    3. 2.1.3
      Data Type
    4. 2.1.4
      Type Conversion
    5. 2.1.5
      Preprocessor Directives
    6. 2.1.6
      Namespace
    7. 2.1.7
      Input/Output Streams and Manipulators
    8. 2.1.8
      Dynamic Memory Allocation with new and delete
    9. 2.1.9
      Control Statements
  2. 2.2
    Functions
    1. 2.2.1
      Function Overloading
    2. 2.2.2
      Inline Functions
    3. 2.2.3
      Default Argument
    4. 2.2.4
      Pass by Reference
    5. 2.2.5
      Return by Reference
    6. 2.2.6
      Scope and Storage Class
  3. 2.3
    Pointers
    1. 2.3.1
      Pointer Variables Declaration and Initialization
    2. 2.3.2
      Operators in Pointers
    3. 2.3.3
      Pointers and Arrays
    4. 2.3.4
      Pointer and Function

3Classes and Objects (8 Hrs.)

  1. 3.1
    A Simple Class and Object
  2. 3.2
    Accessing Members of Class
  3. 3.3
    Initialization of Class Objects
    1. 3.3.1
      Constructor
    2. 3.3.2
      Destructor
    3. 3.3.3
      Default Constructor
    4. 3.3.4
      Parameterized Constructor
    5. 3.3.5
      Copy Constructor
    6. 3.3.6
      Default Copy Constructor
  4. 3.4
    Objects as Function Arguments
  5. 3.5
    Returning Objects from Functions
  6. 3.6
    Structures and Classes
  7. 3.7
    Memory Allocation for Objects
  8. 3.8
    Static Members
  9. 3.9
    Member Functions Defined Outside the Class

4Operator Overloading (7 Hrs.)

  1. 4.1
    Fundamentals of Operator Overloading
  2. 4.2
    Restriction on Operator Overloading
  3. 4.3
    Operator Functions as Class Members
  4. 4.4
    Overloading Unary and Binary Operators
  5. 4.5
    Data Conversion: Basic to Basic, Basic to User-defined, User-defined to Basic, User-defined to User-defined

5Inheritance (7 Hrs.)

  1. 5.1
    Introduction to Inheritance
  2. 5.2
    Derived Class and Base Class
  3. 5.3
    Access Specifiers: Private, Protected, and Public
  4. 5.4
    Types of Inheritance
  5. 5.5
    Public and Private Inheritance
  6. 5.6
    Constructor and Destructor in Derived Classes
  7. 5.7
    Aggregation

6Virtual Function, Polymorphism, and Miscellaneous C++ Features (5 Hrs.)

  1. 6.1
    Concept of Virtual Functions
  2. 6.2
    Late Binding
  3. 6.3
    Abstract Class and Pure Virtual Functions
  4. 6.4
    Virtual Destructors
  5. 6.5
    Virtual Base Class
  6. 6.6
    Friend Function and Static Function
  7. 6.7
    Assignment and Copy Initialization
  8. 6.8
    Copy Constructor
  9. 6.9
    This Pointer
  10. 6.10
    Concrete Classes
  11. 6.11
    Polymorphism and Its Roles

7Function Templates and Exception Handling (4 Hrs.)

  1. 7.1
    Function Templates
  2. 7.2
    Function Templates with Multiple Arguments
  3. 7.3
    Class Templates
  4. 7.4
    Templates and Inheritance
  5. 7.5
    Exception Handling: Try, Throw, and Catch
  6. 7.6
    Use of Exception Handling

8File Handling (6 Hrs.)

  1. 8.1
    Stream Class Hierarchy for Console Input/Output
  2. 8.2
    Unformatted Input/Output
  3. 8.3
    Formatted Input/Output with ios Member Functions
  4. 8.4
    Formatting with Manipulators
  5. 8.5
    Stream Operator Overloading
  6. 8.6
    File Input/Output with Streams
  7. 8.7
    Opening and Closing Files
  8. 8.8
    Read/Write from File
  9. 8.9
    File Access Pointers and Their Manipulators
  10. 8.10
    Sequential and Random Access to File
  11. 8.11
    Testing Errors During File Operations
  12. 8.12
    Practical Works
    1. 8.12.1
      Implement object-oriented-programming concepts using C++.