data types Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

static and examples

A

size is fixed when structure is created - array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

contiguous and examples

A

elements in memory are stored together and in order - list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

dynamic and examples

A

size can be changed during processing - list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

unordered and examples

A

this is no order to the data in this structure - record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

immutable and examples

A

data / elements cannot be changed - tuple

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is meant by a record structure

A

can store multiple values under 1 identifier(variable)
data can be of different types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what should you never forget when programming lists and arrays

A

to ask if the list/array is empty or full

How well did you know this?
1
Not at all
2
3
4
5
Perfectly