Advanced Class Diagrams MCQs - Software Design Question and Answers

1.

Which of these statements states Generalization connector?

   A.) A generalization connector is more like a link line between objects than an association line between classes
   B.) The generalization connector always indicates that two particular classes participate in the generalization relation, as a link line shows that two objects participate in a particular relation
   C.) Never place a name, role names, or multiplicities on a generalization connector
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

2.

Detailed design is further classified into which of the following?

   A.) Mid-Level Design
   B.) Low-Level Design
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

3.

Which of the following is correct?

   A.) An attribute is a class variable when each object stores its own value for the attribute
   B.) An attribute can also be an instance variable, which means that there is only one value stored for the attribute that is shared by all class instances
   C.) An instance operation can be called using any object
   D.) A class operation is encapsulated in a class and can be called through the class

Answer: Option 'D'

A class operation is encapsulated in a class and can be called through the class

4.

Which of the following is carried out for the detailed design process?

   A.) Both SRS and SAD are taken as input for the detailed design stage
   B.) Design alternatives are evaluated first and then Design is finalized
   C.) Detailed design is the output for the process
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

5.

A provided interface can be shown in which of these ways?

   A.) To attach the stick of an interface lollipop symbol to a class or component
   B.) To connect a stereotyped class symbol representing the interface to the providing class or component using a special realization connector
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

6.

Which of the following statement is correct?

   A.) Low-level design is the activity of filling in small details at the lowest levels of abstraction
   B.) Low-level design uses DeSCRIPTOR specification
   C.) Mid-level design uses DeSCRIPTOR-PAID specification
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

7.

Which of the following is correct?

   A.) A concrete operation is an operation without a body, which cannot be called
   B.) An abstract operation has a body, which can be called
   C.) A concrete class is a class that cannot be instantiated
   D.) None of the mentioned

Answer: Option 'D'

None of the mentioned

8.

Which of the following consists of the DDD template?

   A.) Mid level Design and Low level Design
   B.) Mapping between models
   C.) Detailed Design Rationale
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

9.

Mid-level design is the activity of specifying software at the level of medium-sized components such as?

   A.) Compilation units or classes
   B.) Their Properties, Relationship
   C.) Interaction of units
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

10.

A required interface can be shown in which of the following ways?

   A.) To attach the stick of an interface socket symbol to a class or component
   B.) To connect the class or component requiring the interface to an interface ball with a dependency arrow
   C.) To connect the class or component to a stereotyped class symbol with a dependency arrow
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

11.

Which of the following statements are true?

   A.) The SAD specifies a program’s software architecture
   B.) DDD specifies a program’s detailed design
   C.) There is no standard template for DDD
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

12.

UML provides which of these levels of visibility that can be applied to attributes and operations?

   A.) Public
   B.) Package
   C.) Protected and Private
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

13.

Which of the following is true?

   A.) The aggregation association represents the part-whole relation between the instances of the associated classes
   B.) In a composition association, each part can be related to only a single whole at one time
   C.) An association class represents a relation on the sets of instances of the classes it connects, and it also holds data and behavior the pertinent to the relation
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

14.

Which of the following are the heuristics for the class diagram?

   A.) Never place a name, role names, or multiplicities on a generalization connector
   B.) Use the interface ball and socket symbols to abstract interface details and a stereotyped class symbol to show details
   C.) Don’t italicize interface or operation names
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

15.

A design document is a complete engineering design specification composed of?

   A.) Software Architecture Document(SAD)
   B.) Detailed Design Document(DDD)
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned


Advanced Class Diagrams MCQs Download Pdf

Recent Posts