adplus-dvertising
frame-decoration

Question

What is functional cohesion?

a.

The elements are grouped into modules in a haphazard way

b.

The elements realize tasks that are logically related

c.

The various elements of a module are independent but they are activated at about the same point in time

d.

All elements in a module with functional cohesion contribute to the one single function of the module.

Posted under Software Engineering

Answer: (d).All elements in a module with functional cohesion contribute to the one single function of the module. Explanation:Functional cohesion is a type of cohesion in software design where all elements of a module contribute to a single, well-defined function of that module. In other words, all elements of the module work together to achieve a common goal. The function is often one of transforming a single input data into a single output data. Examples of functional cohesion can include mathematical subroutines or modules such as "execute the next edit command" or "translate the program given." This type of cohesion is considered to be one of the strongest levels of cohesion.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is functional cohesion?

Similar Questions

Discover Related MCQs

Q. What are the heuristics suggested by Stevens et al. in the classic paper on structured design to determine the degree of cohesion of a module?

Q. What type of cohesion does a module exhibit if the sentence that describes its function is compound and contains more than one verb?

Q. What type of cohesion does a module exhibit if the sentence that describes its function contains words that relate to time?

Q. What type of cohesion does a module exhibit if the sentence that describes its function contains words like "initialize"?

Q. What is the difference between functional cohesion and data cohesion?

Q. What does a high degree of coupling indicate?

Q. What is the desired feature of a software design?

Q. What is content coupling?

Q. What is common coupling?

Q. What is external coupling?

Q. What is control coupling?

Q. What is stamp coupling?

Q. What is data coupling?

Q. What were the data types used in the programming languages in the 1970s?

Q. What is considered data-coupled between modules in 1970s?

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?

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?