Chapter 10 Flashcards

1
Q

list

A

a sequence of values within brackets (like an array)

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

element

A

one of the values in a list (or other sequence), also called items.

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

index

A

an integer value that indicates an element in a list.

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

nested list

A

a list that is an element of another list

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

list traversal

A

the sequential accessing of each element in a list.

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

mapping

A

a relationship in which each element of one set corresponds to an element of another set. EG, a list is a mapping from indices to element.s

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

accumulator

A

a variable used in a loop to add up or accumulate a result

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

augmented assignment

A

a statement that updates the value of a variable using an operator like +=

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

reduce

A

a processing pattern that traverses a sequence and accumulates the elements into a single result.

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

map

A

a processing pattern that traverses a sequence and performs an operator on each element.

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

filter

A

a processing pattern that traverses a list and selects the elements that satisfy some criterion.

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

object

A

something a variable can refer to. an object has a type and a value.

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

equivalent

A

having the same value.

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

identical

A

being the same object (which implies equivalence).

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

reference

A

the association between a variable and its value.

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

aliasing

A

a circumstance where two or more variables refer to the same object.

17
Q

delimiter

A

a character or string used to indicate where a string should be split.