D a t a Avcture Data hructure i> away of organ
all data items md relatronhip to
intormat ton
Sata > Anything to qive each o+her.
is Calle deta.
Tpes of dato Aructure
&stuentName, AuclentRollno,
There are mainly tuo typu of data
Structure > Repreentaditon of data is Aructure.
Calledructure. Data Aructure|
aph, Arrays, Lis4.
Pvimitue data Non-primitie
Data tructure ShwctUre data rucdure
Data hucture Data + ructure
Ineger lea] Characker Lear Non-i
Data hructure is a way to tore data Ucke] data Shnctn
Ome deata so that i+ Can
ovgam'ze Aays Tres
tacs
be ed &ffitiently beter Woy
LiikLis*
,4
L3
3
, A-
An Asray Conbe fied os an infinte
Collech'on of homogentoa (Similar +ype)
&lemmg.
Amy are aluays Stored in Conseuhive
Cspecifie) memory Lotatiom.
Array Can be Store multiple valus
wweh Con be referenced by a Sngle nane,
ges of Arayg
SAingle muwuona l mult&Amanuona )
Aroy Arys
Aingle &mawional Array7+ albo
Rnown as
na Dmaunuonal 1b) ATay
Its e y one SubsCnipt to define
+he slemawts of AYrays
,Decloratn Decloraton tuJo &imensional Arrun
data-+ype var.name L8xpreAon] Bota-Hyt Vor.mame Iro] [ColomAJ
ex i'nt mum I1o1, ex
in mum L3] L1,
Chor CL51;
Inittal Zation 2-D ATay
Initialiging one-menwional Array
baka.type vav.name Lpreion] / Voluea. =
dado4ype var.name Lrow] [toloma] wlu
int mum Li] {,2,3,,5,4,,8,,1o
i't numLl]= {,2,3, ,5, 6
Char a { *','8',c, b, E}.
[s] Or
multi- bimenunal Arrays multikme t num LaTL] =i,a,3,4,5,2
Ars move
2
hin on Subscript to descrnbe the
Arras &lememds.
Thwo Mmemuonal Avrays I+3 ume tuo
tIL?£
b3
Subscrpt, me SubStip
represRmt rou value nd SeComd nomo3
+O
+o
nu 4
SubSciet to re presen Column Value.
14 maiwy tov motri'x Re presnati
all data items md relatronhip to
intormat ton
Sata > Anything to qive each o+her.
is Calle deta.
Tpes of dato Aructure
&stuentName, AuclentRollno,
There are mainly tuo typu of data
Structure > Repreentaditon of data is Aructure.
Calledructure. Data Aructure|
aph, Arrays, Lis4.
Pvimitue data Non-primitie
Data tructure ShwctUre data rucdure
Data hucture Data + ructure
Ineger lea] Characker Lear Non-i
Data hructure is a way to tore data Ucke] data Shnctn
Ome deata so that i+ Can
ovgam'ze Aays Tres
tacs
be ed &ffitiently beter Woy
LiikLis*
,4
L3
3
, A-
An Asray Conbe fied os an infinte
Collech'on of homogentoa (Similar +ype)
&lemmg.
Amy are aluays Stored in Conseuhive
Cspecifie) memory Lotatiom.
Array Can be Store multiple valus
wweh Con be referenced by a Sngle nane,
ges of Arayg
SAingle muwuona l mult&Amanuona )
Aroy Arys
Aingle &mawional Array7+ albo
Rnown as
na Dmaunuonal 1b) ATay
Its e y one SubsCnipt to define
+he slemawts of AYrays
,Decloratn Decloraton tuJo &imensional Arrun
data-+ype var.name L8xpreAon] Bota-Hyt Vor.mame Iro] [ColomAJ
ex i'nt mum I1o1, ex
in mum L3] L1,
Chor CL51;
Inittal Zation 2-D ATay
Initialiging one-menwional Array
baka.type vav.name Lpreion] / Voluea. =
dado4ype var.name Lrow] [toloma] wlu
int mum Li] {,2,3,,5,4,,8,,1o
i't numLl]= {,2,3, ,5, 6
Char a { *','8',c, b, E}.
[s] Or
multi- bimenunal Arrays multikme t num LaTL] =i,a,3,4,5,2
Ars move
2
hin on Subscript to descrnbe the
Arras &lememds.
Thwo Mmemuonal Avrays I+3 ume tuo
tIL?£
b3
Subscrpt, me SubStip
represRmt rou value nd SeComd nomo3
+O
+o
nu 4
SubSciet to re presen Column Value.
14 maiwy tov motri'x Re presnati