A module of a software is said to be logically cohesive if ______.

2021

A module of a software is said to be logically cohesive if ______.

  1. A.

    all the elements of the module perform similar operations like error handling, data input etc

  2. B.

    different elements of the module cooperate to achieve a single function for example managing an employee’s pay roll

  3. C.

    if the set of functions of the module are all part of a procedure

  4. D.

    all the elements of the module performs different operations alternatively

Attempted by 120 students.

Show answer & explanation

Correct answer: A

Logical Cohesion occurs when a module contains a collection of activities that are similar in nature (logically related) but are functionally different. For example, a single module might handle all "Input/Output" operations or all "Error Logging" functions, even though printing a report and reading a file are different tasks.

Explore the full course: Up Lt Grade Assistant Teacher 2025