<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Cohesion (computer science) - Page 12 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Cohesion_(computer_science)&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Cohesion_%28computer_science%29&amp;p=13">3.Next</a>
</p>
<p>::<syntaxhighlight lang="c">/*Groups: The function definitionsParts: The terms on each function<br/>
*/Module A {  /*  Implementation of arithmetic operations  This module is said to have functional cohesion because   there is an intention to group simple arithmetic operations  on it.   */  a(x, y) = x + y  b(x, y) = x * y}</syntaxhighlight></p>

<p>Module B {  /*  Module B: Implements r(x) = 5x + 3  This module can be said to have atomic cohesion. The whole  system (with Modules A and B as parts) can also be said to have functional  cohesion,</p><p>
<a accesskey="1" href="page.php?w=Cohesion_(computer_science)&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Cohesion_%28computer_science%29&amp;p=13">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
