Chapter 12 Flashcards

1
Q

tuple

A

An immutable sequence of elements.

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

tuple assignment

A

an assignment with a sequence on the right side and a tuple of variables on the left. The right side is evaluated and then its elements are assigned to the variables on the left.

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

gather

A

the operation of assembling a variable-length argument tuple.

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

scatter

A

the operation of treating a sequence as a list of arguments.

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

DSU

A

abbreviation of ‘decorate-sort-undecorate’, a pattern that involves building a list of tuples, sorting, and extracting part of the result.

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

data structure

A

a collection of related values, often organized in lists, dictionaries, tuples, etc.

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

shape (of a data structure)

A

a summary of the type, size and composition of a data structure.

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