Please enable JavaScript to use CodeHS

IB Computer Science Higher Level (Year One) (2021)

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

10.1 Iteration

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

10.2 For Loops

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

10.3 Developing Algorithms Using Strings

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

10.4 Nested Iteration

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

10.5 Informal Code Analysis

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

10.6 Iteration Quiz

  • Iteration Quiz