Nepedia
Back to Discover
Developing Reader
💻

Control flow

technology Maturity 7-9 Next article →

Computers follow a list of steps.

Programmingloops
Programmingloops

Most of the time, they go from one step to the next. This is a simple path.

Sometimes, the computer must jump to a new spot. It might jump to a special mark called a label. This helps it skip parts or go back.

Other times, the computer makes a choice. It looks at a rule to decide where to go. This is like a fork in a road.

A computer can also do a task many times. This is called a loop. It can repeat a task until a rule says to stop.

These jumps and loops help computers do many things.

109 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Programmingloops.svg
Programmingloops.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.