Presentation is loading. Please wait.

Presentation is loading. Please wait.

place a teabag in a mug; boil some water; pour over teabag; wait until strong enough; remove the teabag; add some milk and stir. what is this?

Similar presentations


Presentation on theme: "place a teabag in a mug; boil some water; pour over teabag; wait until strong enough; remove the teabag; add some milk and stir. what is this?"— Presentation transcript:

1

2 place a teabag in a mug; boil some water; pour over teabag; wait until strong enough; remove the teabag; add some milk and stir. what is this?

3 procedure maketea objects: mug, teabag, water, milk; actions: pour, put, boil, stir, drink; conditions: strong, cool; begin boil water; put (teabag, mug); pour (water, mug); repeat [ ] until strong = TRUE put (teabag, NOT mug); pour (milk, mug); stir (mug); repeat [ ] until cool = TRUE end end procedure what is this?

4

5 Algorithm is a metaphor Imagine making a cup of tea When pupils are first introduced to programming at whatever level, a popular example is “making a cup of tea”. It is an activity associated with combining components in a specific order, over a period of time and ends when a condition is set.

6 The format of instruction could be considered to be a metaphor if it is “a whole set of alternative labels, a whole apparatus of organisation that takes over new territory” (Goodman, 1951) Goodman, N (1951) The Structure of Appearance Harvard University Press

7 John Woollard September 2003


Download ppt "place a teabag in a mug; boil some water; pour over teabag; wait until strong enough; remove the teabag; add some milk and stir. what is this?"

Similar presentations


Ads by Google