data types Flashcards
1
Q
static and examples
A
size is fixed when structure is created - array
2
Q
contiguous and examples
A
elements in memory are stored together and in order - list
3
Q
dynamic and examples
A
size can be changed during processing - list
4
Q
unordered and examples
A
this is no order to the data in this structure - record
4
Q
immutable and examples
A
data / elements cannot be changed - tuple
5
Q
what is meant by a record structure
A
can store multiple values under 1 identifier(variable)
data can be of different types
6
Q
what should you never forget when programming lists and arrays
A
to ask if the list/array is empty or full