Ak procedural vs oop
-
Upload
abhishekkmr92 -
Category
Documents
-
view
228 -
download
1
Transcript of Ak procedural vs oop
![Page 1: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/1.jpg)
Presented By
Abhishek Kumar
B.Tech,3rd Sem.(Session-2011-12)
Dept. Of CIVIL Engineering
Mewar University
![Page 2: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/2.jpg)
1.As its name suggests
, emphasis of
program is on
procedure . It
means that how to
accomplish a task.
1.As its name
suggests, emphasis
of program is on
object included in
the interface and the
events that occur on
those objects.
![Page 3: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/3.jpg)
2. Large programs
are divided into
smaller programs
known as
function, which is
unit of procedural
programming.
2. Programs are
divided into
smaller unit
known as object.
![Page 4: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/4.jpg)
3.This programming
approach
concentrates on
creating function.
4.Procedural
programming
separates the data of
the program from
the operations that
manipulates the
3.While OOP focus on
both data and
function.
4. Data and function
are tied together in a
single unit known as
class.
![Page 5: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/5.jpg)
5.Most of the function
share global data more
openly around the
system function to
function . Due to which
it is not safe from direct
alteration.
6.It employs top down
approach.
5.Data is hidden and can
not be accessed by
external function .
6. It employs bottom up
approach.
![Page 6: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/6.jpg)
7.New data and
function items can
not be added easily
in this programming
approach.
8.Function transform
data from one form
to another.
7.New data and
function items can
be added easily in
this OOP approach.
8.While in OOP
objects may
communicate with
each other by
message passing.
![Page 7: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/7.jpg)
9.It increases the
complexity of the
program.
10.When we do any
change in program,
it affects whole the
program
9. But software
complexity can be
easily managed.
10.Program coding
can be altered
without affecting
rest program in
OOP.
![Page 8: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/8.jpg)
11.Relationship of data
and function in
procedural
programming.
11.Relationship of
data and function
in OOP.
![Page 9: Ak procedural vs oop](https://reader031.fdocuments.in/reader031/viewer/2022020218/559e04011a28ab156a8b47ef/html5/thumbnails/9.jpg)
THE END