Nepedia
Back to Discover
Independent Reader
🔢

Algorithm

math Maturity 7-9 Vital Level 3 Next article →

An algorithm is a set of rules. These rules are a sequence of steps. They help solve a specific problem.

GCD through successive subtractions
GCD through successive subtractions

An algorithm must have a start and an end. It takes inputs to work. Then it gives an output. This output is the answer. Some algorithms use random input. These are called randomized algorithms.

People have used these steps for a long time. Ancient Babylonians used them for math. They also used them to study stars. In the 9th century, Al-Kindi used them to break codes.

Machines can follow these rules too. Ada Lovelace wrote the first algorithm for a computer. She is known as the first programmer.

Diagram for the computation of Bernoulli numbers
Diagram for the computation of Bernoulli numbers

Today, we use them every day. Social media apps use them to show you things you like. Some new tools use quantum computing to work even faster.

136 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:GCD_through_successive_subtractions.svg
GCD_through_successive_subtractions.svg
File:Diagram for the computation of Bernoulli numbers.jpg
Diagram for the computation of Bernoulli...
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.