1 / 7

place a teabag in a mug; boil some water; pour over teabag; wait until strong enough;

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?. procedure maketea objects: mug, teabag, water, milk; actions: pour, put, boil, stir, drink; conditions: strong, cool; begin boil water;

sarah
Télécharger la présentation

place a teabag in a mug; boil some water; pour over teabag; wait until strong enough;

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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?

  2. 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?

  3. what is this?

  4. 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.

  5. 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

  6. John WoollardSeptember 2003

More Related