Alhir, Pages 98-105
Discussion questions submitted for pages 98-105 of Alhir:
StateCharts
-
What is the purpose of a statechart and what advantages does it hold over
other kind of charts that we use? taha
-
In Fig 4-30, there are two arrows coming from assigned, making a circle,
and going back to assigned. I imagine it's some kind of a loop for
assigning tasks but why there are two arrows not just one? Dessislava
Dimova
-
For the sake of practicality, couldn't use and statecharts be combined?
(assuming the project does not have too many classes) todd
-
Why is the distinction between assigned and not assigned important enough
to merit a state? It seems better to me to have resources have an
assignment value 0 or more tasks that it is assigned to, and not bother
with the extra state.
-
If statechart diagrams and activity diagrams are similar, does that mean
one can replace the other? If not, what decides which is preferred to
which? (Raz Magar)
-
What happens when statechart diagrams get too complex to notate
efficiently?
-
When would we use StateChart Diagrams and when would we use Activity
Diagrams? ~yasir
-
How are statecharts different from collaboration diagrams? -Peter Likarish
-
Can there be a special case in statechart diagram where the final state is
reached and the object not destroy? Anthony
-
Statecharts diagram the behavior of a class in response to external
stimuli. What exactly is the scope of external stimuli? Does it include
other classes, or users, or both? (Sam Vanderhyden)
Superstates
-
What is the precise definition of a superstate? --Khong
-
How do substates in a superstatechart diagram relate or communicate with
each other? George Yeboah
-
Does a superstate create a hierarchical way organizing the state of an
object?
-
How do we decide to make substate statechart diagram? Can it be
incorporated in statechart diagram? --Hisako
Types of Diagrams
-
How do Component diagrams and Deployment diagrams differ from each other?
(Raz Magar)
-
What is the difference between Component and Deployment diagrams? - Elias
Vafiadis
-
What is the relationship between Component Diagrams and Deployment
Diagrams? ~yasir
-
What will the deployment diagram and component diagram represent in the
code? Steve F
-
Alhir says that activity diagrams "are part of the dynamic model of a
system" (104), but couldn't all of the diagrams presented in this section
be considered part of the dynamic model? --Khong
-
is there another way to show an object is used by an action that isn't as
messy on paper in a Resource Activity Diagram?
-
Can you clarify as to how deployment diagrams work?
-
Are there solid arrows used in the component diagram? Anthony
-
What are the differences between activity diagrams and sequence diagrams?
Patrick Dowd
-
What structural differences exists between statechart diagrams and activity
diagrams? George Yeboah
-
During class, could we create the activity chart for the appointment class?
todd
-
What is the use of component diagrams? The context of the diagram seems too
obvious to be actually useful. --Hisako
-
What exactly is object code in the component diagrams? (Sam Vanderhyden)
Additional Questions
-
When do splitting of control and synchronization of control actually
happen? Patrick Dowd
-
Is it necessary for us to keep rack of the activity or inactivity of all
objects? It seems that many of them will not affect the system as they
become active or inactive. Steve F.
-
Can you describe 'splitting of control' on page 100 a bit more? -Kensler
-
We have learned about a ton of diagramming techniques. If a project is
being designed with UML, how many are actually used for a given project?
(1?, more than 1?, most?) -Peter Likarish
-
What is splitting of control? - Elias Vafiadis
-
Is package to class, what class is to object? Dessislava Dimova
-
Could you give examples of synchronization of control. taha
-
How extensively should swim lanes be used? Is there a set of them for every
interaction between more than one class? In how much detail do they need to
be drawn out in an average case?
-
Can you go over transitions in more detail? -Kensler
-
What does synchronization of control mean?
-
What is the difference between source code, object code, and execution code?
This document is available on the World Wide Web as
http://www.cs.grinnell.edu/~walker/courses/223.sp02/read-alhir-4c.html