Data Structures Flashcards
(6 cards)
1
Q
Variable
A
A named memory location used to store data that can change during program execution.
2
Q
Constant
A
A named memory location that stores a value which does not change during program execution.
3
Q
Array
A
A data structure that stores multiple values of the same data type in a single variable.
4
Q
Index
A
The position number of an element in an array, usually starting at 0 or 1.
5
Q
1D Array
A
A single list of values stored in a single row or column.
6
Q
2D Array
A
An array with rows and columns, similar to a table or spreadsheet.