Computer algorithms are the maths from which computer programs were made. Algorithm comes from the name of the man who also named algebra. It comes from the medieval version of the name of a man called Aljabr. It is now specifically used to mean a mathematical process to solve a problem. Mathematicians considered a problem to be solved if they could write and algorithm to solve it. Appyling an algorithm wasn’t important because the formula already was the answer but computers changed that view because complicated formulas could easily be solved. An algorithm was like a formula that would lead you to the answer and it could also estimate the time it would take to solve a problem.

An example of a fast algorithm is knowing if a number is odd or even:

Is the last digit 0? If yes then STOP. The number is even.

Is the last digit 2? If yes then STOP. The number is even.

Is the last digit 4? If yes then STOP. The number is even.

Is the last digit 6? If yes then STOP. The number is even.

Is the last digit 8? If yes then STOP. The number is even.

STOP. The number is odd.

So in conclusion an algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

By Tia, 8L

An example of a fast algorithm is knowing if a number is odd or even:

Is the last digit 0? If yes then STOP. The number is even.

Is the last digit 2? If yes then STOP. The number is even.

Is the last digit 4? If yes then STOP. The number is even.

Is the last digit 6? If yes then STOP. The number is even.

Is the last digit 8? If yes then STOP. The number is even.

STOP. The number is odd.

So in conclusion an algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

By Tia, 8L