Ak procedural vs oop

9
Presented By Abhishek Kumar B.Tech,3 rd Sem.(Session-2011-12) Dept. Of CIVIL Engineering Mewar University

Transcript of Ak procedural vs oop

Page 1: Ak procedural vs oop

Presented By

Abhishek Kumar

B.Tech,3rd Sem.(Session-2011-12)

Dept. Of CIVIL Engineering

Mewar University

Page 2: Ak procedural vs oop

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

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

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

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

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

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

11.Relationship of data

and function in

procedural

programming.

11.Relationship of

data and function

in OOP.

Page 9: Ak procedural vs oop

THE END