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 ______.
- A.
all the elements of the module perform similar operations like error handling, data input etc
- B.
different elements of the module cooperate to achieve a single function for example managing an employee’s pay roll
- C.
if the set of functions of the module are all part of a procedure
- 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.