Programming - 2.4 Data structures Flashcards

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

Data structure:

A

An organised collection of related elements. Arrays and records are 2 common data structures used in programming.

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

Two-Dimensional array:

A

a matrix of rows and columns resembling a table. 2 indices are used, one to reference the rows and other the columns. All the elements of a 2 dimensional array share the same data type.

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

Record:

A

A data structure that stores a set of related values of different data types.

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

Field:

A

An individual element in a record.

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