मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

Explain Array concepts and their types. - Computer Applications

Advertisements
Advertisements

प्रश्न

Explain Array concepts and their types.

थोडक्यात उत्तर

उत्तर

Array is a concept that stores more than one value of same data type (homogeneous) in a single array variable. They are 3 types of array concepts in PHP.

  • Indexed Arrays:
    Arrays with a numeric index for the available values in array variable which contains key value pair as user/developer can take the values using keys.
  • Associative Arrays:
  1. Associative arrays are a key-value pair data structure.
  2. Instead of having storing data in a linear array, with associative arrays you can store your data in a collection and assign it a unique key which you may use for referencing your data.
  • Multidimensional Arrays
  1. A multidimensional array is an array containing one or more arrays.
  2. PHP understands multidimensional arrays that are two, three, four, five, or more levels deep.
  3. However, arrays more than three levels deep are hard to manage for most people.
shaalaa.com
Array in PHP
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: PHP Function and Array - Evaluation - PART – IV [पृष्ठ १०४]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
पाठ 5 PHP Function and Array
Evaluation - PART – IV | Q 4. | पृष्ठ १०४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×