UML Class and Object Diagrams - Software Design Question and Answers

DigitalOcean Referral Badge DigitalOcean Referral Badge

1.

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

DigitalOcean Referral Badge

2.

A Class consists of which of these abstractions?

   A.) Set of the objects
   B.) Operations
   C.) Attributes
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

DigitalOcean Referral Badge

3.

What Does a Composite name consists of in a UML Class and object diagram?

   A.) Delimiter
   B.) Simple names
   C.) Digits
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

DigitalOcean Referral Badge

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

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

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

DigitalOcean Referral Badge

6.

Which of these are part of the class operation specification format?

   A.) name
   B.) parameter list
   C.) return-type list
   D.) all of the mentioned

Answer: Option 'D'

all of the mentioned

DigitalOcean Referral Badge

7.

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

DigitalOcean Referral Badge

8.

An operation can be described as?

   A.) Object behavior
   B.) Class behavior
   C.) Functions
   D.) Object & Class behavior

Answer: Option 'D'

Object & Class behavior

DigitalOcean Referral Badge

9.

An attribute is a data item held by which of the following?

   A.) Object
   B.) Class
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

10.

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

DigitalOcean Referral Badge

UML Class and Object Diagrams Download Pdf

Recent Posts