Data Structures Flashcards

(6 cards)

1
Q

Variable

A

A named memory location used to store data that can change during program execution.

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

Constant

A

A named memory location that stores a value which does not change during program execution.

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

Array

A

A data structure that stores multiple values of the same data type in a single variable.

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

Index

A

The position number of an element in an array, usually starting at 0 or 1.

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

1D Array

A

A single list of values stored in a single row or column.

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

2D Array

A

An array with rows and columns, similar to a table or spreadsheet.

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