Unified Modeling Language Uml Set 2
On This Page
This set of Unified Modeling Language (UML) Multiple Choice Questions & Answers (MCQs) focuses on Unified Modeling Language Uml Set 2
Q1 | Mid-level design is the activity of specifying software at the level of medium-sized components such as?
- compilation units or classes
- their properties, relationship
- interaction of units
- all of the mentioned
Q2 | Which of these is correct?
- low-level design is the activity of filling in small details at the lowest levels of abstraction
- low-level design uses descriptr specification
- mid-level design uses descriptr-paid specification
- all of the mentioned
Q3 | A design document is a complete engineering design specification composed of?
- software architecture document(sad)
- detailed design document(ddd)
- all of the mentioned
- none of the mentioned
Q4 | The DDD template consists of which of the following?
- mid level design and low level design
- mapping between models
- detailed design rationale
- all of the mentioned
Q5 | Which of these statements states Generalization connector?
- a generalization connector is more like a link line between objects than an association line between classes
- 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
- never place a name, role names, or multiplicities on a generalization connector
- all of the mentioned
Q6 | A provided interface can be shown in which of these ways?
- to attach the stick of an interface lollipop symbol to a class or component
- to connect a stereotyped class symbol representing the interface to the providing class or component using a special realization connector
- both the ways mentioned above
- none of the mentioned
Q7 | A required interface can be shown in which of the following ways?
- to attach the stick of an interface socket symbol to a class or component
- to connect the class or component requiring the interface to an interface ball with a dependency arrow
- to connect the class or component to a stereotyped class symbol with a dependency arrow
- all of the mentioned
Q8 | Which of the following is correct?
- an attribute is an class variable when each object stores its own value for the attribute
- 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
- an instance operation can be called using any object
- a class operation is encapsulated in a class and can be called through the class
Q9 | Which of the following is true?
- the aggregation association represents the part-whole relation between the instances of the associated classes
- in a composition association, each part can be related to only a single whole at one time
- 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
- all of the mentioned
Q10 | Which of the following are the heuristics for class diagram?
- never place a name, role names, or multiplicities on a generalization connector
- use the interface ball and socket symbols to abstract interface details and a stereotyped class symbol to show details.
- don’t italicize interface or operation names
- all of the mentioned
Q11 | Which of the following is true?
- a transition is a change from one state to another
- transitions may be spontaneous, but usually some event triggers them
- an event is a noteworthy occurrence at a particular time; events have no duration
- all of the mentioned
Q12 | Every finite automaton specification must contain which of the following?
- descriptions of the automaton’s states in a way that allows them to be distinguished, such as by naming each one;
- descriptions of transitions indicating each transition’s source state, its target state, and the events that trigger it;
- designation of an initial state, the starting place for state transitions
- all of the mentioned
Q13 | What does deterministic and non deterministic automaton?
- 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
- a deterministic finite automaton is one with multiple transitions
- all of the mentioned
- none of the mentioned
Q14 | Which of the following determines state diagram?
- the uml notation for specifying finite automata is the state diagram
- in state diagrams, states are represented by rounded rectangles
- all of the mentioned
- none of the mentioned
Q15 | Which of the following represents State Diagram?
- 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
- a finite automaton may execute forever or it may halt in a final state
- 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
- all of the mentioned
Q16 | Which of the following is true?
- a state symbol without a nested state compartment represents a complex state
- one with a nested state compartment represents a simple state
- all of the mentioned
- none of the mentioned
Q17 | Which of the following are composite states?
- a sequential composite state
- a concurrent composite state
- all of the mentioned
- none of the mentioned
Q18 | What is sequential and concurrent composite state means?
- a concurrent composite state contains a single state diagram composed of sub- states or inner states and the transitions between them
- a sequential composite state contains two or more sequential state diagrams in regions separated by dashed lines called concurrent region boundary lines
- all of the mentioned
- none of the mentioned
Q19 | Sequential composite states simplify state models in two ways?
- they organize states into hierarchies
- they consolidate many transitions
- all of the mentioned
- none of the mentioned
Q20 | What is Interaction diagram?
- interaction diagrams are the uml notations for dynamic modeling of collaborations
- interaction diagrams are a central focus of engineering design
- all of the mentioned
- none of the mentioned
Q21 | What are the different interaction diagram notations does UML have?
- a sequence diagram
- a communication diagram
- an interaction overview diagram
- all of the mentioned
Q22 | What is a sequence diagram?
- a diagram that shows interacting individuals along the top of the diagram and messages passed among them arranged in temporal order down the page
- a diagram that shows messages super imposed on a diagram depicting collaborating individuals and the links among them
- a diagram that shows the change of an individual’s state over time
- all of the mentioned
Q23 | Which of the following is true about Sequence frames?
- a sequence diagram has a frame consisting of a rectangle with a pentagon inits upper left-hand corner
- the pentagon is its name compartment ; the interaction is represented inside the rectangle.
- 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
- all of the mentioned
Q24 | What is a lifeline?
- it is a frame consisting of a rectangle with a pentagon inits upper left-hand corner
- it is a rectangle containing an identifier with a dashed line extending below the rectangle
- it is a name compartment ; the interaction is represented inside the rectangle
- none of the mentioned
Q25 | What does a message mean?
- it passes all communications from one object to another and are represented by message arrows in sequence diagrams
- message goes from the sending object’s lifeline to the receiving object’s lifeline
- it is a rectangle containing an identifier with a dashed line extending below the rectangle
- all of the mentioned