Computer Installation Notes

1. Algorithm Concept

1.1. Characteristics of Algorithm

A good algorithm is crucial to development of good computer programs. Some of
the characteristics of good algorithms include:
• Correctness: The goal during program design is to produce logical designs.
The design of a system is correct if the system satisfies user’s requirements. It
is the responsibility of a programmer to find the best possible design within the
limitations imposed by the requirements and environment in which the program
will be used.
• Verifiability: Verifiability is concerned with how easily the correctness of the
design can be checked. Design should be correct and it should be verified for
correctness.
• Completeness: Completeness requires that designs of different system
components be verified. This requires dry-running of system’s data structures,
modules, user interfaces, and module integration.
• Traceability: In order for a program to meet user’ needs and expectations, it is
important that the entire design be traceable from user requirements.
• Efficiency: Good design results in an efficient program that consumes less
processor time and memory space.
• Simplicity: Though a program may be complex, its simplicity is one of the most
important factors that influence its user-friendliness and ease of maintenance.
• Documentation: It is good practice to provide documentation containing details of a program algorithms.