Static Modelling Heuristics MCQs - Software Design Question and Answers

DigitalOcean Referral Badge DigitalOcean Referral Badge

1.

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

DigitalOcean Referral Badge

2.

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

DigitalOcean Referral Badge

3.

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

DigitalOcean Referral Badge

4.

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

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

5.

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)

DigitalOcean Referral Badge

6.

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

DigitalOcean Referral Badge

7.

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

DigitalOcean Referral Badge

8.

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

DigitalOcean Referral Badge

9.

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

DigitalOcean Referral Badge
    DigitalOcean Referral Badge DigitalOcean Referral Badge

10.

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

DigitalOcean Referral Badge

Static Modelling Heuristics MCQs Download Pdf

Recent Posts