step-by-step loop code

noun phrase
UK /stɛp baɪ stɛp luːp kəʊd/
US /stɛp baɪ stɛp lup koʊd/

Code that tells a computer to do things one small step at a time, again and again.

The robot followed the step-by-step loop code to walk forward and turn around.


OTHER MEANINGS

2. A teaching method where learners repeat each coding step until they master it.

The teacher used step-by-step loop code to help kids learn how to draw a square.

3. A set of repeated actions written in order for a machine to follow.

The washing machine runs its step-by-step loop code for each wash cycle.

4. A beginner-friendly way to write a program as a list of small repeated steps.

She wrote step-by-step loop code to make the sprite bounce forever.