Thursday, October 6, 2011

Assignment Solution Cs504 Question no 1: - How “Modularity” can help us to achieve a clear, easy to understand and maintainable code, Explain with Solid example

Modularity is a perception that separates and recombined the components of the systems. These systems are interchangeable.
 System architecture works for the control of modularity.
Modularity covers up the principle of component or independent parts of the media entities.
It can include mechanisms.
It is a function that events the excellence of a division of a network into groups or communities.
In architecture, modularity can submit to the structure of an entity.
The program includes modules through interfaces.
The elements that are supplied and necessary states by Module interface.
Complexity is divided into smaller parts and again such smaller part is combined together to perform complexity.
Maintainability: -
Abstraction and encapsulation are the keys that manage the complexity of the system.
The size of the coding matters a lot in the programming.
That has an affect on it.
By avoiding the extra and difficult language or programming the code can be understandable and maintainable.
Example

Module Art: –

  1. Modularity submits to the ability to change the work. It adds or removes the parts.
  2. In this art the complexity can be removed by simplifying the art design.
  3. The class can be converted into small and simple classes for understanding.
  4. The code readability can be improved by simplifying it.
  5. The new selection sort program will be easy understood.
  6. Sorting is a best way for this procedure.




No comments:

Post a Comment