This course is suitable for BCA 3 rd semester .
BCA303T: OBJECT ORIENTED PROGRAMMING USING C++ Total Teaching Hours : 60 Unit - I No of Hours / Week : 04 Introduction :Procedure Languages, definition of OOP, Basic concept of OOP, Object Class, Data Abstraction, Data Encapsulation, Data Hiding member functions , Reusability, Inheritance, Creating new Data Types, Polymorphism, Overloading , Dynamic binding and Message passing. C++ Features: The iostream class, C++ Comments, C++ Keywords, Variable declaration, The Const Qualifier. The Endl, Set Waste precision, Manipulators, The scope resolution operator, The new & delete Operations. Functions: Simple Functions, Function declaration, calling the function, function definition, Passing argument to, returning value from function, passing constants, Variables, pass by value , passing structure variables, pass by reference, Default arguments, return statements, return by reference, overloaded functions; Different number of arguments, Different Kinds of argument, inline function. [ 12 Hours ] Unit - II Objects & Classes: Classes & Objects, Class Declaration, Class member; Data Constructions, Destructors, Member functions, Class member visibility, private, public, protected . The scope of the class objects constructions, Default Constructor. Constructor with argument, constructor with default arguments, Dynamic constructor, copy constructor, Overloaded constructor, Objects as arguments returning objects fromfunctions, class conversion, manipulation private Data members, Destructors classes, object & memory, arrays as class member data: Array of objects, string as class member. [ 12 hours ] Unit - III Operator Overloading : Overloading unary operator: Operator Keyword, Operator arguments, Operator return value, Nameless temporary objects, limitations of increment operator, overloading binary operator, arithmetic operators, comparison operator, arithmetic assignment operator, data conversion; conversion between objects of different classes. Inheritance : Derived Class & Base Class: Specifying the Derived class accessing Base class members, the protected access specifier, Derived class constructor, Overriding member functions, public and private inheritance; Access Combinations, Classes & Structures, Access Specifiers, Level of inheritance; Multilevel inheritance, Hybrid inheritance, Multiple inheritance; member functions in multiple inheritance , constructors in multiple inheritance, Containership; Classes, within classes, Inheritance & Program development. [ 12 Hours ] Unit - IV Virtual functions: Normal member function accessed with pointers, Virtual member functions accessed with pointers, Dynamic binding, pure virtual functions, Friend function; Friends for functional notation, friend classes, the pointer; Accessing Member Data with this, using this for returning values. Templates & Exception Handling: Introduction, Templates, Class Templates, function templates, Member function templates, Template arguments, Exception Handling. [ 12 Hours ] Unit V Streams: The Stream class Hierarchy, Stream classes Header file, string I/O: Writing strings, reading strings, character I/O, Detecting End – of – file. Object I/O; writing an object to disk, reading an object from disk, I/O with multiple objects; the fstream class, The open function, File Pointers; Specifying the position, Specifying the offset. The tellg Function, Disk I/O with Memory Functions; Closing Files, Error Handling, Command Line Arguments. [ 12 Hours ]