Draw a sequence diagram for the warehouseOnFire scenario of Figure 2-15. Include the objects bob, alice, john, FRIEND, and instances of other classes you may need. Draw only the first five message sends.
What will be an ideal response?
This exercise checks the student’s knowledge of sequence diagrams when using instances. This exercise can have
several correct answers. In addition to the UML rules on sequence diagrams, all correct sequence diagrams for this
exercise should include one or more actors on the left of the diagram who initiate the scenario, one or more objects in
the center of the diagram which represent the system, and a dispatcher actor on the right of the diagram who is
notified of the emergency. All actors and objects should be instances. Figure 2-9 depicts a possible answer.
You might also like to view...
To catch exceptions thrown by a section of code, you must first enclose those lines in a ________ block.
a) try b) finally c) throw d) exception e) None of the Above.
The strongest link in any security scheme is the user.?
Answer the following statement true (T) or false (F)
Being able to produce information at a reasonable cost means the information is:
a. economical b. reliable c. complete d. timely
You are given this IP address 192.168.15.2/32. Describe this address.
A. IPv4 address in subnet mask format B. IPv4 address in CIDR format C. IPv6 address in CIDR format D. IPv6 address in subnet mask format