OBJECT ORIENTED PROGRAMMING THROUGH ‘C++’

Paper Code: 
BCA 303
Credits: 
04
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

This module is designed to acquaint the students with the basics of C++ programming language.

 

15.00
Unit I: 

Object-oriented Paradigm: Introduction to OO Paradigm, Structured Versus object oriented programming, Objects and Class, features of object oriented language Merits & demerits of OO methodology. Data Types, Operators and Expressions.

 

14.00
Unit II: 

Classes and Objects: Class specification, Class Objects, Accessing Class Members, Defining member function out side member function as inline, Accessing Member function within class, Data Hiding ,Passing object to functions and returning Objects from functions, friend functions and friend classes, constant parameters, static data member and member function.

 

10.00
Unit III: 

Object Initialization and Cleanup: Constructors, parameterized constructors, destructor, constructor overloading, order of construction and destruction, default arguments, copy constructor, Static data members     

Operator overloading: unary, binary operator overloading, arithmetic operators, concatenation of strings, comparison operators, arithmetic assignment operators, data conversions, overloading with friend functions.

 

10.00
Unit IV: 

Inheritance: Introduction , Forms of  inheritance, inheritance and member accessibility, Constructor and Destructor in Derived class, Constructor invocation and data member initialization, Function overloading, overloaded member function, abstract classes, Multilevel, Multiple, Hierarchical, Multipath inheritance & virtual base classes, Hybrid Inheritance, object composition.

 

11.00
Unit V: 

Virtual Functions: Need, Pointer to Derived class objects, array of pointers to base class objects, Pure virtual function , Abstract  Classes Virtual function, Dynamic binding.     

Generic Programming with Templates: Function templates, overloaded function templates, nesting of function calls, multiple arguments function template, user-defined template arguments, class templates, inheritance of class template, class template with overloaded operators.

 

ESSENTIAL READINGS: 
  1.  A.R.Venugopal, Rajkumar, T. Ravishanker, “Mastering C++”, TMH, 1997

 

REFERENCES: 
  1. Yashwant Kanetkar , “Let us C++”, BPB Publications
  2. R. Lafore, “Object Oriented Programming using C++”, Galgotia Publications, 2004.
  3. D . Parasons, “Object Oriented Programming with  C++”, BPB Publication.
  4. Schildt Herbert, “C++: The Complete Reference”, 4th Ed., Tata McGraw Hill, 1999.
  5. S. B. Lippman & J. Lajoie, “C++ Primer”, 3rd Edition, Addison Wesley, 2000.

 

Academic Year: