Memory Array Organizations

A memory array is a linear data structure that stores a collection of similar data types at contiguous locations in a computer's memory. Memory arrays are categorized as one-dimensional arrays and multiple-dimensional arrays. Arrays are among the oldest data structures and are used in almost every computer program.

Read more

Featured Article

What is a Memory Array?

A memory array refers to a linear data structure that stores a collection of similar data types at contiguous locations in a computer's memory. A linear data structure comprises data components arranged in sequential order, and each member element is related to the preceding element. Each memory array is built as a series of bit cells, with each cell holding to one bit of data. An array index specifies the position of an element within the array. The item stored in the array is referred to as an array element, and it may be retrieved using its index. Memory arrays are generally categorized into one-dimensional arrays and multi-dimensional arrays.

Types of Memory Arrays

One-dimensional Arrays

A one-dimensional array, also known as a single dimension array, is a linear data structure array that requires only one subscript specification to indicate a single array element. It is a collection of variables related to one another and have similar data types. A one-dimensional array enables random access, and all the elements can be retrieved with the support of their index. These types of arrays are popular in programming.

Multiple-dimensional Arrays

A multiple-dimensional array is a linear data structure array with two subscripts. Like a one-dimensional array, it also allows random access, and all the elements can be retrieved with the support of their index. A multiple-dimensional array can be seen as a collection of 1D arrays known as a matrix. The dimensions of multiple-dimensional arrays can be increased from 2 to 3 and so forth. The simplest form of multiple-dimensional array is a two-dimensional array, usually denoted as 2D. 

Uses and Applications

Arrays are used to implement matrices, mathematical vectors, and other rectangular tables. Many databases are made up of, or include, one-dimensional arrays with records as their elements. Memory arrays can also implement various data structures such as heaps, hash tables, queues, stacks, etc. One or more huge arrays are sometimes employed to simulate in-program dynamic memory allocation, particularly memory pool allocation. Arrays allow random access and are cache-friendly.

 

Read more