Unit 5: Lists, Loops, and Transversals Flashcards

1
Q

list

A

an ordered collection of elements

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

element

A

an individual value in a list that is assigned a unique index

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

index

A

a common method for referencing the elements in a list or string using numbers

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

iteration

A

a repetitive portion of an algorithm which repeats a specified number of times until a given condition is met

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

infinite loop

A

occurs when the ending condition will never evaluate to true

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

traversal

A

the process of accessing each item in a list one at a time

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

data abstraction

A

manage complexity in programs by giving a collection of data a name without referencing specific details of the representation

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