Understanding Functions (Task 1)Category
Our morning routine could easily be replaced with an algorithm. My 1 year old invariably demands a banana when he wakes up, no exceptions…
Preparing for school of a morning could be a set of different functions that can be performed in any order.
- Check Time (performed con..
Give an example of a daily activity consisting of multiple steps that could be replaced by a function.
The daily activity – Open a..
Variable = line
Repeat 4 times:
- draw a 3 cm line.
- turn left 90 degrees
This could be modified draw different size square by ..
A set of steps that could be set as a function is brushing your teeth.
Pick up tooth brush
check it is clean.
If not clean tooth..
A set of instructions that with minor change can be used as function would be
- using the phone to call someone
- open phone, open c..
Use clean cat food bowl put cat food in 🍲.The type of food could be dry, fresh or canned.
Feeding the chooks
1. open feed container
2. measure 1 scoop of feed per chook and place in bucket
3. replace scoop, replace lid ..
The functions of making a pot of tea.
- Fill kettle
- Boil water
- Warm teapot with hot water
- Empty hot water out
- Place tea lea..
A daily activity could be watering the vegetable garden – this could be either at home, in the school/class vegetable garden. Apart from t..