Sparklabs Learning
ClassesSearchPrintable packs
Back to SS 2 Third Term
Full packLearner notesTeacher plansCurriculum onlyInclude all weeks

Sparklabs Learning / Digital Technology

SS 2 Third Term

Week 4: Python: Iteration

School
Creative Brains Academy
Subject
Digital Technology
Pack
Teacher plans
Prepared
7 November 2026

Week index

  1. 01Python: Variables and Data Types
  2. 02Python: Input, Output and Operators
  3. 03Python: Selection
  4. 04Python: Iteration
  5. 05Python: Practical Mini-Project
  6. 06E-Commerce: Meaning and Types
  7. 07E-Commerce: Payment Systems and Safety
  8. 08Project Work: SDLC and Python
  9. 09Revision
  10. 10Examination

Week 4 / Third Term

Python: Iteration

Teaching outline

Lesson objectives

By the end of the week, learners should be able to:

  1. Define iteration and state its benefit for repeated tasks.
  2. Name the two FOR loop structures in Python.
  3. Write a FOR loop counting from one to ten.
  4. Write a WHILE loop with a counter guarding termination.
  5. Trace both loops predicting the displayed numbers.

Key vocabulary

  • Iteration: repeating steps through a loop.
  • FOR loop: a loop iterating over an iterable object.
  • WHILE loop: a loop repeating while a condition remains true.
  • Counter: a variable tracking loop position.
  • Guard: the condition preventing a WHILE loop from running forever.
  • Sequence: the iterable object a FOR loop traverses.
  • Range: the built-in object generating a sequence of numbers.
  • Termination: the point a loop stops executing.
  • Displayed numbers: the visible output of each iteration.

Common misconceptions

  • "FOR loops always count numbers." A FOR loop can iterate over any iterable.
  • "WHILE loops never need a guard." Without a guard a WHILE loop runs forever.
  • "Two loops cannot count the same range." Two loops can traverse overlapping ranges.

Teacher activities

  1. Starter: display a repeated counting task and ask which structure suits it.
  2. Define iteration and name the two FOR loop structures.
  3. Write a FOR loop counting from one to ten and trace it.
  4. Write a WHILE loop with a counter guarding termination.
  5. Compare both loops on efficiency and clarity.
  6. Close with the both-loops task and exit question.

Student activities

  1. Answer the starter and state which structure suits repeated counting.
  2. Define iteration in their own words and state its benefit.
  3. Write a FOR loop counting from one to ten and display the numbers.
  4. Write a WHILE loop with a counter guarding termination.
  5. Display both sequences and compare their efficiency and clarity.
  6. Answer the exit question in one sentence about WHILE guards.

Practical / learning evidence

A FOR counting loop with displayed numbers, a WHILE counting loop with a guard, and a comparison observation. Submit all three for marking.

Resources and preparation

Computers with the interpreter, blank program windows and sample tracing cards. Prebuild the interpreter in a read-only folder. Disable Caps Lock before typing. Verify the computer starts reliably.

Assessment for learning

Inspect the FOR loop for correct range and displayed numbers one through ten. Check the WHILE loop for a sensible counter guard. Compare both loops for reasonable efficiency and clarity observations. Flag any learner who omits the WHILE guard.

Inclusion and homework

Provide both loops prefilled for the range expressions and allow oral tracing. Allow extra time on the WHILE version. Extend confident learners with two FOR loops and a fourth homework writing a WHILE loop that counts backwards from ten. Homework: write a second FOR loop summing a range and display the total.

Sparklabs Learning / SS 2 Third Term / Teacher plans

Lesson content is provided for classroom planning. Adapt timings and tasks to the approved school calendar and available devices.

Sparklabs Learning

Digital Technology lesson notes and teaching plans for JSS 1 to SS 3.

Curriculum

Open educational resources for JSS 1 to SS 3 Digital Technology.

Quick links

Search the curriculumBrowse classesPrintable term packs

Academic session 2026 / 2027