Ch 7 - Iteration Flashcards

1
Q

Think Julia

What is a: increment

A

Updating a variable by adding 1 is called an increment; subtracting 1 is called a decrement.

Ben Lauwens and Allen B. Downey. thinkjulia (Kindle Locations 2493-2499). Kindle Edition.

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

Think Julia

What is a: decrement

A

Updating a variable by adding 1 is called an increment; subtracting 1 is called a decrement.

Ben Lauwens and Allen B. Downey. thinkjulia (Kindle Locations 2493-2499). Kindle Edition.

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

Think Julia

What is a: iteration

A

Computers are often used to automate repetitive tasks. Repeating identical or similar tasks without making errors is something that computers do well and people do poorly. In a computer program, repetition is also called iteration.

Ben Lauwens and Allen B. Downey. thinkjulia (Kindle Locations 2500-2503). Kindle Edition.

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