Understanding Functions (Task 1)Category
Putting on shoes
Check that shoe matches foot (left or right)
Put sock on
Put shoe on
My example of an algorithm that can be used in multiple contexts is about freezing water.
If waterTemp < 0 degrees -> freezi..
This algorithm can be used by anyone to clean their teeth in the morning.
1. Pick up toothbrush.
2. Pick up toothpaste and open the c..
Algorithms for making a phone call:
- Unlock phone and go to dial page
- type phone number
- if line is busy, hang up an..
Here is a fun algorithm that was inspired by
“Algorithm – Feeding a Dog,” by Carl Foster
This algorithm is designed to trigger daily bet..
Making Jaffles or toasties, as they are known back home.
The process of making them are identical and it’s really only the choice of fi..
Algorithm used in context
When you do use a search engine, the algorithm implanted in the search engine may be off slightly. ..
Steps to vacuuming
First, clear the area where you’ll be cleaning. This means picking up any items from the carpet.
- Take the shirt off the hanger
- Slide left arm into the left sleeve
- Slide right arm into the right sleeve
- Fasten the (first, se..
Setting the table for a meal could be replaced by a function as there are multiple steps involved.
1. Put place mats on the table in fr..