Top 80+ Solved Object Oriented Software Engineering MCQ Questions Answer
Q. What are the three different types of message arrows
a. synchronous, asynchronous, asynchronous with instance creation
b. self, multiplied, instance generator
c. synchronous, asynchronous, synchronous with instance creation
d. none of the mentioned
Q. Which of the following is true for optional fragments
a. an optional fragment is a portion of an interaction that may be done
b. the fragment operator name is opt
c. optional fragments have only a single operand, which must contain a guard
d. all of the mentioned
Q. What are the heuristics which the sequencing diagram follows
a. put pairs of lifelines that interact heavily next to one another
b. position lifelines to make message arrows as short as possible
c. position lifelines to make message arrows go from left to right
d. all of the mentioned
Q. Which among the following are not the valid notations for package and component diagram
a. notes
b. box
c. extension mechanisms
d. packages
Q. Which of the following statement is false
a. a note is a dog-eared box connected to any model element by a dashed line
b. the main way to extend uml is by constraints, properties, etc
c. a dependency relation holds between two entities d and i where change in i does not affect d
d. all of the mentioned
Q. Which of the following is incorrect in reference to dependency
a. module d uses module i when a correct version of i must be present for d to work correctly
b. module d depends for compilation on module i
c. class i imports elements from package d
d. none of the mentioned
Q. What is a collection of model elements called
a. box
b. dependency
c. uml packages
d. package members
Q. What types of units does Component follow
a. modular unit
b. replaceable unit
c. unit with well defined interface
d. all of the mentioned
Q. Components can be represented by which of the following
a. component symbols
b. stereotypes
c. rectangular boxes
d. component symbols & stereotypes
Q. What does a component diagram consists of
a. components, their relationship to the environment
b. packages and dependency
c. internal structure
d. internal structure, components & their relationship to the environment
Q. Which of these is true with respect to interfaces
a. interfaces in component diagram defines relationship between components and environment
b. interfaces realized by a class or a component are required interfaces
c. interface on which a class or component depends are called provided interfaces
d. all of the mentioned
Q. Which of these are diagrammatic heuristics
a. use notes, constraints, properties and stereotypes to add information to uml models
b. use stereotypes to name dependencies
c. use packages to group elements in static models
d. all of the mentioned
Q. Which among these are the common notations for deployment diagrams
a. artifacts and nodes
b. stereotypes
c. components
d. all of the mentioned
Q. Which of these are types of nodes used in the deployment diagram
a. device
b. execution environment
c. artifact
d. device & execution environment
Q. Which are the ways to represent nodes in a deployment diagram
a. nodes instances are underlined identifiers of the form nametype
b. the name may be left off, indicating an unnamed instance of the type
c. the type may be left off, indicating a named instance with an unspecified type
d. all of the mentioned