Você está na página 1de 4

INTERNATIONAL CENTER FOR APPLIED SCIENCE

(A constituent college of Manipal University, Manipal)

Manipal Karnataka 576 104

COURSE PLAN
Subject

: Object Oriented Programming Using C++

Semester & branch

: II sem BS(Engg), CS

Name of the faculty

: Mrs Mamatha Balachandra

No of contact hours/week

:4

Assignment portion
Assignment no.

Topics

L1-L14

L15-L34

L35-L48
Test portion

Test no.

Topics

L1-L14

L1-L34

L1-L48

Submitted by: Mrs Mamatha Balachandra


(Signature of the faculty)
Date: 16-01-2014
Approved by:

(Director, ICAS)
Date:

ICAS/GEN/R0

(Page 1 of 4)

Lecture no.

Topic to be covered

Introduction to C++: A review of structures, Example programs

Functions, Example programs

Reference variables in C++

Classes and objects : Introduction to classes

Objects and Functions

Objects and arrays

Namespaces, Nested classes

Introduction to Dynamic memory allocation, Dynamic memory deallocation

Constructors and Destructors : Introduction

10

Constructors, Destructors and examples

11

The philosophy of OOPS

12

INHERITANCE : Introduction to Inheritance

13

Base class and derived class pointers

14

Function Overriding

15

Base class Initialization

16

The protected access specifier, deriving by different access specifiers

17

Different kinds of inheritance

18

Order of invocation of constructors and destructors

19

Virtual functions and dynamic polymorphism : The need for virtual


functions, virtual functions

20

The mechanism of virtual functions

21

Pure virtual functions

ICAS/GEN/R0

22
23

Virtual destructors and Virtual constructors


Stream Handling : Streams, the class hierarchy of handling streams

24

Text and Binary input/ output, Text versus Binary files

25

Text input/ output

26

Binary input/ output

27
28

Opening and closing files, files as ojects of the fstream class, File pointer,
Random access to files
Object input/ output through member functions, Error handling,
manipulators

29

Operator overloading : Operator overloading

30

Overloading the various operators overloading the increment and


decrement operators (prefix and postfix)

31

Overloading the unary minus and unary plus operators

32

Overloading the arithmetic operators

33

Overloading the relational operators

34

Overloading the assignment operator

35

Overloading the insertion and extraction operators

36

Overloading the new and delete operators

37

Overloading the subscript operator

38

Overloading the pointer-to-member operator (smart pointer)

39

Type conversion

40

Example programs on Type conversion

41

Templates : Introduction, function templates

42

Class templates

43

The standard template library (STL)


ICAS/GEN/R0

44

Exception handling : Introduction

45

C-Style handling of error-generating codes

46

C++ Style solution- the try/throw/catch construct

47

Try/throw/catch Examples

48

Limitations of exception handling

Text Books:
1. Sourav Sahay, Object oriented programming with C++, Oxford Higher Education, 2008.
References:
1. Stanley B Lippman, Josee Lajoe, Barbara E Moo, C++ Primer, , 4th edition 2005.
2. Robert Lafore, Object oriented programming in C++, Galgotia publications, 3rd edition,
2006.

ICAS/GEN/R0

Você também pode gostar