An Assistant’s Assistance
v An algorithm is a systematic method for
deterministically producing a specified result
v Two participants --
o The person specifying the algorithm is a programmer
o Some other agent (person or computer) will execute the
algorithm, i.e. follow its instructions, without intervention of
the programmer
v Recipes are an example of algorithms written by
chefs and followed by cooks to produce a specified
food
S’mores: Place a toasted marshmallow
on a Graham cracker and then place a
square of chocolate on top