Chapter 13 - Arrays Flashcards

1
Q

What are the similarities between arrays and lists?

A

Arrays are a fixed length and can may only contain items of only one data type.

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

What are some of the differences between arrays and lists?

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

Why would we want to use an array instead of a list?

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

What is array arithmetic?

A

Only arrays of the same shape can be used with addition, subtraction, multiplication, and division.

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

What are array relations?

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

What is logical indexing?

A

A way of selecting items that meet certain requirements of an array.

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