EE 010 606 L04Object Oriented Programming

plumponionchipsΛογισμικό & κατασκευή λογ/κού

18 Νοε 2013 (πριν από 3 χρόνια και 10 μήνες)

93 εμφανίσεις

Mahatma Gandhi University


Syllabus
-
B.Tech Electrical And Electronics Engineering


EE 010 606

L04

Object Oriented Programming










Teaching scheme













Credits:

4


2 hours lecture and 2

hour
s

tutorial per week










Objectives



To impart knowledge on

concepts of object
-
oriented programming.



To enable the students
to mas
ter OOP using C++
.













Pre
-
requisites




EE 010 406 Computer Programming











Module 1

(10

hours)

OOP concepts:
Objects
-
classes
-
data abstraction
-
data encapsulation
-

inheritance
-

polymorphism
-

dynamic binding
,
comparison of OOP and Procedure ori
ented programming,
object oriented
languages.

OOP using
C++
: Classes and objects,
class declaration
-
data members and member functions
-
private and public members
-
member function definition
,
inline functions
, creating objects,
accessing class members.


Modul
e 2

(
14

hours)

Arrays of objects,
objects as function arguments
-
pass by value
-
reference variables/aliases
-
pass by
reference
, function returning objects,
static class members.

Constructors and destructors
-
declaration, definition and use,
default, parameter
ized and copy
constructors
,
constructor overloading.


Module 3

(11

hours)

Polymorphism:
function overloa
ding
-
declaration and definition,
calling overloaded functions.
Friend classes
, friend

functions
,
operator overloading
-
overloading unary
and

binary opera
tors
-

use of friend functions
.


Module 4

(
14

hours)

Inheritance:
different forms of inheritance
,
base class
, derived class,
visibility modes
,
single

Inheritance,
characteristics

of derived class
,
abstract class
.

File handling in
C++: file stream classes
,

file pointers

and their manipulations
,
open (), close (),
read (), write ()

f
unctions
, detecting

end of file.


Module 5

(
11

hours)

Dynamic memory allocation:
pointer variables
,
pointers to objects
, new and delete operators,
accessing member
functions usin
g object pointers,
'this' pointer.

Run time polymorphism:
pointers to base class,
pointers to derived class
,
virtual
functions
-

dynamic

binding.






Mahatma Gandhi University


Syllabus
-
B.Tech Electrical And Electronics Engineering



Text Book


1.

Balagurusamy
,
Object Oriented Programming with C++

,
Tata
McGraw Hill

2.

D Ravichandran
,
Program
ming with C
++
, Tata Mc
-
Graw Hill



References


1.

Robert Lafore
,
Object

Oriented Programming in Turbo C++
,

Galgotia Publications

2.

K R Venugopal, Rajkumar, T Ravishankar
,
Mastering C++
, Tata Mc_Graw Hill

3.

John R Hubbard
,
Programming with
C+
+
,

Schaum’s series, Mc
_Graw Hill

4.

Stanely B.Lippman
,
C++ primer
, Pearson

Education

Asia

5.

Bjame Stroustrup
,
C++Programming

Language
, Addison Wesley