For students new to coding, the process of algorithmic thinking can be challenging. Instead of providing an answer to a question—or even showing the work for how they got there—algorithmic thinking requires students to solve not for an answer, but for a replicable process to solve the answer (or complete a task). This concept can feel enigmatic for some students who haven’t yet connected how algorithms exist in daily life.
How are Algorithms Used in Everyday Life?
Algorithms are used constantly in modern life, playing a crucial role in various everyday activities. When you use your smartphone, algorithms power everything from unlocking the device with facial recognition to predicting text as you type. Social media platforms leverage complex algorithms to curate your feed, ensuring that the content you see is tailored to your interests and engagement patterns. Online shopping platforms use recommendation algorithms to suggest products you might like based on your browsing and purchase history. Navigation apps like Google Maps or Waze utilize algorithms to provide real-time traffic updates and the fastest routes to your destination. Even in finance, algorithms are employed for tasks such as fraud detection and automated trading.
Algorithms, though often associated with digital technology, can also exist and function offline in everyday activities and processes without the need for computers or electronic devices. These offline algorithms are essentially step-by-step procedures or sets of rules designed to solve specific problems or perform tasks efficiently.
For instance, a recipe for baking a cake follows a precise algorithm, outlining the sequence of ingredients and steps required to achieve the desired outcome. Similarly, traditional methods for solving puzzles, organizing schedules, or even conducting manual sorting of items are guided by algorithmic principles. These offline algorithms demonstrate how systematic thinking and problem-solving approaches can be applied in various contexts, leveraging algorithmic thinking and processes in everyday life.
Examples of Algorithms in Everyday Life
There are many types of algorithms that are used in everyday life, including linear processes that follow a specific set of steps, conditional algorithms that perform decision-making between two actions and looping algorithms that repeat a sequence for a certain number of times.
Many everyday algorithms are surprisingly complex—but they also come naturally to us. For instance, deciding what to wear in the morning is (for some of us) a complex algorithm of identifying what’s clean and available, which options are suitable for the weather, which articles of clothing match (each other or our style and what we’re comfortable wearing that day, etc.). Some are surprisingly simple, such as the process of pouring a glass of water.
Below, we offer 7 unique examples that students can relate to that illustrate algorithms in everyday life.
Tying Your Shoes
Any step-by-step process that is completed the same way every time is an algorithm. A good example of this in everyday life is tying your shoes. There are a limited number of steps that effectively result in a traditional shoelace know (known as the “bunny rabbit” or “loop, swoop and pull” knot). Chances are that you and your students follow one of these algorithms every time you tie your shoes.
Following a Recipe
Recipes are a great example of an algorithm in everyday life. They illustrate a replicable set of steps to accomplish a specific goal (such as baking blueberry muffins or cooking spaghetti sauce from scratch). Recipes are designed to create a duplicatable outcome, or to help individuals regardless of background be able to create a specific food by following a set of detailed instructions—just as an algorithm in computer science details steps to create replicable outcomes.
Classifying Objects
A process for classifying objects is another great example of algorithms in everyday life. Whether classifying foods into different food groups, sorting household items by function, or organizing blocks from smallest to largest, students can often complete these algorithms relatively simply. Asking students to define the process they use to classify the objects (a flowchart of qualities they look for in each specific food to determine its food group or how they compare one block to its surrounding blocks) is an example of algorithmic thinking, or the process of developing an algorithm that can be used to replicate a process.
Bedtime Routines
Daily routines, such as morning routines, bedtime routines, or even exercise routines are another example of algorithms in everyday life. Ask your students what they do to get ready for bed. Most likely, they will have a specific set of steps that are replicated (and could be replicated by others) to prepare for bed. This makes that routine an algorithm!
Finding a Library Book in the Library
Finding a library book is another example of using an algorithm in everyday life. There are multiple processes for successfully finding a library book, whether it’s by utilizing the library’s computer catalog system, identifying genre labels on shelves and finding the book by subject or author, etc. Regardless of the process used, if it can be defined and replicated by others then it is an algorithm.
Driving to or from Somewhere
Driving your car to school or home again is another example of an algorithm. There are additional complexities that can be added to this algorithm, such as construction or traffic which may create an “If, then” choice within an algorithm (if State Street is blocked off, turn right).
Deciding What to Eat
Even something as commonplace as deciding what to eat for a meal is an example of an algorithm. Ask your students to consider the sequences and conditional statements that result in their decision about what to eat if they are hungry. It likely includes steps such as determining how hungry they are, seeing what is available in the fridge or pantry, considering whether a parent is cooking a meal or if they have to fend for themselves and what they do or don’t have the skill to cook on their own, etc.
Final Thoughts
Understanding algorithms is the first step for students mastering algorithmic thinking. To learn more about how Learning.com can help support this learning process in your classroom or district curriculum, sample EasyTech today.
This article was originally published in August 2022 and was reviewed and updated in December 2024.
Learning.com Team
Staff Writers
Founded in 1999, Learning.com provides educators with solutions to prepare their students with critical digital skills. Our web-based curriculum for grades K-12 engages students as they learn keyboarding, online safety, applied productivity tools, computational thinking, coding and more.
Further Reading
Improve Student Performance on Online Assessments with Digital Literacy
Online assessments have become increasingly prevalent in education, especially with the rise of digital learning environments and the need for...
Overlooked Digital Skills Students Need to Thrive in a Digital World
As the digital landscape continues to evolve at a rapid pace, educators, parents and policymakers are increasingly focused on preparing students for...
Creating a Classroom Guide to “Netiquette”: Promoting Respectful Online Behavior
In today’s digitally connected world, the importance of teaching students how to conduct themselves online has never been greater. The term...