Class 3 · CBSE AI · Strand C — Algorithms are Recipes
What is a loop? Repeating steps in algorithms — for kids
A loop repeats steps until a job is done. How computers avoid writing the same thing over and over. For Class 3.
Class 3 · CBSE AI · Strand C — Algorithms are Recipes
A loop repeats steps until a job is done. How computers avoid writing the same thing over and over. For Class 3.
Washing clothes at a dhobi
A dhobi at a laundry washes each piece of clothing using the same steps: wet, scrub, rinse, wring. They repeat those same steps for every piece until the whole pile is done. That's a loop — same actions, repeated, with a clear ending: when the pile is empty.
Kolam/rangoli patterns
Drawing a kolam often means repeating the same small pattern unit around a central point — the same curve, drawn again and again, rotated each time. Loops in algorithms work the same way: one unit of action, repeated until the design is complete.
Every Dhee Learning session for this concept follows three stages. We share the questions Dhee actually asks, so you can hear what a session sounds like.
Stage 1 — Surface
Your tray card says: lay one papad with a gap, then do it again, until the tray is full. Which part is the repeat step, and which part is the stopping test?
Rote answer
"The repeat step is 'do it again' and the stop is at the end. Child cannot say what the follower checks."
Understood
"'Do it again' sends the follower back to lay one more papad, and 'until the tray is full' is the stopping test the follower checks every round before going again."
Stage 2 — Reasoning
A buddy wants your card to say 'do it two hundred times' instead of 'until the tray is full'. Why is that risky on the terrace?
Follow-up Dhee may use: When would 'do it two hundred times' actually be the right stop to write?
Stage 3 — Application
A neighbour must fill water bottles before a trip, and nobody knows how many children will come. What repeat line and what stop go on her card?
Misconception Dhee watches for: Child writes the repeat line but leaves the stop out — redirect: 'Your follower has filled a bottle and gone round again. What does it check to know the job is over?'
Dhee turns this concept into a short spoken lesson — teaching, listening, and probing — so your child builds the idea themselves.
A loop repeats steps until a job is done. How computers avoid writing the same thing over and over. For Class 3.
Loops are only useful for big, complicated tasks — small tasks don't need them
Dhee opens with a question — for example: "Your tray card says: lay one papad with a gap, then do it again, until the tray is full. Which part is the repeat step, and which part is the stopping test?" — listens to your child's answer, then probes the reasoning behind it. The session ends when the child can apply the idea to a brand-new situation, not just recall it.