Algorithms

An algorithm is a list of steps to solve a problem. It is like a recipe that tells you exactly what to do. Computers use algorithms to do their work. People use algorithms in everyday life too, like following directions.

Algorithms in Daily Life

You follow algorithms more than you think. A recipe for making a sandwich is an algorithm. Getting dressed in order is an algorithm too. When you sort your toys by color, you are using a sorting algorithm. Each step must happen in the right order to get the right result.

Algorithms in Computers

Computers use algorithms for almost everything. Search engines use algorithms to find the best results for you. Maps apps use algorithms to find the fastest route. Video games use algorithms to make characters move and react. Programmers write algorithms as part of their code.

Fun Facts

  • The word algorithm comes from the name of a mathematician from the 800s named al-Khwarizmi.
  • YouTube uses an algorithm to suggest videos you might like.
  • A simple sorting algorithm can put a million numbers in order in less than a second.

Did You Know?

Every time you search for something online, a search algorithm looks through billions of web pages in less than one second to find the best answers for you!