Task 1

My example of an algorithm that can be used in multiple contexts is about freezing water.


If waterTemp < 0 degrees -> freezing -> END

If waterTemp > 0 degrees ->notFreezing -> END


This algorithm can be changed to incorporate boiling water instead of freezing water, or even for body temperature.


I believe that making breakfast could be a task that could be replaced with an algorithm that changes for everyone. For example, the steps in which people make certain ingredients, make a cup of tea, or clean the dishes can be replaced with steps.

+ There are no comments

Add yours