Section 7: Data structures Flashcards

1
Q

What is an array?

A

A finite, ordered set of elements of the same data type

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

What is a tuple?

A

An immutable ordered set of values, in which elements do not have to be the same data type

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

What does a file consist of?

A

Records, which contain fields, which hold one item of data

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

What is an abstract data type?

A

A data type created by the programmer and is a logical description of how the data is viewed and the operations that can be performed on it

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