Student Name: Amovtez Moody Student ID (Last 4 digits): 5042 Grade: Date: 04/12/
ID: 3706226 • Letter: S
Question
Student Name: Amovtez Moody Student ID (Last 4 digits): 5042 Grade: Date: 04/12/2918 1. True/False Questions. Statements T/F 1. Both generalization of classes and nesting of states partition the set of possible class values. 2. A single object can have different states over time- the objeet preserves its identity. 3. A single object may have different states and different classes 4. A composite state is the aggregation of more than one concurrent substate. 5. A state model of a class is inherited by its classes and subclasses 6. If a state diagram of subclass involves some of the same attributes as the state diagram of the superclass, a potential conflict exists. A state diagram of subclasses may be a refinement of the state of super classes. 7. The signal hierarchy is independent of the class hierarchy for the classes exchanging signals. 8. 9. Nested states share the transitions of their composite states. 10. Entry and exit activities permit activities to cover some transitions entering exiting the state.Explanation / Answer
1.Both generalization of classes and nesting of states partition the set of possible class values.
Answer:
False
Explanation:
Both generalization of classes and nesting of states partition the set of possible object values.
2.a single object can have different states over time the object reserves its identity
Answer:
True
Explanation:
a single object can have different states over time While the state of an object may change over time its identity will not change. the object preserves its identity
3.A single object may have different states and different classes
Answer:
True
Explanation:
A single object may have different states and different classes
example
A different coffee cup object could have a different state, such as: yellow, 200 ml, and "hovering in midair.
4. A composite state is the aggregation of more than one concurrent substate.
Answer:
True
Explanation:
A composite state is the aggregation of more than one concurrent substate.
6.If state diagram of subclass involves some of the same attributes as the state of diagram of the superclass a potential conflict exists
Answer:
True
Explanation:
If state diagram of subclass involves some of the same attributes as the state of diagram of the superclass a potential conflict exists.
7) A state diagram of the subclass may be a refinement of the state diagram of the superclasses.
Answer:
True
Explanation:
The state diagram of the subclass must be a refinement of the state diagram of the superclass.
8)The signal hierarchy is independent of the class hierarchy for the classes exchanging signals
Answer:
True
Explanation:
The signal hierarchy is independent of the class hierarchy for the classes exchanging signals, in practice if not in theory.Signals can be defined across different classes of objects
10)Entry and exit activities permit activities to cover some transitions entering or exiting the state
Answer:
False
Explanation:
Entry and exit activities permit activities to cover all the transitions entering or exiting the state. They make self-contained state diagrams possible for use in multiple contexts.