ExamVeda
Login
Home
1
Which one among the following means tight coupling?
Discuss
Answer & Solution
Answer: Option A
Solution:
Duplication is one of the great evils in code. Take a look at the instances of repetition in your system. Perhaps they belong together. If you change something fundamental about one routine, will the similar routines need amendment? If this is the case, they probably belong in the same class.
2
UML stands for?
Discuss
Answer & Solution
Answer: Option D
Solution:
The UML emerged as a standard only after long years of intellectual and bureaucratic sparring among the great and good of the object oriented design community.
3
In a class diagram the class is divided into three sections, what is displayed in the first section?
Discuss
Answer & Solution
Answer: Option C
Solution:
The other two sections are optional when no more information than the class name is known.
4
_________ are used in class diagrams to describe the way in which specific elements should be used.
Discuss
Answer & Solution
Answer: Option B
Solution:
The {abstract} syntax is an example of a constraint. There is no special structure for the text between the braces; it should simply provide a short clarification of any conditions that may apply to the element.
5
Which one of the following is displayed below the class name in the class diagrams?
Discuss
Answer & Solution
Answer: Option C
Solution:
Attributes describe a class’s properties. Attributes are listed in the section directly beneath the class name.
6
+ is the visibility code for?
Discuss
Answer & Solution
Answer: Option A
Solution:
The visibility symbol is followed by the name of the attribute.
7
Which relationship is illustrated by a line that begins with an unfilled diamond?
Discuss
Answer & Solution
Answer: Option C
Solution:
In the case of aggregation, the contained objects are a core part of the container, but they can also be contained by other objects at the same time.
8
If the diamond is filled it depicts which relationship?
Discuss
Answer & Solution
Answer: Option B
Solution:
In composition, the contained object can be referenced by its container only. It should be deleted when the container is deleted.
9
Which one of the following statements is true about sequence diagrams?
Discuss
Answer & Solution
Answer: Option D
Solution:
A sequence diagram is object based rather than class based. It is used to model a process in a system step by step.
10
A bidirectional relationship in class diagrams is described by________
Discuss
Answer & Solution
Answer: Option A
Solution:
A unidirectional association has single-headed arrow.