Problem
1. List the identifiers and whether they named data or actions for the designs in Exercise 1.
2. List the identifiers and whether they named data or actions for the designs in Exercise 2.
3. List the identifiers and whether they named data or actions for the designs in Exercise 3.
Exercise 1
Write a top-down design for the following tasks.
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
Exercise 2
Write a top-down design for the following tasks.
a. Calculating the average of ten test scores
b. Calculating the average of an unknown number of test scores
c. Describe the differences in the two designs.
Exercise 3
Write a top-down design for the following tasks.
a. Finding a telephone number in the phone book
b. Finding a telephone number on the Internet
c. Finding a telephone number on a scrap of paper that you have lost
d. Describe the similarities and differences among these designs.