Presentation on theme: "“The study of algorithms is the cornerstone of computer science.” Algorithms Winter 2012."— Presentation transcript:
“The study of algorithms is the cornerstone of computer science.” Algorithms Winter 2012
The Concept of an Algorithm An algorithm is: –an ordered set of instructions –that are unambiguous, –that are executable, –which define a process that has an end. Let’s look at these steps in detail...
Ordered set –There must be a well-established structure in terms of the order in which steps are performed. Note: they don’t have to be performed sequentially starting with the first. Unambiguous –All information required for execution must be available and there can be no question about what to do. There can be no “reasoning” required. –Executable steps –It must be possible to execute each step. which ends.
Assignment 3 Winter 2012 Write an algorithm to do a task which you are an “expert” at. About 12—20 steps to accomplish the task. Could be a recipe or some simple chore. Make sure you follow the rules of an algorithm. (See page 2)