Please enable JavaScript to use CodeHS

AP Computer Science A (Nitro - 2019 AP CSA Framework)

Iteration

Students learn how to use iteration to improve the reusability and speed of their programs. Students evaluate which iterative structures should be used in a given context, and build programs that require them to choose the iterative structure that works best.

Lessons

4.1 Iteration

  • While Loops
  • While Loops
  • While Loop Countdown
  • Get Down to One
  • Running Average
  • +4 more

4.2 For Loops

  • For Loops
  • For Loops
  • For Loop
  • Countdown
  • Count By Twos
  • +5 more

4.3 Developing Algorithms Using Strings

  • Developing Algorithms Using Strings
  • Developing Algorithms Using Strings
  • Traversing Strings
  • Replace Characters
  • Reverse String
  • +6 more

4.4 Nested Iteration

  • Nested Iteration
  • Nested Iteration
  • Make a Rectangle
  • Nested Loop Iteration Counts
  • Inverted Triangle
  • +3 more

4.5 Informal Code Analysis

  • Informal Code Analysis
  • Informal Code Analysis
  • Loop Execution Count
  • While Loop Time
  • For Loop Time
  • +4 more

4.6 Iteration Quiz

  • Iteration Quiz