UML Class and Object Diagrams - Software Design Question and Answers

1.

What among the following statement is true?

   A.) Associations may also correspond to the relation between instances of three or more classes
   B.) Association lines may be unlabeled or they may show association name
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

2.

What does a simple name in UML Class and objects consist of?

   A.) Letters
   B.) Digits
   C.) Punctuation Characters
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

3.

What should be mentioned as attributes for conceptual modelling?

   A.) Initial Values
   B.) Names
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

4.

A class is divided into which of these compartments?

   A.) Name Compartment
   B.) Attribute Compartment
   C.) Operation Compartment
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

5.

What is multiplicity for an association?

   A.) The multiplicity at the target class end of an association is the number of instances that can be associated with a single instance of source class
   B.) The multiplicity at the target class end of an association is the number of instances that can be associated with a number instance of source class
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'A'

The multiplicity at the target class end of an association is the number of instances that can be associated with a single instance of source class

UML Class and Object Diagrams Download Pdf

Recent Posts