Problem
1. Examine the solutions in Exercise 4 and determine three things they have in common.
2. What is an algorithm?
3. Write an algorithm for the following tasks.
a. Making a peanut butter and jelly sandwich
b. Getting up in the morning
c. Doing your homework
d. Driving home in the afternoon
Exercise 4
Apply the problem-solving strategies to the following situations.
a. Buying a toy for your four-year-old cousin
b. Organizing an awards banquet for your soccer team
c. Buying a dress or suit for an awards banquet at which you are being honored.