adplus-dvertising
frame-decoration

Question

How is information hiding related to cohesion and coupling in design?

a.

It increases coupling between modules

b.

It decreases cohesion within modules

c.

It decreases coupling between modules and increases cohesion within modules

d.

It increases coupling between modules and decreases cohesion within modules

Posted under Software Engineering

Answer: (c).It decreases coupling between modules and increases cohesion within modules Explanation:Information hiding decreases coupling between modules and increases cohesion within modules. It increases cohesion as the module's secret binds the module's constituents together and decreases coupling as the module's secret does not permeate the module's boundary.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How is information hiding related to cohesion and coupling in design?

Similar Questions

Discover Related MCQs

Q. How does information hiding affect the maintainability of software according to Boehm (1983)?

Q. What is the relationship between information hiding, abstraction, cohesion, and coupling?

Q. Does the separation of concerns obtained during the design stage depend on the programming language used?

Q. What is the complexity of a problem in a general sense?

Q. What is the complexity of software in the Software development context?

Q. What are the internal attributes of software complexity?

Q. What is the difference between the complexity of a problem and the complexity of the computation performed?

Q. What are the two classes of software attributes considered in measuring software complexity?

Q. What is the purpose of measuring software complexity in quantitative terms?

Q. What is a size-based complexity metric?

Q. What is a structure-based complexity metric?

Q. What is the easiest way to measure software size?

Q. What is the ideal size of a module according to (Weinberg, 1971)?

Q. Why is a module suggested to contain at most 7 elements?

Q. What is the main problem associated with using the number of lines of code as a complexity metric?

Q. What does Halstead's method, also known as 'software science', use to overcome the problems associated with metrics based on a direct count of lines of code?

Q. Why is the number seven used as a limit for the number of elements per module?

Q. What is the main drawback of using the number of lines of code as a complexity metric?

Q. What is Halstead's work known for?

Q. What is the second class of intra-modular complexity metrics based on?