Program Development. This includes: “testing a program” “proving a program correct” “debugging a program” “testing a program” involves supplying data to the program and observing the results. It is carried out OUTSIDE the program (or procedure).
PowerPoint Slideshow about 'Program Development.' - daniel_millan
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
All actions in the module refer to the same data structure.
There are several sections of code, all independent and each with exactly one entry point and one exit point.
Since the module contains several independent pieces of code, it does not have functional cohesion. However the fact that all the independent sections refer to the same data structure gives it informational cohesion.
e.g. an “initialisation” module to be executed at the begining of a program.
The only connection between these functions may be that they are carried out at the start of the program.
It may be possible to replace one initialisation module which has only temporal cohesion with 2 or 3 others which also have functional or informational cohesion as well. This will be much easier to understand, re-use or maintain.
There is no significant relations ship between the component parts of the module. They are grouped together only by coincidence.
This is evidence of a lack of design in splitting the program into modules. e.g. if the first 20 statements are placed in one module, the next 20 in another and so on, it is unlikely that such an arbitrary division would correspond to any underlying program logic.
This should be avoided. Even if such modularity still works correctly (one must assume the division did not split a loop), it will be hard to understand or re-use.