Вы находитесь на странице: 1из 3

OBJECT ORIENTED PROGRAMMING WITH C++

Subject Code : OOP

Lecture Hours/Week : 3 CIE : 50 Marks

Tutorial Hours/Week : 0 SEE : 50 Marks

Total Hours : 42 Total Credits : 3.0

UNIT 1:

PRINCIPLES OF OBJECT ORIENTED PROGRAMMING : A look at


procedure Oriented programming, object oriented programming paradigm, basic concepts
of OOP, Benefits of OOP, OO languages, A sample program, structure of C++ program.

TOKENS, EXPRESSIONS AND CONTROL STRUCTURES: Tokens, keywords,


identifiers & constants, basic data types, user defines and derived data type , symbolic
constants, type compatibility, declaration & initialization of variables, reference
variables, operators, manipulators, type cast operators, expressions, conversions, operator
overloading and control structures 08 Hours

UNIT 2:

FUNCTIONS IN C++: The main(), function prototyping, call by reference, return by


reference, Inline function, Default arguments, const arguments, function overloading,
friend and virtual functions

CLASSES AND OBJECTS: C structures, specifying class, member functions, Inline


functions, nesting of member function, private member functions, arrays within a class,
memory allocation for objects, static data members and member functions, arrays of
objects, objects as function arguments, Friendly functions, returning objects, const
member functions, pointers to members, local classes 8 Hours
UNIT 3:

CONSTRUCTORS AND DESTRUCTORS: constructors, parameterized constructors,


multiple constructors in a class, constructors with default arguments, dynamic
initialization of objects, copy constructors, constructing two dimensional arrays, const
objects, destructors

OPERATOR OVERLOADING AND TYPE CONVERSIONS: Defining operator


overloading, overloading unary and binary operators, overloading using friends,
manipulation of strings using operators, rules for overloading operators, Type
conversions. 8 Hours

UNIT 4:

INHERITANCE: defining derived classes, single inheritance, making private member


inheritable, multilevel, multiple, hierarchical, hybrid inheritance, virtual base classes,
abstract classes, constructors in derived classes , nesting of classes

POINTERS, VIRTUAL FUNCTIONS AND POLYMORPHISM: Pointers, pointers


to objects, this pointer, pointers to derived classes, virtual functions, pure virtual
functions

MANAGING CONSOLE I/O OPERATIONS: C++ streams, stream classes,


unformatted i/o operations, formatted console i/o operations, managing output with
manipulators 08 Hours

UNIT 5:

WORKING WITH FILES: classes for file stream operations, opening and closing a
file, detected end of file, more about open():File modes, File pointers and their
manipulations, sequential i/o operations, updating a file, error handling during file
operations, command line arguments
TEMPLATES: class templates, class templates with multiple parameters, function
templates, function templates with multiple parameters, overloading of template
functions, member function templates, non type template arguments.

EXCEPTION HANDLING: basics of exception handling, exception handling


mechanism, throwing & catching mechanism, rethrowing an exception, specifying
exceptions 10 Hours

Text Book:

1. Object oriented programming with C++, E Balagurusamy, 4th edition, TMH


2. The Complete Reference C++, Herbert Schildt, 4th Edition, TMH
3. C++ Primer, Stanley B. Lippman, Josee Lajoie, Barbara E. Moo, 4th Edition,
Addison Wesley, 2005
4. Object-Oriented Programming with C++, Sourav Sahay, Oxford University Press,
2006

Вам также может понравиться