adplus-dvertising
frame-decoration

Question

What is the relationship between A and B when A passes a scalar value to B and B returns a value which is used to control the further execution of A?

a.

A is control-coupled to B, B is data-coupled to A

b.

A is data-coupled to B, B is control-coupled to A

c.

A and B are both data-coupled

d.

A and B are both control-coupled

Posted under Software Engineering

Answer: (b).A is data-coupled to B, B is control-coupled to A Explanation:The coupling between modules need not be commutative, and when module A passes a scalar value to B and B returns a value which is used to control the further execution of A, then A is data-coupled to B, while B is control-coupled to A.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the relationship between A and B when A passes a scalar value to B and B returns a value which is used to control the further execution of A?

Similar Questions

Discover Related MCQs

Q. What is the main benefit of having simple interfaces with weak coupling between modules and strong cohesion between a module's elements?

Q. What is the relationship between strong internal cohesion and intermodule coupling?

Q. What is one of the reasons for simple interfaces being important?

Q. What is the principle of information hiding according to David Parnas?

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

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?