Chapter 7 Flashcards

1
Q

Sequence

A

An object that contains multiple items of data

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

Mutable

A

A program that can change its contents.

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

Immutable

A

Once a content is created, it cannot be changed by the program.

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

List

A

An object that contains multiple items of data

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

Element

A

Each item in a list

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

Repetition Operator

A

Makes multiple copies of a list and joins them together

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

Index

A

A number specifying the position of an element in a list.

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

len Function

A

Returns the length of a sequence such as a list.

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

Mutable Sequence

A

The items in the sequence can be changed

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

Concatenate

A

Join two things together

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