Computer algorithm

A computer algorithm outlines the steps needed for a computer program to accomplish. It is a good idea to think about steps that a program will do before writing any code. Algorithms can be efficient and not efficient. An example of not efficient algorithm is to perform all of the cycles in a loop to find out which value satisfies a condition, efficient algorithm will exit that loop execution after that value is found.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator