Static Modelling Heuristics MCQs - Software Design Question and Answers

1.

Heuristic for Class models include which of these?

   A.) Use inheritance only when there is a generalization relationship between the sub-class and its super-class(es)
   B.) Combine common attributes and operations in similar classes into a common super-class
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'A'

Use inheritance only when there is a generalization relationship between the sub-class and its super-class(es)

2.

What is Delegation?

   A.) The tactic where in a module en thrusts another module with responsibility is called delegation
   B.) Delegation not only allows reuse without inheritance but also provides a mechanism to make software much more flexible and configurable
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

3.

Which of the following are true for decomposition?

   A.) Responsibility driven decomposition is a technique for program decomposition in which component responsibilities are decomposed and used to generate sub-components
   B.) The decomposed responsibilities are assigned to the sub-components, which can then be further decomposed
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

4.

Which of the following is data responsibility?

   A.) An Obligation to do something that is to carry out some tasks
   B.) An Obligation to know something that is to maintain some data
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'B'

An Obligation to know something that is to maintain some data

5.

What are the types of responsibilities that occur in software engineering design?

   A.) An Obligation to do something that is to carry out some tasks(operational)
   B.) An Obligation to know something that is to maintain some data(data)
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

6.

Designers can use responsibilities to make modules more cohesive and less tightly coupled in several ways such as?

   A.) Assign modules at most one operational and one data responsibility
   B.) Assign complementary data and operational responsibilities
   C.) Make sure module responsibilities do not overlap
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

7.

Designers can use responsibilities to make modules more cohesive and less tightly coupled in which of the following ways?

   A.) Assign modules at most one operational and one data responsibility
   B.) Assign complementary data and operational responsibilities
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

8.

Inheritance is a powerful design and implementation mechanism that offers which of these advantages?

   A.) Inheritance captures a generalization-specialization relation between the super-class(es) and the sub-class
   B.) Inheritance provides reuse of the implementations of attributes and operations in the super-class or super-classes
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

9.

Which of the following are static modeling heuristics?

   A.) State both operational and data responsibilities
   B.) Assign modules at most one operational and one data responsibility
   C.) Assign complementary data and operational responsibilities
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

10.

Which of the following is operational responsibility?

   A.) An Obligation to do something that is to carry out some tasks
   B.) An Obligation to know something that is to maintain some data
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'A'

An Obligation to do something that is to carry out some tasks


Static Modelling Heuristics MCQs Download Pdf

Recent Posts