10EE664 Object Oriented Programming using C plus plus syllabus for EE


Part A
Unit-1 PRINCIPLES OF OBJECT-ORIENTED PROGRAMMING 4 hours

Review of Procedure Oriented Programming, Basic concepts of Object Oriented Programming – Object, Class, Encapsulation,Inheritance, Polymorphism; Benefits of OOPs, Applications of OOP’s.

Unit-2 THE BASIC LANGUAGE C++ 6 hours

A comparison of C and C++, Structure of C++ program with Class,Preprocessor directives, C++ Statements – Input/Output, Comments, Tokens, Keywords, Identifiers,Constants, Data types – string, pointer, reference, boole, enumeration, array, complex number; typedefnames, type compatibility, type conversion, qualifier – const, volatile; Operators in C++, Operator Precedence and Operator Overloading; C++ expressions – New and Delete.

Unit-3 FUNCTIONS IN C++ 8 hours

Introduction, The main() function, Function prototype, Call by reference, Return by reference, Inline functions, Default arguments, const Arguments, Function Overloading, Friend and Virtual functions, pointer to functions.

Unit-4 CLASSES AND OBJECTS 8 hours

Introduction – declaration and definition of a Class, defining member functions, C++ program with a Class, Making an outside function Inline, Nesting of member functions,Arrays within a class, Static data members, static member functions, Objects – global & local objects,scope & lifetime, memory allocation for objects, dynamically allocated objects, pointers to objects, arrays of objects, function arguments with objects, returning objects; const member functions.

Part B
Unit-5 CONSTRUCTORS AND DESTRUCTORS 4 hours

Introduction, Constructors, Parameterized Constructors,Multiple constructors in a class,Constructors with default arguments, Dynamic initialization of objects,Copy constructor, Constructing two-dimensional arrays, const Objects, Destructors.

Unit-6 OPERATOR OVERLOADING AND TYPE CONVERSION 7 hours

Introduction, Defining operator overloading, Overloading unary operators, Overloading binary operators, Overloading binary operators using Friends, Rules for overloading operators, overloading a comma operator, overloading the output operator,Type conversion.

Unit-7 INHERITANCE 6 hours

Introduction, Defining derived classes, Single inheritance, Making a private member Inheritable, Multilevel inheritance, Multiple inheritance, Hierarchical inheritance, Hybrid inheritance,Virtual base classes, Abstract classes, Constructors & Destructors in base & derived classes.

Unit-8 POINTER, VIRTUAL FUNCTIONS AND POLYMORPHISM 9 hours

POINTER, VIRTUAL FUNCTIONS AND POLYMORPHISM:Introduction, Pointers, Pointers to Objects, this pointer, Pointers to derived classes, type-checking pointers, pointers to members, Virtual functions, Pure virtual functions. MANAGING CONSOLE I/O AND FILE I/O: C++ streams, C++ stream classes, examples of formatted and unformatted I/O operations, Classes for file stream operations, Methods of Opening and Closing a File,Examples of Opening file using constructor open(), file modes (simple programming exercises).

Last Updated: Tuesday, January 24, 2023