Skip to content
KCL TechAcademy
HomeCoursesSign in
Menu
HomeCoursesSign in
  1. Courses
  2. /Java Workshop
  3. /Week 4

Iterations

In Week 4, we explored loops and how they allow programs to repeat instructions without having to write the same code multiple times.

Topics covered: • Introduction to loops and iteration • for loops • while loops • Loop conditions and termination • Incrementing and decrementing variables • Understanding infinite loops • Using loops alongside if statements • Repeating calculations and processing sequences of numbers

By the end of the session, students were able to use loops to automate repetitive tasks, process numbers and combine iteration with conditional statements.

Practical exercises included creating a Number Summary program, calculating multiplication tables and building a Number Guessing Game.

Your next step

Take your time with the material. Mark it complete when you’re ready.

Sign in to track progress

Related to this lesson

← Conditionals and BooleansLists, Sets and Maps →
KCL Tech AcademyLearn. Build. Share what you know.