WELCOME TO OUR PRESENTATION [ARRAY] IS OUR PRESENTATION TOPIC
Group Name is Backspace
What is Array ? 1. An array is a collection of data items, all of the same type , accessed using a common name. 2. It is simply a grump of data types 3. An array is a derived data type 4. An array is used to represent a list od numbers or list of names
Types of Array 1.One dimensional array 2.Two-dimensional array 3.Multi dimensional array
Accessing Array Elements An element is accessed by indexing the array name. This is done by placing the index of the element within square brackets after the name of the array. For example: double salary= balance[20] ;
unisized array initialization can skip the size of an array in array initialization Element of an array can be added or removed without changing array dimensions. EX: float price[ ]={50,60,70,80};
One dimensional Array SYNTAX: Data-type name [index];
Declaration of one-dimensional Array 1.The general form of array declaration is type array_name [size] 2.Here the type specifies the data type of elements int the array , such as int , float or char 3.The size indicates the maximum numbers of elements that can be stored inside the array. For Example: int a[10]
one dimensional Array scores code & output
Two dimensional Array SYNTAX: Data type-Array name[ row size] [ colum size ]
Declaration of Two dimensional Array 1. The general form of two dimensional array declaration is- type array_name[row size][columsize] 2. Here the type specifies the data type of elements of the Array such as int , float or char.
Two dimensional Array scores code & output
Multi dimensional Array SYNTAX: Type_array name[s1][s2][s3]…..s[n]
Need of Array 1. Till now, We have been storing data in simple variables 2. Although storing data of large number of people is use 3. To store this large data, the developers developed the concept of arrays in language.
Advantage of Array 1.Huge amount of data can be stored under single variable name. 2.Searching of data item of faster. 3.Two dimensional Arrays are used to represent the matries.
Presentation on array

Presentation on array

  • 1.
    WELCOME TO OURPRESENTATION [ARRAY] IS OUR PRESENTATION TOPIC
  • 2.
    Group Name isBackspace
  • 3.
    What is Array? 1. An array is a collection of data items, all of the same type , accessed using a common name. 2. It is simply a grump of data types 3. An array is a derived data type 4. An array is used to represent a list od numbers or list of names
  • 4.
    Types of Array 1.Onedimensional array 2.Two-dimensional array 3.Multi dimensional array
  • 5.
    Accessing Array Elements Anelement is accessed by indexing the array name. This is done by placing the index of the element within square brackets after the name of the array. For example: double salary= balance[20] ;
  • 6.
    unisized array initialization canskip the size of an array in array initialization Element of an array can be added or removed without changing array dimensions. EX: float price[ ]={50,60,70,80};
  • 7.
  • 8.
    Declaration of one-dimensionalArray 1.The general form of array declaration is type array_name [size] 2.Here the type specifies the data type of elements int the array , such as int , float or char 3.The size indicates the maximum numbers of elements that can be stored inside the array. For Example: int a[10]
  • 9.
    one dimensional Arrayscores code & output
  • 10.
    Two dimensional Array SYNTAX: Datatype-Array name[ row size] [ colum size ]
  • 11.
    Declaration of Twodimensional Array 1. The general form of two dimensional array declaration is- type array_name[row size][columsize] 2. Here the type specifies the data type of elements of the Array such as int , float or char.
  • 12.
    Two dimensional Arrayscores code & output
  • 13.
  • 14.
    Need of Array 1.Till now, We have been storing data in simple variables 2. Although storing data of large number of people is use 3. To store this large data, the developers developed the concept of arrays in language.
  • 15.
    Advantage of Array 1.Hugeamount of data can be stored under single variable name. 2.Searching of data item of faster. 3.Two dimensional Arrays are used to represent the matries.