|
B.Tech. IT 3rd Sem Subject: Object Oriented Programming with C++
UNIT – 1 Principles of OOP A look at procedure oriented programming, OOP paradigm, Basic Concepts of OOPs, Benefits of OOP, Object oriented Language. Beginning with C++, Characters used in C++, Basic Data Types, C++ Tokens, Identifiers, Keywords, Constants, Variables, Input / Output statements, Structure of C++ Program
UNIT – 2 Operations and Expressions Concept, Arithmetic Operations and Expressions, Relational and Logical operators and Expressions, Order of evaluation of expressions, Type conversion, Compound assignment Operator, Standard Library Functions and header files. Flow of control – Compound statement, Sequential structure, Selection Structure, Simple if, if … else nested if, Ladder, Switch, go to, loop structure, do … while, for, statement break, continue, function exit ( )
UNIT – 3 Array and Function Concept of array, Concept of subprogram, Parameter passing in function, Function prototype, Calling function, Call by value, Call by reference, Array parameters, Default argument, Returning values, Scope rules, Storage class, Inline function, Function overloading, Recursive functions. Structure, Class and Object: Define structure, Returning structure elements, Nested structure, Passing structure to function, User defined data type, Specifying a class, Defining member function, Scope of class and its member, Nested Class Data Hiding and encapsulation, Friend function, Objectas function argument, Function returning object, Static Member.
UNIT – 4 Constructors, Destructors, Constructor function, Parameterised multiple constructor, Default constructor, Copy constructor and Destructor function. Inheritance and aggregation: Derived class, Various type of inheritance, Inheriting Constructors, Parts explosion as aggregation, Abstraction and property of aggregation, Constructing aggregations. Polymorphism, Overloading and operator overloading.
UNIT – 5 Pointer and virtual function Pointer variable, Dynamic allocation operators, New and delete, This operator Pointers to derived class. Working with files: File & stream, Opening and closing a file, read ( ) and write ( ) functions, detecting end of file.
|