Modularity can have a negative as well as a positive effect. A program that is over-modularized performs its operations in very small modules, so a reader has trouble acquiring a perspective. That is, although it may be easy to determine what many individual modules do and what small groups of modules do, it is not easy to understand what they do in their entirety as a system. Suggest an approach that can be used during program development to provide this perspective.
What will be an ideal response?
Top-?down development with careful attention to the intermediate level designs can help. Each component in an intermediate design is a description of a single task; this task can later be refined and implemented by many smaller modules. It isuseful to save the intermediate designs, because saving them ensures that they accurately reflect the final, detailed design, as well as the program produced. In this way, each intermediate design is a description of the collective functioning of a group of simple modules.
You might also like to view...
A function written to handle operations involving one or more objects is a:
A. overloaded operator function B. operation function C. objective function D. class function
To remove a node with a positive index k from a linked list,
A) decrement k by 1, and set the reference to the node to be removed to null B) start a reference r at the head of the list, walk r forward k steps, and then set r to null C) assign the successor reference in the node with index k to the successor reference in the node with index k-1 D) decrement k by 1, and then use recursion