Add exception handling to the activity diagram you developed in Exercise 2–15. Consider at least three exceptions (e.g., delivery person wrote down wrong address, deliver person brings wrong pizza, store out of anchovies).

What will be an ideal response?


This exercise checks the student’s knowledge of decision points. Figure 2-12 depicts an example solution. Students
modeling a realistic example will also think about cascaded exceptions and learn to represent them with multiple
decision points.

Computer Science & Information Technology

You might also like to view...

The _____ enumeration specifies key codes and modifiers.

a) Keyboard b) Key c) KeyboardTypes d) Keys

Computer Science & Information Technology

COGNITIVE ASSESSMENT What is the term for a narrow recording band that forms a full circle on the surface of a hard disk?

A. sector B. track C. cluster D. platter

Computer Science & Information Technology

Thetypevalue ____ for theinputelement causes most browsers to display text entered by users as bullets or asterisks rather than showing the actual characters.

A. password B. hide C. secure D. username

Computer Science & Information Technology

Two conditions should be considered when stopping a simulation: whether it has run for the allocated time and whether there are no more servers available.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology