Designing with State Diagrams MCQs - Software Design Question and Answers

1.

What is a transducer?

   A.) Finite automata that both respond to events and generate actions
   B.) Finite automata that respond to events but generate no actions
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'A'

Finite automata that both respond to events and generate actions are called transducers and finite automata that respond to events but generate no actions are called acceptors, or recognizers.

2.

Which of the following are the uses for Dialog maps?

   A.) Dialog maps are useful whenever the behavior of a program’s user interface is under study
   B.) They can be used to help elicit stakeholder needs and desires and to model them to make sure they are well understood and documented
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

3.

What is a Recognizer?

   A.) Finite automata that both respond to events and generate actions
   B.) Finite automata that respond to events but generate no actions
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'B'

Finite automata that respond to events but generate no actions

4.

What is callout?

   A.) It is a drawing of (part of) a product’s visual display when it is in a particular state
   B.) It is a note attached to a line or arrow picking out part of a diagram
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'B'

It is a note attached to a line or arrow picking out part of a diagram

5.

What are the specifications of user interface should satisfy?

   A.) Every user interface diagram should specify the visual form of a state in a dialog map
   B.) Every state in a dialog map should have its visual form specified by a user interface diagram
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

6.

Which of these represents Transducers?

   A.) They can be used to model state-based behavior throughout software design
   B.) In product design, they model the state-based behavior of entire products
   C.) They are also useful for modeling software components
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

7.

Finite automata can be divided into which of the following groups?

   A.) Acceptors or recognizers
   B.) Transducers
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

8.

What among these follows acceptor model?

   A.) They often model the behavior of small software modules
   B.) A common use of models is to design a lexical analyzer, which is a program component that transforms a character stream into a stream of tokens, which are symbols recognized by the program
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

9.

What are dialog maps?

   A.) It is a state diagram whose nodes represent user interface state
   B.) They are thus used to model user interface behavior
   C.) They are not useful for modeling software components
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

10.

What is a user interface diagram?

   A.) It is a drawing of (part of) a product’s visual display when it is in a particular state
   B.) It is a note attached to a line or arrow picking out part of a diagram
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'A'

It is a drawing of (part of) a product’s visual display when it is in a particular state


Designing with State Diagrams MCQs Download Pdf

Recent Posts