Please enable JavaScript to use CodeHS

{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #}

Chapter 4

Iteration

{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.1 while Loops Basic while Loops while Loop Countdown Infinite Loops while Loop Applications while Loop Countdown Get Down to One Running Average Check Your Understanding Exercise: Guess the Number
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.2 for Loops Breaking Down the for Loop Putting It All Together for Loop Countdown Count By Twos Off By One Errors For Loop Sum Check Your Understanding Exercise: Replace while Loop with for Loop
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.3 Developing Algorithms Using Strings Traversing a String Determining Properties of a Substring Reverse String Replace Characters Check Your Understanding Exercise: Password Checker
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.4 Nested Iteration Nested for Loops Nested while Loops Make a Rectangle Nested Loop Iteration Counts Inverted Triangle Check Your Understanding Exercise: Addition Table
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.5 Informal Code Analysis Algorithms Program Efficiency Statement Execution Count Loop Execution Count while Loop Time for Loop Time Check Your Understanding Exercise: Improving findChar Speed