Iteration Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

multiple assignment

A

Making more than one assignment to the same variable during the execution of a program.

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

update

A

An assignment where the new value of the variable depends on the old.

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

initialization

A

An assignment that gives an initial value to a variable that will be updated.

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

increment

A

An update that increases the value of a variable (often by one).

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

decrement

A

An update that decreases the value of a variable.

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

iteration

A

Repeated execution of a set of statements using either a recursive function call or a loop.

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

infinite loop

A

A loop in which the terminating condition is never satisfied.

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