Arrays Flashcards

1
Q

Aggregation of atomic or other structured data types.

A

Structured Data Type

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

Contiguous bytes of data divided according to programmer’s concept of data types.

A

Structured Data Types

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

Collection of data of the same type

A

Arrays

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

True or False: Each element in an array is of equal size.

A

True

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

The _______________ is the only name by which we can reference the location of the array in memory.

A

Variable name

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

The variable is the ___________ of the array.

A

Base address

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

The ith element is ________ far from the base address.

A

i*size where size is the byte size

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

The general format to access the ith element of the array.

A

[<array_name>+i*size]</array_name>

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