Arrays and Sorting Algorithms Flashcards

1
Q

What is an array?

A

An array is a data structure that allows you to hold many items of data which is referenced by one identifier.

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

What must all items of data in an array have in common?

A

They must all be the same data type.

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

Do arrays have fixed lengths?

A

Yes.

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