Syllabus

Course Code: BCA-401    Course Name: C++ PROGRAMMING – II

MODULE NO / UNIT COURSE SYLLABUS CONTENTS OF MODULE NOTES
1 Pointers & Runtime binding: pointer variable, address operator, void pointer, dynamic memory allocation & deallocation, Pointer arithmetic. Object Initialization and Cleanup: Constructors, types of constructors, destructors, constant objects and constructors. Friend Function & Class: defining friend function and friend class, defining member function of a class as friend function.
2 Static Polymorphism: Function Overloading & Operator Overloading, over loadable operators, overloading unary & Binary Operators, Concatenating Strings using Operators overloading, Inheritance: Definition, Need, derivation types, different Forms of Inheritance, overloading vs overriding. Dynamic Polymorphism: Virtual and Pure Virtual Functions and their need, virtual derivation, Virtual Destructor.
3 Exception Handling in C++: exception handling model, exception handling constructs - try, throw, catch, Order of catch blocks, Catching all exceptions, Nested try blocks, handling uncaught exceptions, unexpected(), terminate() and standard exceptions. Generic Programming: Function template, Overloading of template functions, Member function templates, class templates.
4 File handling: Hierarchy of File Streams, opening & closing files, file modes, file pointers and their manipulation. Sequential access to a file, Text & Binary files, saving and retrieving objects in a file, random access to a file.
Copyright © 2020 Kurukshetra University, Kurukshetra. All Rights Reserved.