UML State Diagrams MCQs - Software Design Question and Answers

1.

Which of the following represents the 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

Answer: Option 'D'

All of the mentioned

2.

Which of the following statement 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

Answer: Option 'D'

All of the mentioned

3.

What does deterministic and non deterministic automation?

   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

Answer: Option 'D'

A deterministic finite automation 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 and A non-deterministic finite automaton is one with multiple transitions.

4.

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

Answer: Option 'C'

All of the mentioned

5.

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

Answer: Option 'D'

None of the mentioned

6.

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

Answer: Option 'D'

None of the mentioned

7.

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

Answer: Option 'C'

All of the mentioned

8.

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 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

Answer: Option 'D'

All of the mentioned

9.

Which of the following determines the 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

Answer: Option 'C'

All of the mentioned
 

10.

Which of the statements state the name compartment?

   A.) The first compartment is the name compartment
   B.) It contains the state name; State names are optional and may be path names
   C.) The name compartment can never be omitted
   D.) The first compartment is the name compartment, It contains the state name; State names are optional and may be path names

Answer: Option 'D'

The first compartment is the name compartment, It contains the state name; State names are optional and may be path names


UML State Diagrams MCQs Download Pdf

Recent Posts