

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Worksheet 1: Recipes as Algorithms Name:
In preparation : Read Chapter 2 on algorithms. As you learned in Chapter 2, an algorithm is a description of how a specific problem can be solved, written at a level of detail that it can be reused. An algorithm is used to solve a general class of similar problems. Terms that have a related meaning include process, routine, technique, procedure, pattern, and recipe. A type of algorithm that most people have seen is a recipe, such as the following: Lemon Soufflè Ingredients 1 envelope unflavored gelatin 1/4 cup cold water 6 egg yolks 1 cup sugar 2/3 cup lemon juice 1 tablespoon grated lemon rind 4 egg whites 1 and 1/2 cup heavy cream Actions
Worksheet 1: Recipes as Algorithms Name:
Input: Result: Correctness: Time to execute: Instruction Precision: