Skip to content

Object Oriented Programming with C++ syllabus

ICT.ED.4269 units · 63 topicsAcademic year 2083/84
Browse the units

1Concept of C++ with Object Oriented Programming (6T+4P)

  1. 1.1
    Compare procedure and object oriented programming concept.
  2. 1.2
    Describe the feature of object oriented programming.
  3. 1.3
    Compare C and C++.
  4. 1.4
    Demonstrate the C++ programming styles.
  1. 1.5
    Structured vs Object Oriented Programming Paradigm
  2. 1.6
    Features of Object Oriented Programming
  3. 1.7
    Comparison on C and C++
  4. 1.8
    C++ Program Structure
  5. 1.9
    Data types, variables and constants
  6. 1.10
    Insertion and Extraction Operators
  7. 1.11
    Type conversion
  8. 1.12
    Dynamic memory allocation: new and delete operator
  9. 1.13
    Practical Works: Install the C++ compiler; use Insertion and Extraction Operator; use structure in C++ to bundle data

2Function in C++ (3T+3P)

  1. 2.1
    Demonstrate inline function, function overloading, default arguments, reference arguments and returning by reference concept.
  1. 2.2
    Inline function
  2. 2.3
    Overloaded function
  3. 2.4
    Default arguments
  4. 2.5
    Reference arguments
  5. 2.6
    Returning by reference
  6. 2.7
    Practical Works: Write program to implement inline function, overloaded function, default arguments, reference arguments and returning by reference

3Object and Class (5T+10P)

  1. 3.1
    Explain the Object and Class.
  2. 3.2
    Define Data member and Member function.
  3. 3.3
    Define inline member function.
  4. 3.4
    Use array in member function and objects.
  5. 3.5
    Define static and friend function.
  6. 3.6
    Explain constructor and destructors.
  1. 3.7
    Concept of Object and Class
  2. 3.8
    Access controls: private, protected and public
  3. 3.9
    Data Member and Member Function of class
  4. 3.10
    Constructor and Destructor
  5. 3.11
    Default, Parameterized and Copy constructor
  6. 3.12
    Constructor Overloading
  7. 3.13
    Array in Class and Array of Objects
  8. 3.14
    Static data member and Static member function
  9. 3.15
    Friend function and friend class
  10. 3.16
    Practical Works: Create class/objects with data member and member function, static function, friend functions, different types of constructors

4Inheritance (3T+9P)

  1. 4.1
    Explore the concept of inheritance.
  2. 4.2
    Describe the derived class and access specifier.
  3. 4.3
    Apply single, multiple, multilevel inheritance.
  4. 4.4
    Identify function overriding and ambiguity in inheritance with possible solution.
  5. 4.5
    Demonstrate execution sequence of constructor and destructor in inheritance.
  6. 4.6
    Implement containership.
  1. 4.7
    Concept of Inheritance
  2. 4.8
    Deriving class using access specifiers: private, public and protected
  3. 4.9
    Types of Inheritance
  4. 4.10
    Function overriding
  5. 4.11
    Ambiguity due to multiple inheritance
  6. 4.12
    Execution sequence of constructor and destructor in inheritance
  7. 4.13
    Containership
  8. 4.14
    Practical Works: Create inheritance types, containership; illustrate constructor/destructor execution sequence; resolve multiple-inheritance ambiguity

5Polymorphism, Abstraction and Encapsulation (3T+3P)

  1. 5.1
    Describe Virtual function.
  2. 5.2
    Describe the Pure virtual function.
  3. 5.3
    Describe the Abstract class.
  4. 5.4
    Demonstrate early binding (Compile time polymorphism) and late binding (runtime polymorphism).
  1. 5.5
    Introduction to Virtual Function
  2. 5.6
    Pure Virtual function
  3. 5.7
    Abstract Class
  4. 5.8
    Runtime Polymorphism and Compile time Polymorphism
  5. 5.9
    Implementation of encapsulation
  6. 5.10
    Practical Works: Create virtual function; create pure virtual function; create Abstract class; write program to compare different types of polymorphism

6Operator Overloading (4T+6P)

  1. 6.1
    Apply Binary operator and unary operator overloading.
  2. 6.2
    Describe data conversion methods.
  1. 6.3
    Introduction to Operator Overloading
  2. 6.4
    Unary Operator Overloading: prefix/postfix ++, --
  3. 6.5
    Relational Operator Overloading: >, >=, <, <=, ==, !=
  4. 6.6
    Arithmetic Operator Overloading: +, -, *, /, %
  5. 6.7
    Type Conversion
    1. 6.7.1
      Basic to user-defined types
    2. 6.7.2
      User-defined to basic types
    3. 6.7.3
      User-defined to user-defined types
  6. 6.8
    Practical Works: Overload unary, relational and arithmetic operators; apply data conversion techniques

7Namespace, Template and Exception Handling (4T+6P)

  1. 7.1
    Explain concept of template.
  2. 7.2
    Demonstrate namespace creation and use of it in programs.
  3. 7.3
    Define function template and class template.
  4. 7.4
    Apply the different exception handling methods.
  1. 7.5
    Namespace Concept, creation and usage in programs
  2. 7.6
    Concept of Template
  3. 7.7
    Function Template
  4. 7.8
    Class Template
  5. 7.9
    Basics of exception handling
  6. 7.10
    Exception handling mechanism: throw, catch and try
  7. 7.11
    Exception handling of basic types and user-defined types
  8. 7.12
    Practical Works: Create and apply namespace; create and apply function template; create and apply template class; apply try/catch/throw for exception handling

8File Handling (3T+3P)

  1. 8.1
    Explain concept of files.
  2. 8.2
    Demonstrate stream classes.
  3. 8.3
    Demonstrate sequential and random access to file.
  1. 8.4
    Introduction to file stream
  2. 8.5
    fstream, ofstream and ifstream classes
  3. 8.6
    Using constructor to open file
  4. 8.7
    File opening modes in C++
  5. 8.8
    Using open function to open file
  6. 8.9
    Sequential and Random access to file
  7. 8.10
    Practical Works: Apply fstream, ifstream, ofstream classes to manipulate files; access files sequentially and randomly

9Project (5P)

  1. 9.1
    Create console application using C++.
  1. 9.2
    Develop simple Application using C++