|
10U204/10R204 OBJECT
ORIENTED PROGRAMMING
(Common to CT and IT)
4 0 0 4
|
UNIT I |
INTRODUCTION |
12 |
|
Principles of Object oriented
programming: Software Crisis, Software Evolution, Procedure Oriented and
Object Oriented Programming paradigm - Basic concepts - Benefits of OOP -
Object oriented languages - Beginning with C++ - Simple C++ program - C++
statements - An example with class - Structure of C++ program - Creating the
source file - Compiling and linking - Tokens, Expressions and Control
Structures. |
|
UNIT II |
CLASS AND OBJECTS |
12 |
|
Functions in C++: Function
prototyping - Call by reference - Return by reference - Inline functions -
Default Arguments - Function overloading - Friend and virtual function -
Classes and objects: Specifying a class - Defining member functions - C++
program with class - Making an outside function inline - Nesting of member
functions - Private member functions - Arrays within a class - Memory
allocation for objects - Friendly functions - Returning objects - Pointers to
members. |
|
UNIT III |
FUNCTIONS AND CONVERSION |
12 |
|
Constructors and destructors:
Constructors - parameterized constructors - Multiple constructors -
Constructors with Default arguments - Dynamic Initialization of objects -
Copy constructor - Dynamic Constructors - Destructors - Operator overloading
and type conversions: Defining operator overloading - Overloading unary
operators - Overloading binary operators - Overloading binary operators using
friends - Manipulation of strings using operators - Rules for overloading
operators - Type conversions. |
|
UNIT IV |
INHERITANCE AND POLYMORPHISM |
12
|
|
Inheritance: Defining a derived
classes - Single inheritance - Making a private member inheritable -
Multilevel inheritance - Multiple inheritance - Hierarchical inheritance -
Hybrid inheritance - Virtual base classes - Abstract classes - Constructors
in derived class - Pointers: Pointers to objects - this pointer - Pointers to
derived classes - Virtual functions - Pure virtual functions. |
|
UNIT V |
FILES
|
12
|
|
Managing console I/O
operations: C++ streams - C++ stream classes - Unformatted I/O operations -
Formatted console I/O operations - Managing output with manipulators -
Working with files: Classes for file stream operations - Opening and Closing
a file - Detecting end-of-ile - File modes - File Pointes and their
manipulations - Introduction to Templates - Function Templates - Sequential
input and output operations - Random access - Error handling during file
operations - Command line arguments.
TOTAL :60 |
|
TEXT BOOKS: |
|
Sl. No. |
Author(s) |
Title of the Book |
Publisher |
Year of
Publication |
|
1. |
Ira Pohl |
Object oriented programming using C++ |
Pearson Education, Asia publications. |
2003 |
|
REFERENCE BOOKS: |
|
Sl. No. |
Author(s) |
Title of the Book |
Publisher |
Year of
Publication |
|
1. |
Bjarne Stroustrup |
The C++ programming language |
Addison Wesley publication. |
2000 |
|
2. |
John R Hubbard |
Programming with C++ |
Tata McGraw Hill Publishing
Company. |
2003 |
|
3. |
Balagurusamy E |
Object Oriented Programming with C++ |
Tata McGraw Hill Publishing
Company. |
2000 |
|
WEB URLs:
- http://www.computer-books.us/cpp.php
- http://www.research.att.com/~bs/new_learning.pdf
|
|