Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
unit-i

unit-i

Ratings: (0)|Views: 2|Likes:
Published by Ravi Purohit
hindi notes
hindi notes

More info:

Published by: Ravi Purohit on Jul 02, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/02/2013

pdf

text

original

 
UNIT-I
Ques 1. Procedure Oriented Programming
D;k gS le>kb,D;k gS le>kb,D;k gS le>kb,D;k gS le>kb,D;k gS le>kb,
?
Ans.-
;g ,d 
high level language
dh ,d ijiajkxr rduhd gSA
Procedure Oriented Programming
ds va rxZ r 
 problem
dksfØzz  zz  z;kvksds#i esekuk tkrk gSblds va rZxr  fdlh 
 problem
dks
solve
djusdsfy,
function
dk fuekZ.k fd;k tkrk gSA
Procedure Oriented Programming
esafdlh dk;ZdkslEiUu djkusds fy;sfunsZ’kksdslew g dksfy[kk tkrk gS;g lew g Hkh 
Function
dgykrsgS lkekU;r%
ProcedureOriented Programming Language
es a 
 program
NksVs NksVs 
function
es afoHkDr jgrsgSA
Procedure Oriented Programming
es aMkVk lkekU;r%
global
gksrk gS;g 
data system
dsfdlh Hkh 
function
lsdgh Hkh 
use
fd;k tk ldrk gZSA
ProcedureOriented Programming
es a 
function
eq[; fcUnqgks rk gSA
Procedure oriented programming
dsuke %&dsuke %& dsuke %&dsuke %& ds uke %&
1.Cobol2 Fortran
Procedure oriented programming
dh eq[; fo’ks"krk %&dh eq[; fo’ks"krk %&dh eq[; fo’ks"krk %&dh eq[; fo’ks"krk %&dh eq[; fo’ks"krk %&11111 +
Algorithm
ij vk/kkfjr gksrh gSA
(
fdlh dk;Zdksdjus dh 
 process
dks
step by step
fy[kukA
)
22222
Program
ds 
flow
dks
flow chart
es sn’kZ k;k tkrk gSA 3 ,d cMk 3 ,d cMk 3 ,d cMk 3 ,d cMk 3 ,d cMk 
program
NksVsNksVs
sub program
es
devide
fd;k tkrk gSSA44444 +eq[; fcanq 
function
gks rk gSA5 +5 +5 +5 +5 +vf/kdka’k 
function global data
dks
share
djrsgSA66666 +bles a
data
Lora = :i ls
system
es amiyC/k jgrk gSA77777 +bles a
Top Down
fof/k 
Programming
es a 
use
gks rh gSA
main functionfunction1 function 2function 3 function 4 function 5
Structure of Procedure Oriented Programming
 
Diagram:-Relation between Data & Function in Procedure Oriented ProgrammingProcedure Oriented Programming
dh lhek,¡adh lhek,¡adh lhek,¡adh lhek,¡adh lhek,¡a%&11111
.
 
Programming data
ij vk/kkfjr ugh cfYd 
 procedure
ij vk/kkfjr gks rh gSSA22222
.
Data system
es aLOkra =rkiw  oZd miyC/k gks rk gS ftlls
data
 lqjf{kr ughajgrk gSA33333
.
eq[; fcanq
function
gks rk gS ftllsfd 
 programming
es a 
 procedure important
 +gkstkrk gS 
object
ughaA44444
.
Program
;fn yack gks rksmlsle>uk o cukuk dfBu gks rk gSA 55555
.
Program
es a u;k 
data
tksMuk rqyukRed :i la sdfBu gSA 66666
.
Program
es a
Error 
<w <dj mlsBhd djuk 
object oriented programming
dh rqyuk es adfBu gSA 77777
.
  lkekU;r 
: global data
iz;qDr gks rk gS88888
.
vkOk’;drk u gksusij Hkh 
data, memory
esLFkku ?ksjrk gSA
 
Ques 2.- Object Oriented Programming Paradigm
dks le>kb,+ \dks le>kb,+ \dks le>kb,+ \dks le>kb,+ \dksle>kb,+\
Ans:-
 
OOPs
dsfl)ka r dsva rxZr 
Data
dks 
 program
 
development
dk eq[; rRo ekuk tkrk gS rFkk 
Data System
ds vanj Lora = :i lsugha?kw e ldrk gSA
OOP
ds va rxZr 
Data
dks
function
lslacaf/kr fd;k tkrk gSrFkk 
function
gh 
data
ij fØ;k djrk gS rFkk 
data
dksckgjh  okrkoj.k }kjk nq?kZVuko’k ifjorZu lsjksdrk gSA
OOPs
fn, x,
Problem
dksNksVsNksVsvo;oks] ftUgs 
object
dgrs gS]esafoHkDr djrk gSA
Organization of Data & Member Function in OOPObject AObject B
Data DataFunction FunctionDataFunction
Object c

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->