Please enable JavaScript to use CodeHS

Indiana Computer Science I

Lesson 6.6 General For Loops

Description

In this lesson, students will explore in more detail how they can modify the initialization statement, test statement, and increment statement in a for loop.


Objective

Students will be able to…

  • Explain the three parts of the for loop (initialization statement, test statement, increment statement)
  • Create for loops that iterate differently than the basic for loop structure (ie count by twos or count backwards)