Question: 1. An algorithm is approximately the same thing as a recipe, but some kinds of steps that would be allowed in a recipe are not
1. An algorithm is approximately the same thing as a recipe, but some kinds of steps that would be allowed in a recipe are not allowed in an algorithm.
a) Which steps in the following recipe would be allowed in an algorithm?
-Place 2 teaspoons of sugar in mixing bowl.
-Add 1 egg to mixing bowl.
-Add 1 cup of milk to mixing bowl.
-Add 1 ounce of rum, if you are not driving.
-Add vanilla extract to taste.
-Beat until smooth.
-Pour into a pretty glass.
-Sprinkle with nutmeg.
b) What is the first step you should take when creating a program?
c) The program design process can be divided into two main phases. What are they?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
