Unit 3 Lesson 4 - For Loops

Lesson summary and assignments

For a description of the for-loop, see Unit 1 Lesson 7 - Loops.

Vocabulary

decrement
to decrease a value by one
increment
to increase a value by one
loop control variable
a variable that is changed by a constant value and determines the end of a loop
off-by-one error
an error that occurs when a loop repeats one time too many or one time too few