5Polymorphism, Abstraction and Encapsulation (3T+3P)
5.1
Describe Virtual function.
5.2
Describe the Pure virtual function.
5.3
Describe the Abstract class.
5.4
Demonstrate early binding (Compile time polymorphism) and late binding (runtime polymorphism).
5.5
Introduction to Virtual Function
5.6
Pure Virtual function
5.7
Abstract Class
5.8
Runtime Polymorphism and Compile time Polymorphism
5.9
Implementation of encapsulation
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)
6.1
Apply Binary operator and unary operator overloading.
Practical Works: Overload unary, relational and arithmetic operators; apply data conversion techniques
7Namespace, Template and Exception Handling (4T+6P)
7.1
Explain concept of template.
7.2
Demonstrate namespace creation and use of it in programs.
7.3
Define function template and class template.
7.4
Apply the different exception handling methods.
7.5
Namespace Concept, creation and usage in programs
7.6
Concept of Template
7.7
Function Template
7.8
Class Template
7.9
Basics of exception handling
7.10
Exception handling mechanism: throw, catch and try
7.11
Exception handling of basic types and user-defined types
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)
8.1
Explain concept of files.
8.2
Demonstrate stream classes.
8.3
Demonstrate sequential and random access to file.
8.4
Introduction to file stream
8.5
fstream, ofstream and ifstream classes
8.6
Using constructor to open file
8.7
File opening modes in C++
8.8
Using open function to open file
8.9
Sequential and Random access to file
8.10
Practical Works: Apply fstream, ifstream, ofstream classes to manipulate files; access files sequentially and randomly