Questions 41 to 50.
41.
|
Which UML diagram provides a variety of symbols and
encompasses a number of ideas, all to model the changes which just one object
goes through?
|
||||||||||
Which relationship specifies an optional behavior?
|
|||||||||||
Which among the following literally means ‘many
forms’, the concept that different objects can respond to the same message in
different ways?
|
|||||||||||
What do you call, “where the Objects hide their
inner workings of their operations from the outside world and from other
objects”?
|
|||||||||||
Which of the following statement is not correct regarding Object Oriented Methodologies?
|
|||||||||||
Which of the statement(s) is/are true in relation to Object Oriented
concepts?
I. Encapsulation states
that when designing an object, one should separate what he knows about theobject according
to the following:
The minimum information needed to use the object.
The information required to make the object work
properly.
II. In
polymorphism an operation can have the same name in different classes, and
proceed differently in each class.
III. Objects communicate with
each other through message interactions.
|
|||||||||||
Which of the statement(s) is/are correct related to UML 2.0.?
I. Composite
Structure Diagram, Interaction Overview Diagram and Timing Diagram are new in
UML 2.0.
II. A
composite structure diagram shows the components of a class as a diagram
nested inside a large class rectangle.
III. UML 2.0
takes the interface concept a step further by allowing one to model the
connection between an interface and a class.
|
|||||||||||
Which of the following is not correct regarding diagrams in UML 2.0?
|
|||||||||||
Which of the statement(s) is/are correct related to UML 2.0.?
I. Time
is represented in a sequence diagram in the vertical direction starting at
the top and progressing towards the bottom.
II. A
Communication diagram is another way of presenting the information in a
sequence diagram.
III. The
Communication diagram shows the associations among objects as well as the
messages which pass from one object to another.
|
|||||||||||
Which of the following statement(s) is/are correct in relation to role names in
associations between two classes?
I. Role
names have to be used with association names.
II. If
there is a relationship between Company
and Person
then one could use Employee or
Employer as
role names to convey an employment relationship.
III. The role
name is placed on the association near the class that it modifies.
|
Answers
41.
|
Answer : (c)
Reason: State
diagram encompasses a number of ideas to model the changes which just one
object goes through.
|
Answer : (e)
Reason: An
extend relationship specifies an optional behavior.
|
|
Answer : (c)
Reason: Polymorphism
mean many forms that is different objects can respond to the same message in
different ways.
|
|
Answer : (b)
Reason: In
Encapsulation the Objects hide their inner workings of their operations from
the outside world and from other objects
|
|
Answer : (a)
Reason: Gane
and sarson shaler mellor discussed on structured aspects rather than on
object oriented programming methodologies.
|
|
Answer : (e)
Reason: All
the statements are related to object oriented technologies.
|
|
Answer : (e)
Reason: All
the statements are related to UML 2.0
|
|
Answer : (a)
Reason: Sequence
diagram is a part of interactive diagram.
|
|
Answer : (e)
Reason: All
are appropriate statements with respect to uml 2.0.
|
|
Answer : (c)
Reason: Roles
names may or may not be used with associations names.
|
thank you.
ReplyDeletejava tutorial
java tutorial