SlideShare uma empresa Scribd logo
1 de 9
Array are the Collection of Finite Number of Homogeneous Data
Element.
All the Element are Stored at the Contiguous Memory Location.
Array is Group of Variable.
Array is a Linear Collection of Similar Element.
Array is Also Know as Subscript Variable.
Before using Array in a Program, It Must Be Declared First Like Other
Data type of an Array.
The Name of The Array.
The Number of Subscript in an Array.
The Maximum Value of Each Subscript.
After An Array is
Declared its Elements
Must Be Initialized
A[0]=34
A[1]=15
A[2]=18
A[3]=19
Linear Array
Another name of linear array is one dimensional array of single
dimensional array.
 List of element of simply a row of element of column of element.
 There is one to one relationship between each data element and
its subscript or index.
 Only one subscript is used.
Two dimensional array
Three dimensional array
N dimensional array
This array are int the form of row and column form.
First subscript will depict the row size and second subscript
will depict the col. Size.
General syntax is.
data type array name[row size][col. Size]
Example:
int a[5][10];
It has three subscript. So these are called triple dimensional
array.
General syntax
Data type array name[space size][row size][col. Size]
Example:
int st[4][2][3];
It has N size of row, column and spaces and so on.
General syntax is.
data type array name[s1][s2]……………..[sn]
Example:

Mais conteúdo relacionado

Mais procurados

Data structure power point presentation
Data structure power point presentation Data structure power point presentation
Data structure power point presentation Anil Kumar Prajapati
 
Alg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - MatricesAlg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - Matricesjtentinger
 
Alg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatricesAlg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatricesjtentinger
 
Dsa – data structure and algorithms sorting
Dsa – data structure and algorithms  sortingDsa – data structure and algorithms  sorting
Dsa – data structure and algorithms sortingsajinis3
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2Self-Employed
 
Unit 2 linear data structures
Unit 2   linear data structuresUnit 2   linear data structures
Unit 2 linear data structuresSenthil Murugan
 
Using Functions in Excel
Using Functions in ExcelUsing Functions in Excel
Using Functions in ExcelCasey Robertson
 
Making a frequency chart
Making a frequency chartMaking a frequency chart
Making a frequency chartjwarnerx0x
 
computer notes - Data Structures - 37
computer notes - Data Structures - 37computer notes - Data Structures - 37
computer notes - Data Structures - 37ecomputernotes
 
Binary search algorithm
Binary search algorithmBinary search algorithm
Binary search algorithmmaamir farooq
 
spreadsheet program
spreadsheet programspreadsheet program
spreadsheet programsamina khan
 
Lecture 01 Intro to DSA
Lecture 01 Intro to DSALecture 01 Intro to DSA
Lecture 01 Intro to DSANurjahan Nipa
 
Data structure,abstraction,abstract data type,static and dynamic,time and spa...
Data structure,abstraction,abstract data type,static and dynamic,time and spa...Data structure,abstraction,abstract data type,static and dynamic,time and spa...
Data structure,abstraction,abstract data type,static and dynamic,time and spa...Hassan Ahmed
 

Mais procurados (20)

Data structure power point presentation
Data structure power point presentation Data structure power point presentation
Data structure power point presentation
 
Alg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - MatricesAlg II 3-6 Solving Systems - Matrices
Alg II 3-6 Solving Systems - Matrices
 
Alg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatricesAlg II Unit 3-6-solvingsystemsmatrices
Alg II Unit 3-6-solvingsystemsmatrices
 
MS excel functions
MS excel functionsMS excel functions
MS excel functions
 
Dsa – data structure and algorithms sorting
Dsa – data structure and algorithms  sortingDsa – data structure and algorithms  sorting
Dsa – data structure and algorithms sorting
 
Abstract data types (adt) intro to data structure part 2
Abstract data types (adt)   intro to data structure part 2Abstract data types (adt)   intro to data structure part 2
Abstract data types (adt) intro to data structure part 2
 
Unit 2 linear data structures
Unit 2   linear data structuresUnit 2   linear data structures
Unit 2 linear data structures
 
Data structures
Data structuresData structures
Data structures
 
Using Functions in Excel
Using Functions in ExcelUsing Functions in Excel
Using Functions in Excel
 
Making a frequency chart
Making a frequency chartMaking a frequency chart
Making a frequency chart
 
computer notes - Data Structures - 37
computer notes - Data Structures - 37computer notes - Data Structures - 37
computer notes - Data Structures - 37
 
Computer Science-Data Structures :Abstract DataType (ADT)
Computer Science-Data Structures :Abstract DataType (ADT)Computer Science-Data Structures :Abstract DataType (ADT)
Computer Science-Data Structures :Abstract DataType (ADT)
 
Quick dive to pandas
Quick dive to pandasQuick dive to pandas
Quick dive to pandas
 
Binary search algorithm
Binary search algorithmBinary search algorithm
Binary search algorithm
 
Collections (1)
Collections (1)Collections (1)
Collections (1)
 
spreadsheet program
spreadsheet programspreadsheet program
spreadsheet program
 
Linked List vs. AVL Tree in Modulo Ten Search
Linked List vs. AVL Tree in Modulo Ten SearchLinked List vs. AVL Tree in Modulo Ten Search
Linked List vs. AVL Tree in Modulo Ten Search
 
Lecture 01 Intro to DSA
Lecture 01 Intro to DSALecture 01 Intro to DSA
Lecture 01 Intro to DSA
 
linklisr
linklisrlinklisr
linklisr
 
Data structure,abstraction,abstract data type,static and dynamic,time and spa...
Data structure,abstraction,abstract data type,static and dynamic,time and spa...Data structure,abstraction,abstract data type,static and dynamic,time and spa...
Data structure,abstraction,abstract data type,static and dynamic,time and spa...
 

Destaque

Formato de registro_de_asesorias_ingsistemas
Formato de registro_de_asesorias_ingsistemasFormato de registro_de_asesorias_ingsistemas
Formato de registro_de_asesorias_ingsistemasutolima
 
Formato notas
 Formato notas Formato notas
Formato notasutolima
 
Letak02
Letak02Letak02
Letak02ELVIS
 
Jose castillo PPP
 Jose castillo PPP Jose castillo PPP
Jose castillo PPPjoe0113
 
Campeonato gaúcho 2014 segunda divisão
Campeonato gaúcho 2014   segunda divisãoCampeonato gaúcho 2014   segunda divisão
Campeonato gaúcho 2014 segunda divisãoRafael Passos
 
drawings
drawingsdrawings
drawingsXu Mary
 
Atividade 3.2 - Redes de Aprendizagem
Atividade 3.2  - Redes de AprendizagemAtividade 3.2  - Redes de Aprendizagem
Atividade 3.2 - Redes de AprendizagemOdete Vendruscolo
 
¿Como quemar grasa abdominal rapidamente de forma natural?
¿Como quemar grasa abdominal rapidamente de forma natural?¿Como quemar grasa abdominal rapidamente de forma natural?
¿Como quemar grasa abdominal rapidamente de forma natural?Mercedez Martinez
 
Erdi Aroa Webquest Ikasbide
Erdi Aroa Webquest IkasbideErdi Aroa Webquest Ikasbide
Erdi Aroa Webquest IkasbideAlfonso Setiey
 

Destaque (11)

performance 6
performance 6performance 6
performance 6
 
Formato de registro_de_asesorias_ingsistemas
Formato de registro_de_asesorias_ingsistemasFormato de registro_de_asesorias_ingsistemas
Formato de registro_de_asesorias_ingsistemas
 
Formato notas
 Formato notas Formato notas
Formato notas
 
Letak02
Letak02Letak02
Letak02
 
MUNDIAL 2010 - GRUPOS D, E y F
MUNDIAL 2010 - GRUPOS D, E y FMUNDIAL 2010 - GRUPOS D, E y F
MUNDIAL 2010 - GRUPOS D, E y F
 
Jose castillo PPP
 Jose castillo PPP Jose castillo PPP
Jose castillo PPP
 
Campeonato gaúcho 2014 segunda divisão
Campeonato gaúcho 2014   segunda divisãoCampeonato gaúcho 2014   segunda divisão
Campeonato gaúcho 2014 segunda divisão
 
drawings
drawingsdrawings
drawings
 
Atividade 3.2 - Redes de Aprendizagem
Atividade 3.2  - Redes de AprendizagemAtividade 3.2  - Redes de Aprendizagem
Atividade 3.2 - Redes de Aprendizagem
 
¿Como quemar grasa abdominal rapidamente de forma natural?
¿Como quemar grasa abdominal rapidamente de forma natural?¿Como quemar grasa abdominal rapidamente de forma natural?
¿Como quemar grasa abdominal rapidamente de forma natural?
 
Erdi Aroa Webquest Ikasbide
Erdi Aroa Webquest IkasbideErdi Aroa Webquest Ikasbide
Erdi Aroa Webquest Ikasbide
 

Semelhante a Data structure

Semelhante a Data structure (20)

Chap09
Chap09Chap09
Chap09
 
Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm
 
Matrices
MatricesMatrices
Matrices
 
9781439035665 ppt ch09
9781439035665 ppt ch099781439035665 ppt ch09
9781439035665 ppt ch09
 
Array in c
Array in cArray in c
Array in c
 
Arrays
ArraysArrays
Arrays
 
concept of Array, 1D & 2D array
concept of Array, 1D & 2D arrayconcept of Array, 1D & 2D array
concept of Array, 1D & 2D array
 
Presentation on array
Presentation on array Presentation on array
Presentation on array
 
Array ppt
Array pptArray ppt
Array ppt
 
Array.pdf
Array.pdfArray.pdf
Array.pdf
 
DSA UNIT II ARRAY AND LIST - notes
DSA UNIT II ARRAY AND LIST - notesDSA UNIT II ARRAY AND LIST - notes
DSA UNIT II ARRAY AND LIST - notes
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 
arrayppt.pptx
arrayppt.pptxarrayppt.pptx
arrayppt.pptx
 
Array.ppt
Array.pptArray.ppt
Array.ppt
 
array.ppt
array.pptarray.ppt
array.ppt
 
Array
ArrayArray
Array
 
Arrays declartion and initialization
Arrays declartion and initializationArrays declartion and initialization
Arrays declartion and initialization
 
Arrays in C
Arrays in CArrays in C
Arrays in C
 
Datastructures and algorithms prepared by M.V.Brehmanada Reddy
Datastructures and algorithms prepared by M.V.Brehmanada ReddyDatastructures and algorithms prepared by M.V.Brehmanada Reddy
Datastructures and algorithms prepared by M.V.Brehmanada Reddy
 
Array
ArrayArray
Array
 

Último

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 

Último (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 

Data structure

  • 1.
  • 2. Array are the Collection of Finite Number of Homogeneous Data Element. All the Element are Stored at the Contiguous Memory Location. Array is Group of Variable. Array is a Linear Collection of Similar Element. Array is Also Know as Subscript Variable.
  • 3. Before using Array in a Program, It Must Be Declared First Like Other Data type of an Array. The Name of The Array. The Number of Subscript in an Array. The Maximum Value of Each Subscript.
  • 4. After An Array is Declared its Elements Must Be Initialized A[0]=34 A[1]=15 A[2]=18 A[3]=19
  • 5. Linear Array Another name of linear array is one dimensional array of single dimensional array.  List of element of simply a row of element of column of element.  There is one to one relationship between each data element and its subscript or index.  Only one subscript is used.
  • 6. Two dimensional array Three dimensional array N dimensional array
  • 7. This array are int the form of row and column form. First subscript will depict the row size and second subscript will depict the col. Size. General syntax is. data type array name[row size][col. Size] Example: int a[5][10];
  • 8. It has three subscript. So these are called triple dimensional array. General syntax Data type array name[space size][row size][col. Size] Example: int st[4][2][3];
  • 9. It has N size of row, column and spaces and so on. General syntax is. data type array name[s1][s2]……………..[sn] Example: