Multiple choice technology architecture

The difference between linear array and a record is

  1. An array is suitable for homogeneous data but hte data items in a record may have different data type

  2. In a record, there may not be a natural ordering in opposed to linear array.

  3. A record form a hierarchical structure but a lienear array does not

  4. All of above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Arrays store homogeneous elements (same type) with natural ordering by index. Records can store heterogeneous elements (different types) without requiring a natural ordering among fields. Records can form hierarchical structures through nested records, unlike simple linear arrays. All three statements correctly distinguish arrays from records.