Nepedia
Back to Discover
Developing Reader
💻

Imperative programming

technology Maturity 7-9 Next article →

A computer needs a list of steps to work.

Computer-memory-map
Computer-memory-map

These steps are like a recipe for food. They tell the computer exactly what to do.

One way to do this is by giving commands. The computer follows each command one by one. It changes things as it goes.

Some steps can repeat. This is called a loop. A loop tells the computer to do a task many times.

Other steps can skip parts. The computer only does a task if something is true. This helps the computer make choices.

Most computer languages work this way. It is a very common way to build software.

Computer-memory-map
Computer-memory-map
104 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Computer-memory-map.png
Computer-memory-map.png
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.