Advanced UML State diagrams - Software Design Questions and Answers

1.

Why there is a need to “Check that transitions to several concurrent sub-states go through a fork”?

   A.) State diagrams must specify deterministic finite automata, so there can be no doubt which transition to follow under every possible circumstance
   B.) It is illegal to transition directly to more than one sub-state of a concurrent composite state without going through a fork
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'B'

It is illegal to transition directly to more than one sub-state of a concurrent composite state without going through a fork

2.

Which of the following represents history state?

   A.) A history state is a pseudo-state that serves as a marker indicating that the sub-state last active when the composite state was exited should be re-entered
   B.) The history state indicator is a circled H
   C.) A history state may have a single unlabeled transition arrow emanating from it to one of its peer states
   D.) All of the mentioned

Answer: Option 'D'

The history state indicator is a circled capital H and rest all are true.

3.

What does “Designate an initial state in every concurrent region of a concurrent composite state” mean?

   A.) If there are no transitions to a concurrent composite state’s boundary, then concurrent regions do not need to have initial states
   B.) A transition to the composite state’s boundary could be added later, though, so initial states for each region should always be specified
   C.) It is legal to transition directly to more than one sub-state of a concurrent composite state without going through a fork
   D.) All of the mentioned

Answer: Option 'D'

If there are no transitions to a concurrent composite state’s boundary, then concurrent regions do not need to have initial states and a transition to the composite state’s boundary could be added later, though, so initial states for each region should always be specified.

4.

Which of the following are the heuristics for the State diagram?

   A.) Avoid concurrent composite states, especially those with synch states
   B.) Designate an initial state in every concurrent region of a concurrent composite state
   C.) Check that transitions to several concurrent sub-states go through a fork
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

5.

Which of the following is false about Concurrent composite states?

   A.) Concurrent composite states simplify state diagrams by greatly reducing the number of states and transitions
   B.) Any set of concurrent state diagrams can be converted into an equivalent sequential state diagram, but the number of states in the sequential state diagram may be as much as the product of the number of states in each of the concurrent state diagrams
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'D'

None of the mentioned

6.

Which of the following are the ways to leave concurrent composite states?

   A.) Transitioning from the composite state and transitioning from individual sub-states
   B.) A transition from a sub-state to an external state causes the immediate exit from each concurrent automaton’s current state
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

7.

What is the Transition junction point?

   A.) The transitions from different sources can converge to a point and transitions leaving the point symbol may disperse to different targets
   B.) They are several transition arrows connected using point symbols
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'A'

The transitions from different sources can converge to a point and transitions leaving the point symbol may disperse to different targets

8.

What is a Synch state?

   A.) It is a counter that keeps track of transitions
   B.) They are represented in state diagrams by Synch state symbols, which are small circles containing either a positive integer or an asterisk, indicating the counter’s upper bound
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned
 

9.

Which of the following states about concurrent region?

   A.) It is Concurrent composite states contain two or more concurrent state diagrams separated by dashed lines
   B.) The concurrent state diagrams specify finite automata that execute in parallel
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

10.

Which of the following are the ways to make transitions into and two ways to make transitions from concurrent composite states?

   A.) A transition is made to the composite state boundary
   B.) A transition into a concurrent composite state is to make a transition directly to one of its sub-states
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned


Advanced UML State diagrams Download Pdf

Recent Posts