KWIC Implemented with Main/Subroutine Architectural Style

Architecture

The solution with main/subroutine architectural style with shared data decomposes the system according to the four basic functiones performed: input, shift, alphabetize and output. These functiones are coordinated as subroutines by a main program, that sequences through them.

Architecture

Data Representation

The current KWIC system represents its data in the following format:

Processing Algorithm

The main function controls the execution of the KWIC program:

Valid XHTML 1.0! Valid CSS!