Homework 9: Analysis Patterns, Interaction Diagrams, State Diagrams

Due date: Tuesday, November 15

Note: all diagrams must be drawn with a UML tool.

1 Analysis Patterns (30 points)
Find an example of a hierarchy. Draw a tree that shows between 5 and 15 elements of the hierarchy in at least 3 levels. Find an appropriate name for each level in the hierarchy. State the hierarchy relation. Are there are any degenerate cases that might destroy the hierarchy: are there elements that might be considered to have more than one parent? If so, name them, and explain why they break the hierarchy; if not, explain why elements like that cannot exist.

2 Sequence Diagrams (30 points)
Draw two different sequence diagrams of interactions in the VideoLan Player. Each interaction must involve at least four objects and at least six messages (not counting return messages).

3 State Diagram (40 points)
Draw one or more state diagrams that represents part of the bsu.edu Web site. Each site represents a page, and each transition represents a link. Have at least 20 states and at least 30 links. Simplify the diagram by using superstates, if possible. The initial state should have a transition to the homepage.


CS 497 Fall 2005