1D and 2D Arrays
Arrays store many related values under one name. A one-dimensional array is a list, and a two-dimensional array is a table or grid that needs two indices.
Key terms
- 1D array
- A list of values accessed with one index.
- 2D array
- A table or grid of values accessed with two indices, such as row and column.
- Index
- The position number used to access an element.
Part of Programming.