Chapter 8 Programming: Unit 8.2: Arrays Flashcards

1
Q

Define array

A

Data structure containing several elements of the same data type; these elements can be accessed using the same identifier name. The position of each element in an array is identified using the array’s index.

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

Define one dimensional array.

A

Can be referred to as a list.

When a one dimensional array is declared in pseudocode:

The name of the array
The first index value
The last index value
And the data type

Are included.

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

Define two dimensional array.

A

Can be referred to as a table, with rows and columns.

When a two dimensional array is declared in pseudocode:

The first index value for rows
The last index value for rows
The first index value for columns
The last index value for columns
And the data type

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