Consider the process of ordering a pizza over the phone. Draw an activity diagram representing each step of the process, from the moment you pick up the phone to the point where you start eating the pizza. Do not represent any exceptions. Include activities that others need to perform.

What will be an ideal response?

Figure 2-11 is an example solution for this exercise. The following elements should be present in the solution:
• Activity names should be verb phrases indicating what the initiating actor is attempting to accomplish. Roles
should be indicated with swimlanes
• Activities that are concurrent or which do not need to happen in a sequential order should be indicated with
complex transitions.

Computer Science & Information Technology

You might also like to view...

The value of variable y at loop exit could best be described as

Assume that all variables are of type int and that y and z are initialized to 0. ``` for (int i = 0; i < 100; ++i) { cin >> x; y += x; if ( x % 2 == 0 ) ++z; } ``` a. the sum of the values entered b. the number of values entered c. the largest value entered d. the average of the values entered

Computer Science & Information Technology

DTDs employ a syntax called _________________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology