SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Arrays
Arrays ,[object Object],[object Object],Sample
What are Arrays? ,[object Object],[object Object],[object Object],[object Object]
Array Structure num 0  1  2  3  4 Name of Array Index numbers
Declaring an ARRAY ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],Sample
Declaring Arrays ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Initializing ARRAYS ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],16 40 77 2 12071 Sample
Initializing Arrays ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Accessing the values of an ARRAY ,[object Object],[object Object],Sample[3] Sample[0] Sample[2] Sample[1] Sample[4] Sample
[object Object],[object Object],[object Object],[object Object]
An Array example ,[object Object],[object Object],[object Object],[object Object],[object Object],The array  num  has a length of 4
[object Object],[object Object],[object Object],[object Object],[object Object]
Some Valid Operations with Arrays ,[object Object],[object Object],[object Object],[object Object]
Sample Implementation: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Exercise: ,[object Object],[object Object],[object Object],[object Object],[object Object]
Programming Quiz: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Character Sequences ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],sampchar

Weitere ähnliche Inhalte

Was ist angesagt? (20)

SPL 10 | One Dimensional Array in C
SPL 10 | One Dimensional Array in CSPL 10 | One Dimensional Array in C
SPL 10 | One Dimensional Array in C
 
Array Presentation
Array PresentationArray Presentation
Array Presentation
 
C++ Arrays
C++ ArraysC++ Arrays
C++ Arrays
 
Arrays-Computer programming
Arrays-Computer programmingArrays-Computer programming
Arrays-Computer programming
 
Programming in c arrays
Programming in c   arraysProgramming in c   arrays
Programming in c arrays
 
Passing an Array to a Function (ICT Programming)
Passing an Array to a Function (ICT Programming)Passing an Array to a Function (ICT Programming)
Passing an Array to a Function (ICT Programming)
 
Array Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional arrayArray Introduction One-dimensional array Multidimensional array
Array Introduction One-dimensional array Multidimensional array
 
Array in c++
Array in c++Array in c++
Array in c++
 
Array lecture
Array lectureArray lecture
Array lecture
 
Arrays
ArraysArrays
Arrays
 
Arrays in C language
Arrays in C languageArrays in C language
Arrays in C language
 
Arrays
ArraysArrays
Arrays
 
02 c++ Array Pointer
02 c++ Array Pointer02 c++ Array Pointer
02 c++ Array Pointer
 
Array and string
Array and stringArray and string
Array and string
 
Array C programming
Array C programmingArray C programming
Array C programming
 
Arrays in java language
Arrays in java languageArrays in java language
Arrays in java language
 
Unit 6. Arrays
Unit 6. ArraysUnit 6. Arrays
Unit 6. Arrays
 
One dimensional 2
One dimensional 2One dimensional 2
One dimensional 2
 
Chap09
Chap09Chap09
Chap09
 
Array
ArrayArray
Array
 

Andere mochten auch

Presentation about arrays
Presentation about arraysPresentation about arrays
Presentation about arraysslave of Allah
 
Response To Intervention
Response To InterventionResponse To Intervention
Response To InterventionPaul Schumann
 
Math grade 2 training
Math grade 2 trainingMath grade 2 training
Math grade 2 trainingAnthony Smith
 
Grade 2 module 6 pd Katrice Hall
Grade 2 module 6 pd Katrice HallGrade 2 module 6 pd Katrice Hall
Grade 2 module 6 pd Katrice HallKatrice Hall
 
Filipino 3-tg-draft-4-10-2014
Filipino 3-tg-draft-4-10-2014Filipino 3-tg-draft-4-10-2014
Filipino 3-tg-draft-4-10-2014jennifer Tuazon
 
K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)
K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)
K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)LiGhT ArOhL
 
Mission Impossible Part 2 EsP 8 Modyul 2
Mission Impossible Part 2 EsP 8 Modyul 2Mission Impossible Part 2 EsP 8 Modyul 2
Mission Impossible Part 2 EsP 8 Modyul 2Edna Azarcon
 
K to 12 Grade 2 DLL Filipino (Q1 – Q4)
K to 12 Grade 2 DLL Filipino  (Q1 – Q4)K to 12 Grade 2 DLL Filipino  (Q1 – Q4)
K to 12 Grade 2 DLL Filipino (Q1 – Q4)LiGhT ArOhL
 
K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)
K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)
K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)LiGhT ArOhL
 
K to 12 Araling Panlipunan Grade 2 (3rd Periodical Exam)
K to 12 Araling Panlipunan Grade 2  (3rd Periodical Exam)K to 12 Araling Panlipunan Grade 2  (3rd Periodical Exam)
K to 12 Araling Panlipunan Grade 2 (3rd Periodical Exam)LiGhT ArOhL
 
K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)
K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)
K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)LiGhT ArOhL
 

Andere mochten auch (20)

Presentation about arrays
Presentation about arraysPresentation about arrays
Presentation about arrays
 
Arrays
ArraysArrays
Arrays
 
Data structure Stack
Data structure StackData structure Stack
Data structure Stack
 
Response To Intervention
Response To InterventionResponse To Intervention
Response To Intervention
 
Math grade 2 training
Math grade 2 trainingMath grade 2 training
Math grade 2 training
 
Grade 2 module 6 pd Katrice Hall
Grade 2 module 6 pd Katrice HallGrade 2 module 6 pd Katrice Hall
Grade 2 module 6 pd Katrice Hall
 
Dll esp 2
Dll esp 2Dll esp 2
Dll esp 2
 
Filipino 3-tg-draft-4-10-2014
Filipino 3-tg-draft-4-10-2014Filipino 3-tg-draft-4-10-2014
Filipino 3-tg-draft-4-10-2014
 
Dll GRADE 2 MATH
Dll GRADE 2 MATHDll GRADE 2 MATH
Dll GRADE 2 MATH
 
Stack Data structure
Stack Data structureStack Data structure
Stack Data structure
 
Banghay
BanghayBanghay
Banghay
 
Pandiwa
PandiwaPandiwa
Pandiwa
 
K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)
K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)
K to 12 Grade 2 DLL MOTHER TONGUE BASED (Q1 – Q4)
 
Mission Impossible Part 2 EsP 8 Modyul 2
Mission Impossible Part 2 EsP 8 Modyul 2Mission Impossible Part 2 EsP 8 Modyul 2
Mission Impossible Part 2 EsP 8 Modyul 2
 
K to 12 Grade 2 DLL Filipino (Q1 – Q4)
K to 12 Grade 2 DLL Filipino  (Q1 – Q4)K to 12 Grade 2 DLL Filipino  (Q1 – Q4)
K to 12 Grade 2 DLL Filipino (Q1 – Q4)
 
Modyul 2
Modyul 2Modyul 2
Modyul 2
 
Banghay aralin sa edukasyon sa pagpapakatao 9
Banghay aralin sa edukasyon sa pagpapakatao 9Banghay aralin sa edukasyon sa pagpapakatao 9
Banghay aralin sa edukasyon sa pagpapakatao 9
 
K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)
K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)
K to 12 Araling Panlipunan Grade 2 (4th Quarter 1st Summative Test)
 
K to 12 Araling Panlipunan Grade 2 (3rd Periodical Exam)
K to 12 Araling Panlipunan Grade 2  (3rd Periodical Exam)K to 12 Araling Panlipunan Grade 2  (3rd Periodical Exam)
K to 12 Araling Panlipunan Grade 2 (3rd Periodical Exam)
 
K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)
K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)
K to 12 ENGLISH Grade 2 (4th Quarter 1st Summative Test)
 

Ähnlich wie 2 arrays (20)

Arrays
ArraysArrays
Arrays
 
Array and its types and it's implemented programming Final.pdf
Array and its types and it's implemented programming Final.pdfArray and its types and it's implemented programming Final.pdf
Array and its types and it's implemented programming Final.pdf
 
Arrays
ArraysArrays
Arrays
 
Array
ArrayArray
Array
 
Arrays
ArraysArrays
Arrays
 
Chapter-Five.pptx
Chapter-Five.pptxChapter-Five.pptx
Chapter-Five.pptx
 
Introduction to Arrays in C
Introduction to Arrays in CIntroduction to Arrays in C
Introduction to Arrays in C
 
Arrays & Strings
Arrays & StringsArrays & Strings
Arrays & Strings
 
Arrays in programming
Arrays in programmingArrays in programming
Arrays in programming
 
Array&string
Array&stringArray&string
Array&string
 
Homework Assignment – Array Technical DocumentWrite a technical .pdf
Homework Assignment – Array Technical DocumentWrite a technical .pdfHomework Assignment – Array Technical DocumentWrite a technical .pdf
Homework Assignment – Array Technical DocumentWrite a technical .pdf
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
Arrays and Strings
Arrays and Strings Arrays and Strings
Arrays and Strings
 
Algo>Arrays
Algo>ArraysAlgo>Arrays
Algo>Arrays
 
ARRAYS
ARRAYSARRAYS
ARRAYS
 
Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm Arrays in Data Structure and Algorithm
Arrays in Data Structure and Algorithm
 
Arrays
ArraysArrays
Arrays
 
Module 4- Arrays and Strings
Module 4- Arrays and StringsModule 4- Arrays and Strings
Module 4- Arrays and Strings
 
CP Handout#7
CP Handout#7CP Handout#7
CP Handout#7
 
Strings Arrays
Strings ArraysStrings Arrays
Strings Arrays
 

2 arrays

  • 2.
  • 3.
  • 4. Array Structure num 0 1 2 3 4 Name of Array Index numbers
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.