Top 80+ Solved Unified Modeling Language (UML) MCQ Questions Answer

From 31 to 45 of 53

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

  • d. all of the mentioned

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

  • d. a class operation is encapsulated in a class and can be called through the class

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

  • d. all of the mentioned

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

  • d. all of the mentioned

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

  • d. all of the mentioned

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

  • d. none of the mentioned

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

  • c. all of the mentioned

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

  • d. all of the mentioned

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

  • d. none of the mentioned

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

  • c. all of the mentioned

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

  • d. none of the mentioned

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

  • c. all of the mentioned

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

  • c. all of the mentioned

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

  • d. all of the mentioned

Q. 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
Subscribe Now

Get All Updates & News