Deck 2: UML Design and Specification
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/30
Play
Full screen (f)
Deck 2: UML Design and Specification
1
Mid-level design is the activity of specifying software at the level of medium-sized components such as?
A)compilation units or classes
B)their properties, relationship
C)interaction of units
D)all of the mentioned
A)compilation units or classes
B)their properties, relationship
C)interaction of units
D)all of the mentioned
all of the mentioned
2
Which of these is correct?
A)low-level design is the activity of filling in small details at the lowest levels of abstraction
B)low-level design uses descriptr specification
C)mid-level design uses descriptr-paid specification
D)all of the mentioned
A)low-level design is the activity of filling in small details at the lowest levels of abstraction
B)low-level design uses descriptr specification
C)mid-level design uses descriptr-paid specification
D)all of the mentioned
all of the mentioned
3
A design document is a complete engineering design specification composed of?
A)software architecture document(sad)
B)detailed design document(ddd)
C)all of the mentioned
D)none of the mentioned
A)software architecture document(sad)
B)detailed design document(ddd)
C)all of the mentioned
D)none of the mentioned
all of the mentioned
4
The DDD template consists of which of the following?
A)mid level design and low level design
B)mapping between models
C)detailed design rationale
D)all of the mentioned
A)mid level design and low level design
B)mapping between models
C)detailed design rationale
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
5
Which of these statements states Generalization connector?
A)a generalization connector is more like a link line between objects than an association line between classes
B)the generalization connector always indicates that two particular classes participate in the generalization relation, as a link line shows that two objects participate in a particular relation
C)never place a name, role names, or multiplicities on a generalization connector
D)all of the mentioned
A)a generalization connector is more like a link line between objects than an association line between classes
B)the generalization connector always indicates that two particular classes participate in the generalization relation, as a link line shows that two objects participate in a particular relation
C)never place a name, role names, or multiplicities on a generalization connector
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
6
A provided interface can be shown in which of these ways?
A)to attach the stick of an interface lollipop symbol to a class or component
B)to connect a stereotyped class symbol representing the interface to the providing class or component using a special realization connector
C)both the ways mentioned above
D)none of the mentioned
A)to attach the stick of an interface lollipop symbol to a class or component
B)to connect a stereotyped class symbol representing the interface to the providing class or component using a special realization connector
C)both the ways mentioned above
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
7
A required interface can be shown in which of the following ways?
A)to attach the stick of an interface socket symbol to a class or component
B)to connect the class or component requiring the interface to an interface ball with a dependency arrow
C)to connect the class or component to a stereotyped class symbol with a dependency arrow
D)all of the mentioned
A)to attach the stick of an interface socket symbol to a class or component
B)to connect the class or component requiring the interface to an interface ball with a dependency arrow
C)to connect the class or component to a stereotyped class symbol with a dependency arrow
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is correct?
A)an attribute is an class variable when each object stores its own value for the attribute
B)an attribute can also be a instance variable, which means that there is only one value stored for the attribute that is shared by all class instances
C)an instance operation can be called using any object
D)a class operation is encapsulated in a class and can be called through the class
A)an attribute is an class variable when each object stores its own value for the attribute
B)an attribute can also be a instance variable, which means that there is only one value stored for the attribute that is shared by all class instances
C)an instance operation can be called using any object
D)a class operation is encapsulated in a class and can be called through the class
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is true?
A)the aggregation association represents the part-whole relation between the instances of the associated classes
B)in a composition association, each part can be related to only a single whole at one time
C)an association class represents a relation on the sets of instances of the classes it connects, and it also holds data and behavior the pertinent to the relation
D)all of the mentioned
A)the aggregation association represents the part-whole relation between the instances of the associated classes
B)in a composition association, each part can be related to only a single whole at one time
C)an association class represents a relation on the sets of instances of the classes it connects, and it also holds data and behavior the pertinent to the relation
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following are the heuristics for class diagram?
A)never place a name, role names, or multiplicities on a generalization connector
B)use the interface ball and socket symbols to abstract interface details and a stereotyped class symbol to show details.
C)don't italicize interface or operation names
D)all of the mentioned
A)never place a name, role names, or multiplicities on a generalization connector
B)use the interface ball and socket symbols to abstract interface details and a stereotyped class symbol to show details.
C)don't italicize interface or operation names
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is true?
A)a transition is a change from one state to another
B)transitions may be spontaneous, but usually some event triggers them
C)an event is a noteworthy occurrence at a particular time; events have no duration
D)all of the mentioned
A)a transition is a change from one state to another
B)transitions may be spontaneous, but usually some event triggers them
C)an event is a noteworthy occurrence at a particular time; events have no duration
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
12
Every finite automaton specification must contain which of the following?
A)descriptions of the automaton's states in a way that allows them to be distinguished, such as by naming each one;
B)descriptions of transitions indicating each transition's source state, its target state, and the events that trigger it;
C)designation of an initial state, the starting place for state transitions
D)all of the mentioned
A)descriptions of the automaton's states in a way that allows them to be distinguished, such as by naming each one;
B)descriptions of transitions indicating each transition's source state, its target state, and the events that trigger it;
C)designation of an initial state, the starting place for state transitions
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
13
What does deterministic and non deterministic automaton?
A)a non-deterministic finite automaton is a finite automaton that has no spontaneous transitions and has a single transition that it must make in response to every event in each of its states
B)a deterministic finite automaton is one with multiple transitions
C)all of the mentioned
D)none of the mentioned
A)a non-deterministic finite automaton is a finite automaton that has no spontaneous transitions and has a single transition that it must make in response to every event in each of its states
B)a deterministic finite automaton is one with multiple transitions
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following determines state diagram?
A)the uml notation for specifying finite automata is the state diagram
B)in state diagrams, states are represented by rounded rectangles
C)all of the mentioned
D)none of the mentioned
A)the uml notation for specifying finite automata is the state diagram
B)in state diagrams, states are represented by rounded rectangles
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following represents State Diagram?
A)the finite automaton initial state is designated by a special initial pseudo-state depicted as a large black dot at the tail of an arrow pointing at the initial state
B)a finite automaton may execute forever or it may halt in a final state
C)transitions are represented by solid arrows labeled with one or more transition strings that describe the circumstances under which the transition is triggered and the actions that may ensue
D)all of the mentioned
A)the finite automaton initial state is designated by a special initial pseudo-state depicted as a large black dot at the tail of an arrow pointing at the initial state
B)a finite automaton may execute forever or it may halt in a final state
C)transitions are represented by solid arrows labeled with one or more transition strings that describe the circumstances under which the transition is triggered and the actions that may ensue
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following is true?
A)a state symbol without a nested state compartment represents a complex state
B)one with a nested state compartment represents a simple state
C)all of the mentioned
D)none of the mentioned
A)a state symbol without a nested state compartment represents a complex state
B)one with a nested state compartment represents a simple state
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following are composite states?
A)a sequential composite state
B)a concurrent composite state
C)all of the mentioned
D)none of the mentioned
A)a sequential composite state
B)a concurrent composite state
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
18
What is sequential and concurrent composite state means?
A)a concurrent composite state contains a single state diagram composed of sub- states or inner states and the transitions between them
B)a sequential composite state contains two or more sequential state diagrams in regions separated by dashed lines called concurrent region boundary lines
C)all of the mentioned
D)none of the mentioned
A)a concurrent composite state contains a single state diagram composed of sub- states or inner states and the transitions between them
B)a sequential composite state contains two or more sequential state diagrams in regions separated by dashed lines called concurrent region boundary lines
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
19
Sequential composite states simplify state models in two ways?
A)they organize states into hierarchies
B)they consolidate many transitions
C)all of the mentioned
D)none of the mentioned
A)they organize states into hierarchies
B)they consolidate many transitions
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
20
What is Interaction diagram?
A)interaction diagrams are the uml notations for dynamic modeling of collaborations
B)interaction diagrams are a central focus of engineering design
C)all of the mentioned
D)none of the mentioned
A)interaction diagrams are the uml notations for dynamic modeling of collaborations
B)interaction diagrams are a central focus of engineering design
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
21
What are the different interaction diagram notations does UML have?
A)a sequence diagram
B)a communication diagram
C)an interaction overview diagram
D)all of the mentioned
A)a sequence diagram
B)a communication diagram
C)an interaction overview diagram
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
22
What is a sequence diagram?
A)a diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page
B)a diagram that shows messages super imposed on a diagram depicting collaborating individuals and the links among them
C)a diagram that shows the change of an individual's state over time
D)all of the mentioned
A)a diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page
B)a diagram that shows messages super imposed on a diagram depicting collaborating individuals and the links among them
C)a diagram that shows the change of an individual's state over time
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is true about Sequence frames?
A)a sequence diagram has a frame consisting of a rectangle with a pentagon inits upper left-hand corner
B)the pentagon is its name compartment ; the interaction is represented inside the rectangle.
C)the string in the name compartment has the form sd interaction identifier where interaction identifier is either a simple name or an operation specification with the same format as in a class diagram
D)all of the mentioned
A)a sequence diagram has a frame consisting of a rectangle with a pentagon inits upper left-hand corner
B)the pentagon is its name compartment ; the interaction is represented inside the rectangle.
C)the string in the name compartment has the form sd interaction identifier where interaction identifier is either a simple name or an operation specification with the same format as in a class diagram
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
24
What is a lifeline?
A)it is a frame consisting of a rectangle with a pentagon inits upper left-hand corner
B)it is a rectangle containing an identifier with a dashed line extending below the rectangle
C)it is a name compartment ; the interaction is represented inside the rectangle
D)none of the mentioned
A)it is a frame consisting of a rectangle with a pentagon inits upper left-hand corner
B)it is a rectangle containing an identifier with a dashed line extending below the rectangle
C)it is a name compartment ; the interaction is represented inside the rectangle
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
25
What does a message mean?
A)it passes all communications from one object to another and are represented by message arrows in sequence diagrams
B)message goes from the sending object's lifeline to the receiving object's lifeline
C)it is a rectangle containing an identifier with a dashed line extending below the rectangle
D)all of the mentioned
A)it passes all communications from one object to another and are represented by message arrows in sequence diagrams
B)message goes from the sending object's lifeline to the receiving object's lifeline
C)it is a rectangle containing an identifier with a dashed line extending below the rectangle
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
26
What are the three different types of message arrows?
A)synchronous, asynchronous, asynchronous with instance creation
B)self, multiplied,instance generator
C)synchronous, asynchronous, synchronous with instance creation
D)none of the mentioned
A)synchronous, asynchronous, asynchronous with instance creation
B)self, multiplied,instance generator
C)synchronous, asynchronous, synchronous with instance creation
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
27
Which of these are true with respect to the message arrows?
A)the synchronous message arrow is used when a sending individual continues execution after sending the message
B)the asynchronous message arrow is used when a sending individual suspends execution after sending the message
C)the dashed arrow is used either to show the return of control from a synchronous message or to create a new entity
D)all of the mentioned
A)the synchronous message arrow is used when a sending individual continues execution after sending the message
B)the asynchronous message arrow is used when a sending individual suspends execution after sending the message
C)the dashed arrow is used either to show the return of control from a synchronous message or to create a new entity
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
28
When is the operation executing, suspended and active?
A)an operation is executing when some process is actually running its code
B)an operation is suspended when it sends a synchronous message and it is waiting for the message to return
C)an operation is active when it is either executing or suspended
D)all of the mentioned
A)an operation is executing when some process is actually running its code
B)an operation is suspended when it sends a synchronous message and it is waiting for the message to return
C)an operation is active when it is either executing or suspended
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
29
What is break fragment?
A)an fragment which has one or more guarded operands whose guards are mutually exclusive-that is, at most one of them can be true at any time
B)a fragment which has a single operand that is performed instead of the remainder of the enclosing fragment or diagram if the operand guard is true
C)a fragment which has a single operand that may or may not have a guard
D)none of the mentioned
A)an fragment which has one or more guarded operands whose guards are mutually exclusive-that is, at most one of them can be true at any time
B)a fragment which has a single operand that is performed instead of the remainder of the enclosing fragment or diagram if the operand guard is true
C)a fragment which has a single operand that may or may not have a guard
D)none of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
30
What are the heuristics which sequencing diagram follows?
A)put pairs of lifelines that interact heavily next to one another
B)position lifelines to make message arrows as short as possible
C)position lifelines to make message arrows go from left to right
D)all of the mentioned
A)put pairs of lifelines that interact heavily next to one another
B)position lifelines to make message arrows as short as possible
C)position lifelines to make message arrows go from left to right
D)all of the mentioned
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck