Object Oriented Software Engineering Set 2
On This Page
This set of Object Oriented Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on Object Oriented Software Engineering Set 2
Q1 | What can be requested from any object of the class to affect behavior
- object
- attribute
- operation
- instance
Q2 | Which diagram in UML emphasizes the time-ordering of messages
- activity
- sequence
- collaboration
- class
Q3 | If you are working on real-time process control applications or systems that involveconcurrent processing, you would use a
- activity diagram
- sequence diagram
- statechart diagram
- object diagram
Q4 | Which diagram shows the configuration of run-time processing elements
- deployment diagram
- component diagram
- node diagram
- er-diagram
Q5 | Which things in UML are the explanatory parts of UML models
- structural things
- behavioral things
- grouping things
- annotational things
Q6 | What refers to the value associated with a specific attribute of an object and to any actions orside
- object
- state
- interface
- none of the mentioned
Q7 | What is the 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
Q8 | What are the different interaction diagram notations does UML have
- a sequence diagram
- a communication diagram
- an interaction overview diagram
- all of the mentioned
Q9 | What is a lifeline
- it is a frame consisting of a rectangle with a pentagon in its 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
Q10 | What are the three different types of message arrows
- synchronous, asynchronous, asynchronous with instance creation
- self, multiplied, instance generator
- synchronous, asynchronous, synchronous with instance creation
- none of the mentioned
Q11 | Which of the following is true for optional fragments
- an optional fragment is a portion of an interaction that may be done
- the fragment operator name is opt
- optional fragments have only a single operand, which must contain a guard
- all of the mentioned
Q12 | What are the heuristics which the sequencing diagram follows
- put pairs of lifelines that interact heavily next to one another
- position lifelines to make message arrows as short as possible
- position lifelines to make message arrows go from left to right
- all of the mentioned
Q13 | Which among the following are not the valid notations for package and component diagram
- notes
- box
- extension mechanisms
- packages
Q14 | Which of the following statement is false
- a note is a dog-eared box connected to any model element by a dashed line
- the main way to extend uml is by constraints, properties, etc
- a dependency relation holds between two entities d and i where change in i does not affect d
- all of the mentioned
Q15 | Which of the following is incorrect in reference to dependency
- module d uses module i when a correct version of i must be present for d to work correctly
- module d depends for compilation on module i
- class i imports elements from package d
- none of the mentioned
Q16 | What is a collection of model elements called
- box
- dependency
- uml packages
- package members
Q17 | What types of units does Component follow
- modular unit
- replaceable unit
- unit with well defined interface
- all of the mentioned
Q18 | Components can be represented by which of the following
- component symbols
- stereotypes
- rectangular boxes
- component symbols & stereotypes
Q19 | What does a component diagram consists of
- components, their relationship to the environment
- packages and dependency
- internal structure
- internal structure, components & their relationship to the environment
Q20 | Which of these is true with respect to interfaces
- interfaces in component diagram defines relationship between components and environment
- interfaces realized by a class or a component are required interfaces
- interface on which a class or component depends are called provided interfaces
- all of the mentioned
Q21 | Which of these are diagrammatic heuristics
- use notes, constraints, properties and stereotypes to add information to uml models
- use stereotypes to name dependencies
- use packages to group elements in static models
- all of the mentioned
Q22 | Which among these are the common notations for deployment diagrams
- artifacts and nodes
- stereotypes
- components
- all of the mentioned
Q23 | Which of these are types of nodes used in the deployment diagram
- device
- execution environment
- artifact
- device & execution environment
Q24 | Which are the ways to represent nodes in a deployment diagram
- nodes instances are underlined identifiers of the form nametype
- the name may be left off, indicating an unnamed instance of the type
- the type may be left off, indicating a named instance with an unspecified type
- all of the mentioned
Q25 | What does a deployment diagram consists of
- computational resource
- communication path between resource
- artifacts that execute resource
- all of the mentioned